Changeset 3132
- Timestamp:
- Nov 21, 2023, 8:25:02 AM (20 months ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/changelog.txt
r3129 r3132 4349 4349 Correction of a bug related to r3126: 'choice_ads' did not have a default value which made the model crash. 'choice_ads = 0' is the default value (no adsorption). 4350 4350 Cleaning of the 1D initialization: any reference of the PEM has been removed from "init_testphys1D_mod.F90". This way is much cleaner even though it needs more code. 4351 4352 == 21/11/2023 == EM 4353 Bug fix in phyetat0, igcm_co2_tmp was not initialed when paleoclimate==.false. 4354 but used nonetheless. Added an if(paleoclimate) around computation of 4355 perennial_co2ice() as it should only be computed in that context; also added 4356 an if(paleoclimate) around writting perennial_co2ice() to restartfi.nc in 4357 physdem1 for the same reason. -
trunk/LMDZ.MARS/libf/phymars/phyetat0_mod.F90
r3130 r3132 781 781 ! Perennial CO2 ice 782 782 perennial_co2ice(:,:) = 0. 783 if (startphy_file) then 783 if (paleoclimate) then 784 if (startphy_file) then 784 785 call get_field("perennial_co2ice",perennial_co2ice,found,indextime) 785 786 if (.not. found) then … … 793 794 endif 794 795 endif ! not found 795 else796 else 796 797 if (abs(latitude(ngrid) - (-pi/2.)) < 1.e-5) then 797 798 do islope = 1,nslope … … 800 801 enddo 801 802 endif 802 endif !startphy_file 803 endif !startphy_file 804 endif ! of if (paleoclimate) 803 805 804 806 ! close file: -
trunk/LMDZ.MARS/libf/phymars/phyredem.F90
r3130 r3132 227 227 228 228 ! Perennial CO2 ice layer 229 call put_field("perennial_co2ice","CO2 ice cover",perennial_co2ice,time) 229 if(paleoclimate) then 230 call put_field("perennial_co2ice","CO2 ice cover",perennial_co2ice,time) 231 endif 230 232 231 233 ! Surface temperature
Note: See TracChangeset
for help on using the changeset viewer.