Ignore:
Timestamp:
Mar 12, 2026, 2:37:31 PM (13 days ago)
Author:
asima
Message:

Three parameters can be now specified via config.def :

1/ aerosols_SP_forcing_year :

-9999 --> "historical" mode : SP forcing year is the simulation year (between 1850 and 2023 included)

YYYY (a given year between 1850 and 2023) : SP forcing is fixed to year YYYY for the entire simulation

2/ aerosols_SP_coef_bN

coef bN in eq (15) of SP paper Stevens et al (2017);

Published values : 1000. (default) and 20.

3/ aerosols_SP_aod_bg_gl

globally constant part of the natural background aod in SP implementation ;

Default : 0.02

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/macv2sp.f90

    r6092 r6100  
    1313  !--dNovrN   = enhancement factor for CDNC
    1414  !
    15   USE mo_simple_plumes, ONLY: sp_aop_profile
     15  USE mo_simple_plumes, ONLY: sp_aop_profile, sp_setup, sp_initialized, aerosols_SP_forcing_year
    1616  USE phys_cal_mod, ONLY : year_cur, year_len, days_elapsed
    1717  USE dimphy
     
    7878  ENDDO
    7979  !
     80
     81  ! Call sp_setup to retrieve 'aerosol_SP_forcing_year' value used in year_fr calculation below
     82  IF (.NOT.sp_initialized) CALL sp_setup
     83
    8084  !--fractional year
    8185  !
     
    8387  ! year_fr = FLOAT(year_cur) + (FLOAT(day_cur)-0.5) / FLOAT(year_len)
    8488  ! Correction ASima & FH :
    85   year_fr= float(year_cur) + float(days_elapsed)/float(year_len)
     89!  year_fr= float(year_cur) + float(days_elapsed)/float(year_len)
     90! Choice between yearly vs fixed_year forcing, depending on 'aerosols_SP_forcing_year'
     91  IF (aerosols_SP_forcing_year.EQ.-9999) THEN
     92     year_fr= float(year_cur) + float(days_elapsed)/float(year_len)
     93  ELSE
     94     year_fr= float(aerosols_SP_forcing_year) + float(days_elapsed)/float(year_len)
     95  ENDIF
    8696
    8797  IF (year_fr.LT.1850.0.OR.year_fr.GE.2024.0) THEN
Note: See TracChangeset for help on using the changeset viewer.