Difference between revisions of "Tool Box Mars PCM"
(Created page with "== Post-processing tools provided with the Mars PCM == First and foremost there are a number of postprocessing utilities which can be found in the <pre> LMDZ.MARS/util </pre>...") |
|||
Line 1: | Line 1: | ||
== Post-processing tools provided with the Mars PCM == | == Post-processing tools provided with the Mars PCM == | ||
− | First and foremost there are a number of postprocessing utilities which can be found in the | + | First and foremost there are a number of postprocessing utilities (self-standing tools) which can be found in the |
<pre> | <pre> | ||
LMDZ.MARS/util | LMDZ.MARS/util | ||
</pre> | </pre> | ||
− | directory | + | directory; you certainly want to first read the README file there. |
− | ... | + | Current contents of this directory is: |
+ | <pre> | ||
+ | aeroptical.def extract.F90 lslin.def startarchive2icosa/ | ||
+ | aeroptical.F90 extract.points.def lslin.F90 streamfunction.F90 | ||
+ | aeropt_mod.F90 extract.profile.def README xvik/ | ||
+ | compile hrecast.def simu_MCS.def zrecast.auto.def | ||
+ | concatnc.def hrecast.F90 simu_MCS.F90 zrecast.F90 | ||
+ | concatnc.F90 localtime.def solzenangle.def zrecast.manual.def | ||
+ | expandstartfi.F90 localtime.F90 solzenangle.F90 | ||
+ | </pre> | ||
+ | the ''compile'' script is an example of how to compile any of the utilities, which you will have to adapt to your needs (mostly concerns setting the right path to the NetCDF library). All the post-processing tools are meant to be run interactively (asking the user for some instructions), hence the ''*.def'' files as it is most of the time more convenient (once one knows the tools and questions it will ask) to redirect this list of answers to the standard input of the tool, e.g. | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | zrecast.e < zrecast.manual.def | ||
+ | </syntaxhighlight> | ||
== Main programs (other than GCM) but included in the Mars PCM package == | == Main programs (other than GCM) but included in the Mars PCM package == |
Revision as of 10:21, 8 August 2023
Contents
Post-processing tools provided with the Mars PCM
First and foremost there are a number of postprocessing utilities (self-standing tools) which can be found in the
LMDZ.MARS/util
directory; you certainly want to first read the README file there.
Current contents of this directory is:
aeroptical.def extract.F90 lslin.def startarchive2icosa/ aeroptical.F90 extract.points.def lslin.F90 streamfunction.F90 aeropt_mod.F90 extract.profile.def README xvik/ compile hrecast.def simu_MCS.def zrecast.auto.def concatnc.def hrecast.F90 simu_MCS.F90 zrecast.F90 concatnc.F90 localtime.def solzenangle.def zrecast.manual.def expandstartfi.F90 localtime.F90 solzenangle.F90
the compile script is an example of how to compile any of the utilities, which you will have to adapt to your needs (mostly concerns setting the right path to the NetCDF library). All the post-processing tools are meant to be run interactively (asking the user for some instructions), hence the *.def files as it is most of the time more convenient (once one knows the tools and questions it will ask) to redirect this list of answers to the standard input of the tool, e.g.
zrecast.e < zrecast.manual.def
Main programs (other than GCM) but included in the Mars PCM package
There are a few other main programs that are included with the GCM
start2archive
A main program to collect multiple start.nc
and startfi.nc
files from a series simulations and store them in a start_archive.nc
file.
newstart
A main program to:
- extract (and interpolate)
restart.nc
andrestartfi.nc
files from astart_archive.nc
file - modify values and fields contained in the initial condition file
Compiling newstart
is done using the makelmdz_fcm utility
xvik
A post-processing utility to analyse the modeled CO2 cycle
Other
Mention here other pre or post processing utilities...