source: trunk/LMDZ.MARS/util/README.exec @ 260

Last change on this file since 260 was 137, checked in by aslmd, 14 years ago

ATTENTION COMMIT MAJEUR NON-CONSERVATIF

  • CHANGEMENT ARBORESCENCE POUR SEPARATION CLAIRE DES COMPOSANTES et MODELES
  • UTILISATION DE LIENS SYMBOLIQUES POUR GARDER UNE BASE COMMUNE LMDZ.COMMON
  • VOIR LE FICHIER DOC/000-MODELS POUR EN SAVOIR PLUS !

EN CAS DE PROBLEME AVEC svn update IL EST CONSEILLE DE REVENIR A UN svn co

DERNIERE REVISION AVEC L'ANCIENNE ARBORESCENCE : 132

File size: 4.3 KB
RevLine 
[137]1This directory contains executable files (and their source) that can be
2used to process the LMD Mars GCM output files (like "diagfi" or
3"stats"), whatever the dimension.
4In addition most output file from one of these program can be
5processes by another.
6
7The executable files should run on any Linux platform.
8
9Inputs can be provided by (1) replying to questions on screen or
10(2) filling the corresponding  *.def and direct the input of these *.def
11files instead. For example :
12> concatnc.e < concatnc.def
13> zrecast.e < zrecast.def
14
15--------------------------------------------------------------------
161) concatnc.e
17--------------------------------------------------------------------
18
19This program is used to concatenate consecutive
20output files ("diagfi", and even "stats") for a selection of
21variable, in order to obtain one single big file. The time simension can
22be "sols" or "Ls" (in that last case, Ls will not be linear, and
23software like Grads may not be able to use it. To have a linear "Ls"
24timescale, you can use "Ls_Linear.e" (see below).
25
26Output file is : concat.nc
27
28MODIFICATION:
2907/2008 Utility concatnc.F90 (not used by the gcm): improvement in order
30to 1) concatenate 1D variable and 2) increase the number of input files
31up to 1000
32
33
34--------------------------------------------------------------------
352) localtime.e
36--------------------------------------------------------------------
37
38Program to redistribute and interpolate the variable a the same
39local times everywhere (useful to mimic satellite observations, or
40analyse day to day variations at a given local time).
41input : diagfi.nc  / concat.nc / stats.nc kind of files
42
43output file is :
44name_of_input_file_LT.nc with pressure coordinate
45
46--------------------------------------------------------------------
473) zrecast.e
48--------------------------------------------------------------------
49
50This program reads 4D (lon-lat-alt-time) fields from GCM output files
51(ie: diagfi.nc time series or concat.nc or stats.nc files) and, by
52integrating the hydrostatic equation, recasts data along the vertical
53direction.
54The vertical coordinate can be either "above areoid altitudes" or
55"pressure". Some interpolation along the vertical direction is also
56done, following instructions given by user.
57For "above areoid altitudes" output, Atmospheric pressure is added to
58output dataset; for "pressure coordinate" outputs, the above areoid
59altitude of pressure is added to output dataset.
60
61Minimal requirements and dependencies:
62The dataset must include the following data:
63- surface pressure
64- atmospheric temperature
65- hybrid coordinates aps() and bps(), or sigma levels() (see section
661.3.2)
67- ground geopotential (in input file; if not found, it is sought
68  in a 'diagfi.nc' file. If not found there, it is then sought in
69  a 'phisinit.nc' file  (see section 1.3.3 of program)
70
71- When integration the hydrostatic equation, we assume that R, the
72molecular Gas Constant, may not be constant, so it is computed as
73R=P/(rho*T) (P=Pressure, rho=density, T=temperature)
74If 'rho' is not available, then we use a constant R (see section
752.2 in source file)
76
77output file is :
78name_of_input_file_P.nc with pressure coordinate
79name_of_input_file_Z.nc with altitude above areoid coordinate
80
81MODIFICATION :
8201/2010 : correction to interpolate above surface if density is not available.
83
84--------------------------------------------------------------------
854) lslin.e
86--------------------------------------------------------------------
87
88This program has been designed to interpol data in Solar Longitude (Ls)
89linear time coordinate (usable with grads) from Netcdf diagfi or concatnc 
90files.
91output file is : lslin.nc
92lslin also create a lslin.ctl file that can be read
93directly by grads (>xdfopen lsllin.ctl) to plot in Ls coordinate to
94avoid some problem with grads when grads think that "the time interval
95is too small"...
96
97MODIFICATION
9810/2007 Utility lslin.F90 (not used by the gcm)
99changed evaluation of 'start_var' from hard-coded values to a computed value
100
101
102
103--------------------------------------------------------------------
1045) hrecast.e
105--------------------------------------------------------------------
106
107This program can interpolate GCM output on any horizontal grid (regular lat - lon) as long as it cover all the
108planet. The grid can be given points by points. The best way is to use the redirected input hrecast.def
109
110hrecast.e < hrecast.def
111
112
113
114
Note: See TracBrowser for help on using the repository browser.