Ignore:
Timestamp:
Nov 20, 2023, 1:25:31 PM (13 months ago)
Author:
jbclement
Message:

PEM:
The perennial co2 ice is now taken into account with co2 frost (qsurf) to compute the tendency and to make the update + Rework of how co2 frost is converted to perennial co2 ice at the end of the PEM run + Correction of the value of 'threshold_co2_frost2perennial' to correspond to 10 m + Perennial co2 ice is now handled outside 'paleoclimate' in "phyetat0_mod.F90" of the Mars PCM + Some cleanings.

/!\ Commit for the PEM management of co2 ice before a rework of ice management in the PEM!
JBC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/albedocaps.F90

    r2999 r3130  
    1111USE mod_phys_lmdz_transfert_para, ONLY: bcast
    1212USE mod_phys_lmdz_para, ONLY: is_master
    13 USE paleoclimate_mod, ONLY: paleoclimate,albedo_perenialco2
     13USE paleoclimate_mod, ONLY: paleoclimate,albedo_perennialco2
    1414
    1515implicit none
     
    2121integer,intent(in) :: ngrid
    2222real,intent(in) :: piceco2(ngrid) ! amount of CO2 ice on the surface (kg/m2)
    23 real,intent(inout) :: piceco2_peren(ngrid) ! amount of perenial co2 ice (kg/m^2)
     23real,intent(inout) :: piceco2_peren(ngrid) ! amount of perennial co2 ice (kg/m^2)
    2424real,intent(out) :: psolaralb(ngrid,2) ! albedo of the surface
    2525real,intent(out) :: emisref(ngrid) ! emissivity of the surface
     
    109109      if(paleoclimate) then
    110110         if((piceco2_peren(ig).gt.0.).and.(piceco2(ig).lt.piceco2_peren(ig))) then
    111              psolaralb(ig,1) = albedo_perenialco2
    112              psolaralb(ig,2) = albedo_perenialco2
     111             psolaralb(ig,1) = albedo_perennialco2
     112             psolaralb(ig,2) = albedo_perennialco2
    113113             piceco2_peren(ig) = piceco2(ig)
    114114         endif
Note: See TracChangeset for help on using the changeset viewer.