[MITgcm-support] combining multi-PE NetCDF files into a single file

Ed Hill ed at eh3.com
Tue Feb 1 11:02:24 EST 2005

On Tue, 2005-02-01 at 13:16 +0200, Eli Galanti wrote:
> hello,
> when running with packege mnc on several processors, how do I combine the files
> into a single file?
> for example:
> grid.0000.000001.nc
> grid.0000.000002.nc
> grid.0000.000003.nc
> grid.0000.000004.nc

Hi Eli,

A few of us have been using a MatLAB tool called "mnc_assembly.m" which
I just checked into CVS.  You can get it at:


and more information (including two complete sets of examples) is
available from our CVS server at these locations:


Please be aware that the tool was written to work with both MatLAB v7
(R14+) and the MatLAB NetCDF Toolbox:


so it may have some problems with older MatLAB versions.  And if you
have problems, send your bug reports to this list!


Edward H. Hill III, PhD
office:  MIT Dept. of EAPS;  Rm 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