Ignore:
Timestamp:
Dec 1, 2022, 1:07:55 PM (2 years ago)
Author:
lguez
Message:

Change calendar attribute "360d" to "360_day"

"360_day" is the correct attribute according to CF convention. "360d"
leads to an error when opening a history file with xarray.

Location:
LMDZ6/trunk/libf/phylmd
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/create_limit_unstruct.F90

    r3531 r4361  
    111111      WHERE(NINT(zmasq(:))/=1) rugos(:,l)=0.001
    112112    ENDDO
    113     CALL time_interpolation(ndays,rugos,'360d',rugos_year)
     113    CALL time_interpolation(ndays,rugos,'360_day',rugos_year)
    114114
    115115! albedo   
    116     CALL time_interpolation(ndays,albedo,'360d',albedo_year)
     116    CALL time_interpolation(ndays,albedo,'360_day',albedo_year)
    117117
    118118
  • LMDZ6/trunk/libf/phylmd/dyn1d/old_lmdz1d.F90

    r4325 r4361  
    494494!      calend = 'earth_365d'
    495495      if (calend == 'earth_360d') then
    496         call ioconf_calendar('360d')
     496        call ioconf_calendar('360_day')
    497497        write(*,*)'CALENDRIER CHOISI: Terrestre a 360 jours/an'
    498498      else if (calend == 'earth_365d') then
  • LMDZ6/trunk/libf/phylmd/dyn1d/replay1d.F90

    r4350 r4361  
    5656call getin('day_step',day_step)
    5757calendrier=calend
    58 if ( calendrier == "earth_360d" ) calendrier="360d"
     58if ( calendrier == "earth_360d" ) calendrier="360_day"
    5959
    6060
  • LMDZ6/trunk/libf/phylmd/dyn1d/scm.F90

    r4325 r4361  
    327327!      calend = 'earth_365d'
    328328      if (calend == 'earth_360d') then
    329         call ioconf_calendar('360d')
     329        call ioconf_calendar('360_day')
    330330        write(*,*)'CALENDRIER CHOISI: Terrestre a 360 jours/an'
    331331      else if (calend == 'earth_365d') then
  • LMDZ6/trunk/libf/phylmd/iophys.F90

    r4350 r4361  
    173173t0=0.
    174174calendrier=calend
    175 if ( calendrier == "earth_360d" ) calendrier="360d"
     175if ( calendrier == "earth_360d" ) calendrier="360_day"
    176176
    177177print*,'iophys_ini annee_ref day_ref',annee_ref,day_ref,day_ini,calend,t0
  • LMDZ6/trunk/libf/phylmd/phys_cal_mod.F90

    r3452 r4361  
    5151    IF (is_omp_master) THEN
    5252      IF (calend == 'earth_360d') THEN
    53         CALL ioconf_calendar('360d')
     53        CALL ioconf_calendar('360_day')
    5454      ELSE IF (calend == 'earth_365d') THEN
    5555        CALL ioconf_calendar('noleap')
Note: See TracChangeset for help on using the changeset viewer.