<div dir="ltr"><div><div>Thanks, Mary. <br><br></div>Best,<br></div>Ashehad<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 28, 2016 at 1:22 PM, Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small">Ashehad,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If I understand your question correctly, I suggest you look at our ESMF regridding page:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Applications/ESMF.shtml" target="_blank">http://www.ncl.ucar.edu/Applications/ESMF.shtml</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">Example ESMF_regrid_23.ncl shows how to regrid MODIS data.</div><div class="gmail_default"><br></div><div class="gmail_default">Our shapefiles example page shows how to mask data based on a shapefile outline:</div><div class="gmail_default"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Applications/shapefiles.shtml" target="_blank">http://www.ncl.ucar.edu/Applications/shapefiles.shtml</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">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".</div><div class="gmail_default"><br></div><div class="gmail_default">--Mary</div><div class="gmail_default"> </div><div class="gmail_default"><br></div><div class="gmail_default"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Mon, Apr 25, 2016 at 4:04 PM, Ashehad Ali <span dir="ltr"><<a href="mailto:ashehad@gmail.com" target="_blank">ashehad@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Dear ncl users, <br><br>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. <br><font face="Tahoma" color="black" size="2"><span dir="ltr" style="font-size:10pt"></span></font><br>
<font size="2"><span style="font-size:10pt">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. </span></font><font size="2"><span style="font-size:10pt"><font size="2"><span style="font-size:10pt">It may also require some shape files to extract data for only US.
<br>
</span></font>
</span></font>
<font size="2"><span style="font-size:10pt"><br>
</span></font>
<font size="2"><span style="font-size:10pt">I'd appreciate your thoughts. <br>
<br>
Best,<br>
</span></font>
<font size="2"><span style="font-size:10pt">Ashehad</span></font></div>
<br></div></div>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>