next up previous
Next: 8.5 Specific key extensions Up: 8. Meteo input Previous: 8.3 Temporal interpolation

Subsections

8.4 Write meteo files

TM5 has to option to write meteo files after the fields have been read. The written fields are defined on the levels and (zoom) grids.

8.4.1 Which files are written

Select which files are written by the following keys in the rc file; see table 8.1 for the meteo fields covered by a key:

        !
        ! Main flag to write meteo files or not:
        !
        !    tmm.output.*          :  T
        !
        ! Optionally, this is overwritten for specific meteo files:
        !
        !    tmm.output.<file>      :  F
        !
        ! where <file> is one of:  sp mflux_w mflux_uv temper humid cloud convec surf
        !
        ! Optionally, this is overwritten for specific grids:
        !
        !    tmm.output.glb3x2      :  F
        !
        tmm.output.*          :  T
        tmm.output.surf       :  F
        tmm.output.glb3x2     :  F

8.4.2 File name and format

TM5 should know how to form the file name and in which format files are written using a so-called 'destination' key. A destination key should be defined for each (zoom) grid, and optionally for individual file types; see table 8.1 for the meteo fields covered by a key.

The example below forces TM5 to write meteo fields in the 'tm5' format, which is the only supported format now.

        !
        ! Define output format and/or first part of file name:
        !
        !   tmm.destkey.glb6x4.*      :  tm5:mdir=ec-fc012up2-tropo25-glb6x4;tres=_00p06
        !
        ! Optionally overwrite for special sets:
        !  
        !    sp mflux_w mflux_uv temper humid cloud convec albedo sr
        !
        tmm.destkey.glb6x4.*      :  tm5:mdir=ec-fc012up2-tropo25-glb6x4;tres=_00p06
        tmm.destkey.eur3x2.*      :  tm5:mdir=ec-fc012up2-tropo25-eur3x2;tres=_00p06
        tmm.destkey.eur1x1.*      :  tm5:mdir=ec-fc012up2-tropo25-eur1x1;tres=_00p06
        tmm.destkey.glb1x1.*      :  tm5:mdir=ec-fc012up2-sfc-glb1x1;tres=_00p03

8.4.3 Destination directory

Specify a (temporary) destination directory:

        ! TM5 writes new meteo files to:
        tmm.output.dir        :  /scratch/tmm-out

8.4.4 Store files in archive

Optionally, a script is started after the simulation has finished to store meteo files in (tape) archives, eventually tarred per month.

        !
        ! Call storage script 'tm5-tmm-store' to store copies in archive ?
        ! Specify one or more archives.
        ! Files are stored in monthly tar files if an archive ends with '/*.tar'.
        !
        ! Examples:
        !    ${SCRATCH}/TM/meteo_day
        !    ecfs:/nlh/TM/meteo/*.tar
        !    mos:umask=002%/fa/ks/meteo/*.tar
        !
        ! NOTE: files are removed from <tmm.output.dir> after storage ...
        !
        tmm.output.store            :  T
        tmm.output.store.verbose    :  T
        tmm.output.store.archives   :  /data/TM/meteo_day


next up previous
Next: 8.5 Specific key extensions Up: 8. Meteo input Previous: 8.3 Temporal interpolation
Created at IMAU on Tue Mar 3 05:00:05 CET 2009 by a slave chained in the basement