Difference between revisions of "Tool Box Mars PEM"

From Planets
Jump to: navigation, search
(Creation of the page)
 
(Merging the PEM outputs into one NetCDF file (post-processing))
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
</pre>
 
</pre>
  
== Setting the orbital parameters in the "startfi" file (pre-processing) ==
+
== Setting the orbital parameters (pre-processing) ==
  
 
The bash script <code>modify_startfi_orbit.sh</code> allows to modify the orbital parameters in a <code>startfi.nc</code> file, that is obliquity, eccentricity, Ls perihelion and the initial Ls. It is useful when one wants a chained simulation to start at a specific date. In this case, the orbital parameters should be consistent with Laskar's data in <code>obl_ecc_lsp.asc</code> which can be found in the aforementioned directory.
 
The bash script <code>modify_startfi_orbit.sh</code> allows to modify the orbital parameters in a <code>startfi.nc</code> file, that is obliquity, eccentricity, Ls perihelion and the initial Ls. It is useful when one wants a chained simulation to start at a specific date. In this case, the orbital parameters should be consistent with Laskar's data in <code>obl_ecc_lsp.asc</code> which can be found in the aforementioned directory.
  
== Merging the PEM outputs into one NetCDF file (post-processing) ==
+
== Merging the PEM outputs (post-processing) ==
  
 
The bash script <code>concat_diagpem.sh</code> allows to concatenate along the variable 'Time' all the "diagpem" files (PEM outputs) into one NetCDF file. 'Time' is re-indexed with the numbering of Martian years simulated by the PEM run. It is useful if one wants to visualize and analyse the evolution of variables during all the PEM runs of the chained simulation.
 
The bash script <code>concat_diagpem.sh</code> allows to concatenate along the variable 'Time' all the "diagpem" files (PEM outputs) into one NetCDF file. 'Time' is re-indexed with the numbering of Martian years simulated by the PEM run. It is useful if one wants to visualize and analyse the evolution of variables during all the PEM runs of the chained simulation.
  
 
[[Category:Planetary-Evolution-Model]]
 
[[Category:Planetary-Evolution-Model]]

Latest revision as of 10:12, 17 October 2023

There are few tools provided along the PEM which can be found in the directory LMDZ.MARS/deftank/pem/. In this place, a README file gives insights about the different files that this directory contains.

Here the current tools available in this directory for the PEM are described:

modify_startfi_orbit.sh     concat_diagpem.sh

Setting the orbital parameters (pre-processing)

The bash script modify_startfi_orbit.sh allows to modify the orbital parameters in a startfi.nc file, that is obliquity, eccentricity, Ls perihelion and the initial Ls. It is useful when one wants a chained simulation to start at a specific date. In this case, the orbital parameters should be consistent with Laskar's data in obl_ecc_lsp.asc which can be found in the aforementioned directory.

Merging the PEM outputs (post-processing)

The bash script concat_diagpem.sh allows to concatenate along the variable 'Time' all the "diagpem" files (PEM outputs) into one NetCDF file. 'Time' is re-indexed with the numbering of Martian years simulated by the PEM run. It is useful if one wants to visualize and analyse the evolution of variables during all the PEM runs of the chained simulation.