[ncl-talk] shapefiles
Dave Allured - NOAA Affiliate
dave.allured at noaa.gov
Sun Jan 27 13:23:17 MST 2019
Vanúcia,
Your two data files are on different grids. If you only need to make plots
that show the same region on a map, then use graphics masking, not data
masking. See the third plot in example shapefiles_21 on this page:
https://www.ncl.ucar.edu/Applications/shapefiles.shtml
If you need to perform calculations between the two data sets, then you
will need to regrid the data from one file to match the other grid. Please
see this documentation for regridding:
https://www.ncl.ucar.edu/Applications/regrid.shtml
https://www.ncl.ucar.edu/Applications/ESMF.shtml
--Dave
On Sun, Jan 27, 2019 at 12:40 PM Vanúcia Schumacher <
vanucia-schumacher at hotmail.com> wrote:
> Hi all,
>
> I need support to find the problem with my script, with the purpose of
> cutting two different data in a shapefile, but keeping the information
> such as time lat and lon.
> My script (attachment) is "cutting" the region from shapefile different
> for each input (data) (see Figure attachment).
> I'd like to select the shapefile region of the same size independent of
> the input file, and keep the time, lat, and lon information.
>
> I appreciate any help
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190127/95ae7482/attachment.html>
More information about the ncl-talk
mailing list