Changeset 3093 for trunk/LMDZ.MARS/deftank
- Timestamp:
- Oct 18, 2023, 3:40:56 PM (16 months ago)
- Location:
- trunk/LMDZ.MARS/deftank/pem
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/deftank/pem/README
r3088 r3093 21 21 22 22 # modify_startfi_orbit.sh: 23 Bash script file to modify orbital parameters in the file "startfi.nc" (obliquity, eccentricity, Ls perihelion and possibly initial Ls). They should be consistent with Laskar data in "obl_ecc_lsp.asc" to start the chained simulation.23 Bash script file to modify orbital parameters in the file "startfi.nc" (obliquity, eccentricity, Ls perihelion and possibly initial Ls). They should be consistent with Laskar's data in "obl_ecc_lsp.asc" to start a chained simulation at a specific date. 24 24 25 25 # concat_diagpem.sh: 26 Bash script file to concatenate along the variable 'Time' all the "diag fi.nc" files of the PEM into one NetCDF file. 'Time' is reindexed with the numbering of Martian years simulated by the PEM.26 Bash script file to concatenate along the variable 'Time' all the "diagpem.nc" files of the PEM into one NetCDF file. 'Time' is re-indexed with the numbering of Martian years simulated by the PEM run. 27 27 28 28 Note: 29 29 To run the chained simulation, be careful to have: 30 30 (i) the xml files for XIOS. There should be "iodef.xml", "context_lmdz_physics.xml", "file_def_physics_mars.xml" and "field_def_physics_mars.xml" which can be found in the deftank folder. In "context_lmdz_physics.xml", the line for Xdiurnalave should be activated (enabled=".true."); 31 (ii) the usual def files to run the GCM with "run.def"renamed in "run_GCM.def";32 (iii ) the "startfi.nc" file modified accordingly thanks to"modify_startfi_orbit.sh";33 (iv) "diagfi_PEM.def", "diagfi_GCM.def" and eventually other files...31 (ii) the usual def files to run the GCM. "run.def" should be renamed in "run_GCM.def"; 32 (iii the starting files ("startfi.nc" and "start.nc"). The former can be modified by "modify_startfi_orbit.sh"; 33 (iv) some optional files. For example, "diagfi.def" and "diagpem.def". -
trunk/LMDZ.MARS/deftank/pem/launch_pem.sh
r3088 r3093 110 110 #--- Loop to run GCM year by year 111 111 cp run_GCM.def run.def 112 if [ -f "diagfi.def" ]; then113 rm diagfi.def114 fi115 if [ -f "diagfi_GCM.def" ]; then116 cp diagfi_GCM.def diagfi.def117 fi118 112 for ((i = 1; i <= $nGCM; i++)); do 119 113 echo "Run GCM $iGCM: call $i/$nGCM..." … … 160 154 echo "Run PEM $iPEM..." 161 155 cp run_PEM.def run.def 162 if [ -f "diagfi.def" ]; then163 rm diagfi.def164 fi165 if [ -f "diagfi_PEM.def" ]; then166 cp diagfi_PEM.def diagfi.def167 fi168 156 mv startfi.nc startfi_evol.nc 169 157 if [ -f "start.nc" ]; then -
trunk/LMDZ.MARS/deftank/pem/modify_startfi_orbit.sh
r3088 r3093 4 4 ###################################################################### 5 5 6 # Name of the file to be modified6 # Name of the file to be modified 7 7 name_file="startfi.nc" 8 8
Note: See TracChangeset
for help on using the changeset viewer.