Hi,
Examples 4 and 5 on the shapefiles-examples page shows how to mask out data based upon a shapefile, using the function gc_inout():
http://www.ncl.ucar.edu/Applications/shapefiles.shtml
This can be computational expensive if the shapefile is highly detailed. If I understand correctly, you probably want to compute the mean temperature for all the data, then do the masking (?)
Hope that helps...
Rick
On Aug 17, 2011, at 11:15 AM, Panday, Prajjwal wrote:
> Hello
>
> How do I extract data using a shapefile outline. For instance, if I have the CRU.nc file for temperature time series and if I want to extract mean temperature for the US, how would I go on regarding this. Currently I have specified by region using lat/long bounding coordinates.
>
> Sincerely,
> Prajjwal
> _______________________________________________
> 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 Wed Aug 17 11:20:35 2011
This archive was generated by hypermail 2.1.8 : Mon Aug 22 2011 - 08:13:37 MDT