[ncl-talk] Sorting certain domain data

Dennis Shea shea at ucar.edu
Wed Oct 8 10:37:04 MDT 2014


Are you new to NCL?

If so, please see: http://www.ncl.ucar.edu/Document/Manuals/
[1] Mini-Language Manual   . a brief but reasonably complete overview of NCL
[2] See the twp DKRZ titorials.

===
If the CMIP grids are rectilinear

region covering USA
   latS =
   latN =
   lonW =
   lonE =

   f = addfile(...)
   x = f->VAR(:,{latS:latN},{lonW:lonE})     ; 3d
   y = f->VAR(:,:,{latS:latN},{lonW:lonE})   ; 4d

; ***IF*** more specific maps are desired: read appropriate shape file
; READ CAREFULLY: http://www.ncl.ucar.edu/Applications/shapefiles.shtml

   fshp = addfile(...)

; Mask non-USA data
; http://www.ncl.ucar.edu/Applications/Scripts/shapefile_mask_data.ncl

==
Respond *only* to ncl-talk. Please no personal salutation.

On Tue, Oct 7, 2014 at 5:38 PM, amit timilsina <
timilsinaamit87 at huskers.unl.edu> wrote:

>
>
> I have used NCL to open netCDF file of CMIP5 simulated data. The data
> include maximum temperature  over the 30 years in monthly basis for entire
> globe. Now, I want to screen data of USA only. Could you please help me,
> how can I do that? Is there any document with stepwise procedure?
> Thanks
> Amit
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20141008/ebc4095d/attachment.html 


More information about the ncl-talk mailing list