Changeset 3343 for trunk/LMDZ.MARS/libf/phymars
- Timestamp:
- May 23, 2024, 3:05:55 PM (7 months ago)
- Location:
- trunk/LMDZ.MARS/libf/phymars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/albedocaps.F90
r3159 r3343 11 11 USE mod_phys_lmdz_transfert_para, ONLY: bcast 12 12 USE mod_phys_lmdz_para, ONLY: is_master 13 USE paleoclimate_mod, ONLY: paleoclimate,albedo_perennialco2 13 USE paleoclimate_mod, ONLY: paleoclimate,albedo_perennialco2,albedo_co2_cap 14 14 15 15 implicit none … … 105 105 psolaralb(ig,2)=psolaralb(ig,1) 106 106 else 107 psolaralb(ig,:)=albedice(icap) 108 if (paleoclimate .and. piceco2_peren(ig) > 0. .and. abs(piceco2(ig)) < 1.e-10) psolaralb(ig,:) = albedo_perennialco2 109 endif 107 if(paleoclimate) then 108 psolaralb(ig,1) = albedo_co2_cap 109 psolaralb(ig,2) = albedo_co2_cap 110 else 111 psolaralb(ig,1) = albedice(icap) 112 psolaralb(ig,2) = albedice(icap) 113 endif 114 endif 115 else if(paleoclimate .and. piceco2_peren(ig) > 0.) then 116 psolaralb(ig,1) = albedo_perennialco2 117 psolaralb(ig,2) = albedo_perennialco2 110 118 else if (watercaptag(ig) .and. water) then 111 119 ! there is a water ice cap: set the surface albedo to the water ice one -
trunk/LMDZ.MARS/libf/phymars/conf_phys.F
r3333 r3343 38 38 USE mod_phys_lmdz_transfert_para, ONLY: bcast 39 39 USE paleoclimate_mod,ONLY: paleoclimate,albedo_perennialco2, 40 & albedo_co2_cap, 40 41 & lag_layer, include_waterbuoyancy 41 42 use microphys_h, only: mteta … … 375 376 call getin_p("albedo_perennialco2",albedo_perennialco2) 376 377 write(*,*)"albedo_perennialco2 = ",albedo_perennialco2 378 379 write(*,*)"Albedo for seasonal CO2 ice?" 380 albedo_co2_cap = 0.6 ! default value 381 call getin_p("albedo_co2_cap",albedo_co2_cap) 382 write(*,*)"albedo_co2_cap = ",albedo_co2_cap 377 383 378 384 write(*,*)"Include water buoyancy effect??" -
trunk/LMDZ.MARS/libf/phymars/paleoclimate_mod.F90
r3336 r3343 21 21 logical, save :: lag_layer ! Does lag layer is present? 22 22 logical, save :: include_waterbuoyancy ! Include the effect of water buoyancy when computing the sublimation of water ice ? 23 !$OMP THREADPRIVATE(h2o_ice_depth,lag_co2_ice,d_coef,albedo_perennialco2,lag_layer,include_waterbuoyancy) 23 real, save :: albedo_co2_cap 24 !$OMP THREADPRIVATE(h2o_ice_depth,lag_co2_ice,d_coef,albedo_perennialco2,lag_layer,include_waterbuoyancy,albedo_co2_cap) 24 25 25 26 !======================================================================= -
trunk/LMDZ.MARS/libf/phymars/phyetat0_mod.F90
r3316 r3343 842 842 if (abs(latitude(ngrid) - (-pi/2.)) < 1.e-5) then 843 843 perennial_co2ice(ngrid,:) = 10*1.6e3 ! 10m which is convert to kg/m^2 844 qsurf(ngrid,igcm_co2_tmp,:) = qsurf(ngrid - 1,igcm_co2_tmp,:) + perennial_co2ice(ngrid,:) ! perennial ice + frost844 qsurf(ngrid,igcm_co2_tmp,:) = qsurf(ngrid - 1,igcm_co2_tmp,:) 845 845 endif 846 846 endif ! not found … … 852 852 if (abs(latitude(ngrid) - (-pi/2.)) < 1.e-5) then 853 853 perennial_co2ice(ngrid,:) = 10*1.6e3 ! 10m which is convert to kg/m^2 854 qsurf(ngrid,igcm_co2_tmp,:) = qsurf(ngrid - 1,igcm_co2_tmp,:) + perennial_co2ice(ngrid,:) ! perennial ice + frost854 qsurf(ngrid,igcm_co2_tmp,:) = qsurf(ngrid - 1,igcm_co2_tmp,:) 855 855 endif 856 856 endif !startphy_file
Note: See TracChangeset
for help on using the changeset viewer.