[MITgcm-support] problem with gluemnc.m

Baylor Fox-Kemper baylor at MIT.EDU
Wed Nov 29 09:44:59 EST 2006


Hi Again,
   Gluing in time is easy with the nco operators.  Once you've got  
two files that are on the same horizontal grid, issue the command:

ncrcat a.nc b.nc out.nc

The files a.nc and b.nc will be concatenated in time to produce file  
out.nc

You may need to download the nco operators (if you don't already have  
them) to do this or to do utils/scripts/gluemnc and xplodemnc.

http://nco.sourceforge.net

Cheers,
    -Baylor

On Nov 29, 2006, at 8:35 AM, Hezi Gildor wrote:

>
> hi,
>
> i am trying to glue four netcdf output files but it doesn't work, the
> files created include the content of only one of the files although it
> seems to recognize the 4 files. i am using Matlab Version 7.0.1.24704
> (R14) Service Pack 1 and here is what i get:
>
>>>
>>> gluemnc('state','0000095040')
>
> theResult =
>
> Columns 1 through 11
>
> 'T' 'iter' 'Xp1' 'Y' 'Z' 'U' 'X' 'Yp1' 'V' 'Temp' 'S'
>
> Columns 12 through 14
>
> 'Eta' 'Zl' 'W'
>
> Found 4 files matching the pattern: "state.0000095040.t%03d.nc"
> Looking for variable: T
> Looking for variable: iter
> Looking for variable: Xp1
> Looking for variable: Y
> Looking for variable: Z
> Looking for variable: U
> Looking for variable: X
> Looking for variable: Yp1
> Looking for variable: V
> Looking for variable: Temp
> Looking for variable: S
> Looking for variable: Eta
> Looking for variable: Zl
> Looking for variable: W
> Copying variable: T
> Copying variable: iter
> Copying variable: Xp1
> Copying variable: Y
> Copying variable: Z
> Copying variable: U
> Copying variable: X
> Copying variable: Yp1
> Copying variable: V
> Copying variable: Temp
> Copying variable: S
> Copying variable: Eta
> Copying variable: Zl
> Copying variable: W
> delete the original tiled files? [y/n] n
>
>
> also, hiw can i "glue" files in time?
>
> thanks, hezi.
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support




More information about the MITgcm-support mailing list