[MITgcm-support] combining netcdf files
m. r. schaferkotter
schaferk at bellsouth.net
Mon Apr 3 16:24:13 EDT 2006
hi martin;
one approach would be to set useSingleCpuIO=.True. in data and
constrain the size of the netcdf file that the mnc package
produces via mnc_max_fsize=3.0e+06 in data.mnc. you somewhat easily
figure out how large mnc_max_fsize should be.
make a guess. run the model for a few timesteps and check the netcdf
files.
now you won/t have to worry about the tiles and each netcdf
file has the data from one timestep.
a simple script with loop using ncks will produce a netcdf file with
a field for each time step. the netcdf files for that field can then
be put together
with ncecat.
michael
On Apr 3, 2006, at 3:00 PM, <mlosch at awi-bremerhaven.de> wrote:
> Hi there,
>
> is there currently an alternate to mnc_assembly.m for combining mnc-
> netcdf files from N-processors into a single file. For
> quick diagnostics I do not want to copy all large files from a
> particular run to a machine where I do have matlab available,
> but instead I would like, for example, to extract a certain time
> slab from the netcdf files (which I can with nco or cdo, right?)
> and possibly combine them into a single netcdf file, contains the
> global fields for that particular time slab only, everything
> preferably in a script. That file, I would be abloe to copy quickly
> to a machine where I can actually look at the data.
>
> Is there a tool that does that (other than mnc_assembly)?
>
> Martin
>
> Martin Losch
> Alfred Wegener Institute
> Postfach 120161, 27515 Bremerhaven, Germany;
> Tel./Fax: ++49(0471)4831-1872/1797
>
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support
More information about the MITgcm-support
mailing list