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

Baylor Fox-Kemper baylor at MIT.EDU
Tue Jun 6 10:47:50 EDT 2006


Hi Ed,
   Yes, those are useful, too, especially for exch2.  I must point  
out, though that nco can't concatenate different tiles, it can only  
concatenate along the unlimited (i.e. time) dimension.  It can split  
along any dimension, though.
    One more netcdf utility to mention:   MITgcm/utils/matlab/ 
interpickups.m which joins and interpolates pickup files.
   -Baylor

On Jun 6, 2006, at 10:35 AM, 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.
>
>
> -- 
> 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
>
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support




More information about the MITgcm-support mailing list