Changeset 282 for trunk/LMDZ.MARS/util


Ignore:
Timestamp:
Sep 6, 2011, 12:10:28 PM (13 years ago)
Author:
emillour
Message:

Ajout utilitaire "extract" pour sorties GCM Mars.
EM

Location:
trunk/LMDZ.MARS/util
Files:
3 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/util/README.exec

    r281 r282  
    129129     (if infile is not specified, "startfi.nc" is used as default)
    130130     (if outfile is not specified, it is built as "infile_ex.nc")
     131
     132--------------------------------------------------------------------
     1336) extract.e
     134--------------------------------------------------------------------
     135
     136This program extracts (ie: interpolates) pointwise values of an atmospheric
     137variable from a 'zrecast'ed diagfi file (works if altitude is geometrical
     138height or a pressure vertical coordinates)
     139user has to specify:
     140- name of input file
     141- date (in sols) offset wrt the input file (e.g. if the input file "begins"
     142  at Ls=0, then the offset is 0; if the input file begins at Ls=30, the
     143  offset date corresponding to the first 3 months is 61+66+66=193 sols, etc.)
     144- the "extraction mode":
     145     1: extract individual values; user will specify values of
     146        lon lat alt Ls LT (all on a same line)
     147        on as many lines as there are sought values
     148     2: extract a profile: user will specify on a first line the values of
     149        lon lat Ls LT (all on a same line)
     150        and then only specify values of altitudes (m or Pa depending on the
     151        coordinate in the input file), one per line, at which values are
     152        sought
     153- output values are given on standard output; with extraction mode 1 as
     154  lines of "lon lat alt Ls LT value" an for a profile (extraction mode 2)
     155  as lines of "alt value"
     156  NB: If there is no data to do an appropriate interpolation to extract
     157      the sought value, then a "missing_value" (taken from the variable's
     158      attribute in the input file, most likely -9.99E33) is returned.
     159
     160See files "extract.points.def" and "extract.profile.def" for examples of
     161input format that would simply need to be redirected to extract.e, e.g.:
     162
     163extract.e < extract.points.def
     164
     165 
Note: See TracChangeset for help on using the changeset viewer.