source: trunk/LMDZ.MARS/util/concatnc.def @ 2434

Last change on this file since 2434 was 2434, checked in by abierjon, 4 years ago

Mars GCM:
Update utilities :
concat.F90

  • rewrite and simplify the handling of time and offset so that any file can be concatenated, including files from different years or stats file
  • use modulo to shift starting sols in concat.nc to values between 0 and 669
  • add a "adls" option in addition to "sol" or "ls" to add a Ls 1D variable

while keeping "sol" as the Time axis

  • add conservation of altitude attributes (long_name,units,positive)
  • enable absence of both hybrid (aps,bps) and sigma levels

solzenangle.F90

  • improve calculation for 1 sol file (stats) to use all local time data
  • read the starting sol in the file instead of asking it to the user (except for stats file) ; keep the possibility for user to change it
  • ask mean Ls value for stats file instead of sol number
  • fix crash when using "all variable" option (ticket #66)
  • fix bug on aps,bps by using GCM_layers dimension instead of altitude

localtime.F90

  • fix crash when using "all variable" option (ticket #66)
  • fix bug on aps,bps by using GCM_layers dimension instead of altitude

For all 3 utilities :

  • handle all ndim cases for the variables (ticket #52)
  • change "title" attribute into "long_name" by default (ticket #48)
  • extend size of long_name character string (ticket #57)
  • remove the use of #ifdef NC_DOUBLE (ticket #67)

AB

File size: 728 bytes
Line 
1diagfi10.nc       
2diagfi11.nc       
3diagfi12.nc       
4
5n              ! Starting sol of the run stored in the first input file?
6sol              ! output timescale ("sol" or "Ls" or "adls")
7tsurf           
8ps
9
10
11
12-----------------------------------------------------------------------
13ABOVE is the list of inputs to be fed to "concatnc.e" if you don t want
14to reply directly to the program:
15
161) List of N files to be read  (N lines)
172) blank line at the end
183) Starting sol of the run stored in the first input file? juste write "n" if you
19   wish to keep the date of the input files (recommended)
204) List of X variables to be kept (X lines) or 'all'
215) blank line at the end
22
23The use is :
24> concatnc.e < concatnc.def
Note: See TracBrowser for help on using the repository browser.