[ncl-talk] How to subset a variable for a particular area from unstructured gridded data

snehlata Tirkey snehlata_tirkey at yahoo.com
Thu Jan 3 05:21:26 MST 2019


Dear NCL community,
I have a global dataset with monthly temporal resolution on unstructured grid. 
Part of the ncdump is as follows-
dimensions: ncol = 48602 ; time = UNLIMITED ; // (1 currently) nbnd = 2 ; chars = 8 ; lev = 30 ; ilev = 31 ; psubcols = 4 ;variables: double lat(ncol) ; lat:long_name = "latitude" ; lat:units = "degrees_north" ; double lon(ncol) ; lon:long_name = "longitude" ; lon:units = "degrees_east" ; double area(ncol) ; area:long_name = "gll grid areas" ; double lev(lev) ; lev:long_name = "hybrid level at midpoints (1000*(A+B))" ; lev:units = "hPa" ; lev:positive = "down" ; lev:standard_name = "atmosphere_hybrid_sigma_pressure_coordinate" ; lev:formula_terms = "a: hyam b: hybm p0: P0 ps: PS" ;        float PRECC(time, ncol) ; PRECC:units = "m/s" ; PRECC:long_name = "Convective precipitation rate (liq + ice)" ; PRECC:cell_methods = "time: mean" ;
I am able to plot the above variable (PRECC) globally using sfXArray and sfYArray but how to subset the data for a smaller area for plotting or further processing?
I could find information for 2D lat and lon type of grid in NCL but could not find information for such 1D lat/lon type of grid. Please help.
Thanking in anticipation.

Yours sincerely,
Snehlata Tirkeye-mail:snehlata_tirkey at yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190103/00d3fa7d/attachment-0001.html>


More information about the ncl-talk mailing list