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

David Wang dwang at ldeo.columbia.edu
Wed Jun 7 14:47:12 EDT 2006


I wrote a simple matlab script based on mnc_assembly.m. It's a quick and 
dirty way to join multi-tile mnc output.	- d.

Ed Hill wrote:
> 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.
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gluemnc.m
Type: text/x-objcsrc
Size: 990 bytes
Desc: not available
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20060607/920f6490/attachment.bin>


More information about the MITgcm-support mailing list