Ignore:
Timestamp:
Jul 23, 2025, 10:47:13 AM (13 days ago)
Author:
gmilcareck
Message:

Fix major bug in rayleigh scattering. A scalep is added to make it consistent with the pressure unit (hPa instead of Pa).

File:
1 edited

Legend:

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

    r3696 r3863  
    282282         
    283283         enddo !Nfine
    284          TAURAY(:,N)=tausum(:)/tauwei
     284         TAURAY(:,N)=tausum(:)*scalep/tauwei
     285         ! scalep because tausum/tauwei is in SI units and dp on optcv is in hPa unit
    285286
    286287      end do !L_NSPECTV
Note: See TracChangeset for help on using the changeset viewer.