<div dir="ltr"><div dir="ltr">Also please see the HDF examples page for several examples of plotting swath data. There is more than one way to do this.</div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 25, 2020 at 10:58 AM Dave Allured - NOAA Affiliate <<a href="mailto:dave.allured@noaa.gov">dave.allured@noaa.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Addfiles will not work for this kind of swath data, because each file is on a different grid. You said this is interpolated data, which I think means a standard master grid is in use, and all grid points in each file are on a subset of the standard grid. Please confirm this. If true, then no regridding is needed.</div><div><br></div><div>Start by creating a single large grid that covers the whole surface area of all files combined. Loop through the input files one at a time. Read the desired variable, and copy its small grid data into the correct position on the larger grid.</div><div><br></div><div>When the loop is finished, plot the master grid using one of the normal shaded contour plot functions.</div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 23, 2020 at 10:24 PM Lyndz via ncl-talk <<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear Rashed, <div dir="ltr"></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div class="gmail_quote"></div>
</blockquote></div><div>this is like a mosaic of the netcdf files. They have different lat lon boundaries. </div><div>the data came from this website:</div><div><a href="http://trmm.atmos.washington.edu/" target="_blank">http://trmm.atmos.washington.edu/</a><br></div><div><br></div><div>The closest example that I found is <a href="https://www.ncl.ucar.edu/Applications/Scripts/binning_1.ncl" target="_blank">https://www.ncl.ucar.edu/Applications/Scripts/binning_1.ncl</a></div><div>I am not sure If this is also applicable for this case.</div></div></blockquote></div></div>
</blockquote></div></div>