[ncl-talk] Plotting multiple .nc4 into one plot

Dave Allured - NOAA Affiliate dave.allured at noaa.gov
Wed Mar 25 13:09:10 MDT 2020


Also please see the HDF examples page for several examples of plotting
swath data.  There is more than one way to do this.


On Wed, Mar 25, 2020 at 10:58 AM Dave Allured - NOAA Affiliate <
dave.allured at noaa.gov> wrote:

> 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/b145b6ba/attachment.html>


More information about the ncl-talk mailing list