[ncl-talk] Plotting multiple .nc4 into one plot
Dave Allured - NOAA Affiliate
dave.allured at noaa.gov
Wed Mar 25 10:58:09 MDT 2020
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.
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.
When the loop is finished, plot the master grid using one of the normal
shaded contour plot functions.
On Mon, Mar 23, 2020 at 10:24 PM Lyndz via ncl-talk <ncl-talk at ucar.edu>
wrote:
> Dear Rashed,
>
>> this is like a mosaic of the netcdf files. They have different lat lon
> boundaries.
> the data came from this website:
> http://trmm.atmos.washington.edu/
>
> The closest example that I found is
> https://www.ncl.ucar.edu/Applications/Scripts/binning_1.ncl
> I am not sure If this is also applicable for this case.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200325/df2562fd/attachment.html>
More information about the ncl-talk
mailing list