Changeset 3026 for trunk/LMDZ.MARS/deftank
- Timestamp:
- Aug 9, 2023, 11:56:36 AM (17 months ago)
- Location:
- trunk/LMDZ.MARS/deftank
- Files:
-
- 1 added
- 2 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/deftank/field_def_physics_mars.xml
r2992 r3026 334 334 unit="W.m-2" /> 335 335 <field id="tauTES" 336 long_name="Water ice cloud opacity at TES abs 825 cm-1" 337 unit="" /> 338 <field id="tauTESap" 336 339 long_name="Water ice cloud opacity at TES abs 825 cm-1" 337 340 unit="" /> … … 653 656 long_name="count_micro after microphysics" 654 657 unit="integer" /> 655 658 659 <field id="zdqcloud_ice" 660 long_name="cloud ice" 661 unit="kg.m-2.s-1" /> 662 <field id="zdqcloud_vap" 663 long_name="cloud vap" 664 unit="kg.m-2.s-1" /> 665 <field id="zdqcloud" 666 long_name="cloud" 667 unit="kg.m-2.s-1" /> 668 656 669 <!-- CO2 condensation parametrization --> 657 670 <field id="co2condens_pdtc" -
trunk/LMDZ.MARS/deftank/file_def_physics_mars.xml
r2964 r3026 12 12 time_units="days" 13 13 type="one_file" 14 enabled=". true.">14 enabled=".false."> 15 15 16 16 <!-- VARS 0D --> … … 37 37 <field field_ref="u" /> 38 38 <field field_ref="v" /> 39 <field field_ref="dustq" /> 40 <field field_ref="dustN" /> 41 <field field_ref="h2o_vap" /> 42 <field field_ref="h2o_ice" /> 39 43 </field_group> 40 44 … … 83 87 type="one_file" 84 88 time_units="days" 85 enabled=". false.">89 enabled=".true."> 86 90 87 91 <!-- VARS 0D --> … … 112 116 <field field_ref="h2o_layer1" /> 113 117 <field field_ref="co2_layer1" /> 118 <field field_ref="fluxsurf_dn_sw" name="ISR" /> 119 <field field_ref="fluxtop_lw" name="OLR" /> 114 120 </field_group> 115 121 -
trunk/LMDZ.MARS/deftank/pem/modify_startfi_orbit.sh
r3025 r3026 4 4 name_file="startfi.nc" 5 5 6 new_obl=30. 7 new_exc=0. 8 new_Lsp=250. 9 10 year_day=669. 11 halfaxe=227.94 6 new_obl=30.0286 7 new_exc=0.08212066 8 new_Lsp=347.443947402 12 9 13 10 14 11 # Calculate modified values 12 year_day=669. 13 halfaxe=227.94 15 14 pi=$(echo "4*a(1)" | bc -l) 16 arg=$(echo "0.5*2.*$pi*$new_Lsp/360." | bc -l) 17 zx0=$(echo "-2.*-2.0*a(s($arg)/c($arg)*sqrt((1. - $new_exc)/(1. + $new_exc)))" | bc -l) 18 if [ $(echo "$zx0 < 0" | bc -l) -eq 1 ]; then 15 degrad=$(echo "360./(2.*$pi)" | bc -l) 16 tan=$(echo "s(0.5*$new_Lsp/$degrad)/c(0.5*$new_Lsp/$degrad)" | bc -l) 17 zx0=$(echo "-2.*a($tan*sqrt((1.-$new_exc)/(1.+$new_exc)))" | bc -l) 18 if [ $(echo "$zx0 <= 0" | bc -l) -eq 1 ]; then 19 19 zx0=$(echo "$zx0 + 2.*$pi" | bc -l) 20 20 fi … … 24 24 # controle(15) = periheli ! min. Sun-Mars distance (Mkm) ̃206.66 25 25 # controle(16) = aphelie ! max. SUn-Mars distance (Mkm) ̃249.22 26 # controle(1 6) = peri_day ! date of perihelion (sols since N. spring)26 # controle(17) = peri_day ! date of perihelion (sols since N. spring) 27 27 # controle(18) = obliquit ! Obliquity of the planet (deg) ̃23.98 28 28 ncap2 -O -s "controle(17)=$new_obl" \ … … 34 34 # Rename the temporary file back to the original filename 35 35 mv $name_file.temp $name_file 36 37 echo New obliquit = $new_obl 38 echo New periheli = $(echo "$halfaxe*(1-$new_exc)" | bc -l) 39 echo New aphelie = $(echo "$halfaxe*(1+$new_exc)" | bc -l) 40 echo New peri_day = $solp
Note: See TracChangeset
for help on using the changeset viewer.