Ignore:
Timestamp:
Mar 10, 2020, 4:59:49 PM (5 years ago)
Author:
jvatant
Message:

Fix a bug in the 2-layers aerosol scheme in aeropacity.F90
-> It appeared that the normalization for total column optical depth was a

wrong way to go, the actual strato and tropo values weren't matcihing the
input values, and one of the main consequence was to strongly underestimate
the actual strato optical depth compared to input value in most cases.

-> Now we ensure the normalization to the input values for both layers, while

keeping a dependence in dP for each GCM layer.

-> Also add a sanity check ensuring pres_top_tropo > pres_bottom_strato.
--JVO

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phystd/inifis_mod.F90

    r2245 r2254  
    594594     write(*,*)" pres_bottom_strato = ",pres_bottom_strato
    595595
     596     ! Sanity check
     597     if (pres_bottom_strato .gt. pres_top_tropo) then
     598       print*,'Error : TWOLAY AEROSOL, Please ensure that in callphys.def'
     599       print*,'you have pres_top_tropo > pres_bottom_strato !'
     600       stop
     601     endif
     602
    596603     write(*,*)"TWOLAY AEROSOL: pres_top_strato? in pa"
    597604     pres_top_strato=100.0
Note: See TracChangeset for help on using the changeset viewer.