Changeset 6116 for LMDZ6/trunk/libf/phylmd/conf_phys_m.f90
- Timestamp:
- Mar 21, 2026, 7:18:46 PM (3 weeks ago)
- File:
-
- 1 edited
-
LMDZ6/trunk/libf/phylmd/conf_phys_m.f90 (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/conf_phys_m.f90
r6106 r6116 70 70 USE phys_cal_mod 71 71 USE carbon_cycle_mod, ONLY: carbon_cycle_tr, carbon_cycle_cpl, carbon_cycle_rad, level_coupling_esm 72 ! << PC 73 USE carbon_cycle_mod, ONLY: read_daily_co2ff 74 USE carbon_cycle_mod, ONLY: carbon_cycle_conc_driven 75 ! >> PC 72 76 USE carbon_cycle_mod, ONLY: read_fco2_ocean_cor,var_fco2_ocean_cor 73 77 USE carbon_cycle_mod, ONLY: read_fco2_land_cor,var_fco2_land_cor 78 USE carbon_cycle_mod, ONLY: read_fco2_ocean_cor_2d, read_fco2_land_cor_2d 74 79 USE chemistry_cycle_mod, ONLY: dms_cycle_cpl, n2o_cycle_cpl, ndp_cycle_cpl, nh3_cycle_cpl 75 80 USE mod_grid_phy_lmdz, ONLY: klon_glo … … 1190 1195 CALL getin_p('carbon_cycle_rad',carbon_cycle_rad) 1191 1196 1192 read_fco2_ocean_cor=.FALSE. 1193 CALL getin_p('read_fco2_ocean_cor',read_fco2_ocean_cor) 1197 !Patricia 1198 read_daily_co2ff = .FALSE. 1199 CALL getin_p('read_daily_co2ff', read_daily_co2ff) 1194 1200 1195 1201 var_fco2_ocean_cor=0. ! default value … … 1201 1207 var_fco2_land_cor=0. ! default value 1202 1208 CALL getin_p('var_fco2_land_cor',var_fco2_land_cor) 1209 1210 read_fco2_ocean_cor_2d=.FALSE. 1211 CALL getin_p('read_fco2_ocean_cor_2d',read_fco2_ocean_cor_2d) 1212 1213 read_fco2_land_cor_2d=.FALSE. 1214 CALL getin_p('read_fco2_land_cor_2d',read_fco2_land_cor_2d) 1203 1215 1204 1216 ! level_coupling_esm : level of coupling of the biogeochemical fields between LMDZ, ORCHIDEE and NEMO … … 1215 1227 CALL getin_p('level_coupling_esm',level_coupling_esm) 1216 1228 1217 1229 ! Patricia 1230 carbon_cycle_conc_driven=.FALSE. 1231 CALL getin_p('carbon_cycle_conc_driven', carbon_cycle_conc_driven) 1232 1233 ! Check: If concentration-driven, ensure co2_ppm is valid 1234 IF (carbon_cycle_conc_driven) THEN 1235 IF (co2_ppm <= 0.0) THEN 1236 co2_ppm = co2_ppm0 1237 WRITE(lunout,*) 'conf_phys: WARNING: co2_ppm was <= 0 in concentration-driven mode' 1238 WRITE(lunout,*) ' Resetting to initial value co2_ppm0 = ', co2_ppm 1239 END IF 1240 WRITE(lunout,*) 'conf_phys: Carbon Cycle is CONCENTRATION-DRIVEN' 1241 WRITE(lunout,*) ' Atmosphere forced by co2_ppm' 1242 ELSE 1243 WRITE(lunout,*) 'conf_phys: Carbon Cycle is EMISSION-DRIVEN (Interactive)' 1244 END IF 1245 1246 1218 1247 dms_cycle_cpl=.FALSE. 1219 1248 CALL getin_p('transm_dms_oa',dms_cycle_cpl) 1249 1220 1250 ! 1221 1251 … … 1382 1412 ENDIF 1383 1413 1414 ! << PC 1415 ! Consistency checks for CO2 driving philosophy 1416 ! If CO2 is concentration-driven for the surface components, the radiation 1417 ! should not use the drifting tracer CO2 (avoid inconsistent forcing) 1418 IF (carbon_cycle_conc_driven .AND. carbon_cycle_rad) THEN 1419 !CALL abort_physic('conf_phys', & 1420 ! 'carbon_cycle_rad must be FALSE when carbon_cycle_conc_driven is TRUE', 1) 1421 WRITE(lunout,*) 'CO2 concentration-driven: radiation uses prescribed co2_ppm: atmospheric tracer is diagnostic only.' 1422 ENDIF 1423 ! >> PC 1384 1424 1385 1425 ! Test on chemistry cycle … … 1565 1605 WRITE(lunout,*) 'conf_phys : carbon_cycle_rad = ', carbon_cycle_rad 1566 1606 WRITE(lunout,*) 'conf_phys : level_coupling_esm = ', level_coupling_esm 1607 WRITE(lunout,*) 'conf_phys : carbon_cycle_conc_driven = ', carbon_cycle_conc_driven 1608 WRITE(lunout,*) 'conf_phys : read_daily_co2ff = ', read_daily_co2ff 1609 WRITE(lunout,*) 'conf_phys : read_fco2_ocean_cor_2d = ', read_fco2_ocean_cor_2d 1610 WRITE(lunout,*) 'conf_phys : read_fco2_land_cor_2d = ', read_fco2_land_cor_2d 1567 1611 WRITE(lunout,*) 'conf_phys : read_fco2_ocean_cor = ', read_fco2_ocean_cor 1568 1612 WRITE(lunout,*) 'conf_phys : var_fco2_ocean_cor = ', var_fco2_ocean_cor
Note: See TracChangeset
for help on using the changeset viewer.
