Ja,
If you are talking about masking your data variable using a shapefile polygon, then we have several examples of this. Go to the page:
http://www.ncl.ucar.edu/Applications/shapefiles.shtml
and look for the word "mask", or else look at examples:
shapefiles_4.ncl
shapefiles_5.ncl
mask_12.ncl
shapefiles_11.ncl
These functions use the gc_inout function to mask a polygon against a grid, and then set any grid points either inside or outside of that polygon to missing, depending on which values you want to preserve.
http://www.ncl.ucar.edu/Document/Functions/Built-in/gc_inout.shtml
--Mary
On Jul 15, 2013, at 2:20 AM, Jaya Pudashine wrote:
> Dear all,
> I would like to extract temperature and Precipitation data from the HADGEM3 RCM for my weather and rainfall station as shown in figure. How can i overlap my shape file and RCM data and extract the nearest grid data. How can I show the grid point with data available from RCM as shown in below figure. I would be very thankful if you provide me the sequential steps to do this.
>
> Regards
> Ja
>
> <Capture.JPG>
>
>
>
>
> _______________________________________________
> 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 Tue Jul 16 13:05:39 2013
This archive was generated by hypermail 2.1.8 : Tue Jul 16 2013 - 13:21:17 MDT