[ncl-talk] constructing grid
Mary Haley
haley at ucar.edu
Thu Apr 28 11:22:26 MDT 2016
Ashehad,
If I understand your question correctly, I suggest you look at our ESMF
regridding page:
http://www.ncl.ucar.edu/Applications/ESMF.shtml
Example ESMF_regrid_23.ncl shows how to regrid MODIS data.
Our shapefiles example page shows how to mask data based on a shapefile
outline:
http://www.ncl.ucar.edu/Applications/shapefiles.shtml
See example shapefiles_4.ncl for a sample masking script. There are many
masking examples on that page. Use your browser search to look for the word
"mask".
--Mary
On Mon, Apr 25, 2016 at 4:04 PM, Ashehad Ali <ashehad at gmail.com> wrote:
> Dear ncl users,
>
> I was wondering if there are some exemplary ncl scripts that shows how to
> make climatology grids, such as how the climatology grids for CLM gets
> constructed in the first place. For example, if we have the global climate
> data (in the h5 format) from MODIS (sinusoidal projection) with some
> resolution (say, 250m or 1km) and we'd like to construct 50km x 50km
> resolution for only the states of USA, excluding Hawaii and Alaska.
>
> I think it may require the center coordinates of each 50km pixel, as well
> as the upper left and lower right coordinates of each. Also, for each
> pixel, it might be useful to have which US States the pixel crosses. It
> may also require some shape files to extract data for only US.
>
> I'd appreciate your thoughts.
>
> Best,
> Ashehad
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> 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/20160428/17a820bb/attachment.html
More information about the ncl-talk
mailing list