Re: clip/subsetting question

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Thu Aug 01 2013 - 13:55:54 MDT

Yes.

http://www.ncl.ucar.edu/Document/Language/subscript_coord.shtml
http://www.ncl.ucar.edu/Document/Manuals/Ref_Manual/
   See: Variable (Coordinate subscripts)

====
Rectilinear grid: Coordinate subscripting

      f = addfile("foo.grb2","r")
      x = f=>XXX(:,{latS:latN},{lonL:lonr}) ; (time,lat,lon)

      y = f->YYY(:,:,{latS:latN},{lonL:lonr}) ; (time,lev,lat,lon
====
Curvilinear Grid: See
 
http://www.ncl.ucar.edu/Document/Functions/Contributed/getind_latlon2d.shtml

===
"new to ncl"

Please read the "Mini-Language Manual" at:

http://www.ncl.ucar.edu/Document/Manuals/

On 8/1/13 1:33 PM, Koudelka, John A wrote:
> new to ncl and using it to convert grib2 to nc. i'm writing some larger
> scripts to do batch processing for preparing met forcings for a
> hydrological model, part of the process is to clip the dataset to a region
> of interest.
>
> i've scoured the reference manual and the talk archives but haven't found
> anything. is there a way to clip/subset a dataset spatially using ncl?
>
>
> thanks in advance for any help or advice,
> john
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Aug 1 13:56:04 2013

This archive was generated by hypermail 2.1.8 : Thu Aug 01 2013 - 15:55:04 MDT