[MITgcm-support] How to join two nc files?

Ed Hill ed at eh3.com
Tue Jun 6 10:35:11 EDT 2006


On Tue, 2006-06-06 at 09:44 -0400, Baylor Fox-Kemper wrote:
> One can also use ferret to open multiple tiles using ferret.  Here is
> an example.

Hi Baylor,

Thanks for the matlab and ferret examples.  There are at least four
other ways of reading (and potentially "joining") multiple netcdf files
and they are:

  MITgcm/utils/matlab/mnc_assembly.m
    This is a matlab script that will assemble both exch1 and exch2
    domains.  It reads a collection of per-tile MITgcm netcdf output
    files and writes a collection of per-face netcdf files.

  MITgcm/utils/matlab/rdmnc.m
    This is meant to be a "netcdf version of rdmds".  It reads 
    and spatially assembles multiple MITgcm netcdf output files.

  MITgcm/utils/matlab/gmt/rdnctiles.m
    This is another "netcdf version of rdmds".  Its newer than 
    rdmnc and has more flexibility.  It can perform "assembly"
    of exch1-style XY arrays, exch2-style cubes, and can also 
    return matlab structures with per-tile information that 
    can handle completely general tile/face topologies.

  NCO:  http://nco.sourceforge.net/
    NCO is a suite of netcdf tools that can be used to perform 
    all sorts of helpful pre- and post-processing.  With the NCO
    utilities its relatively easy to extract hyper-slabs,
    concatenate along various dimensions, etc.

Ed

NOTE:  All of the above MatLAB scripts rely upon Chuck Denham's
       MexCDF (aka "mexcdf53") toolbox.


-- 
Edward H. Hill III, PhD
office:  MIT Dept. of EAPS 54-1424;  77 Massachusetts Ave.
             Cambridge, MA 02139-4307
emails:  eh3 at mit.edu                ed at eh3.com
URLs:    http://web.mit.edu/eh3/    http://eh3.com/
phone:   617-253-0098
fax:     617-253-4464





More information about the MITgcm-support mailing list