Ignore:
Timestamp:
Dec 7, 2022, 5:50:50 PM (2 years ago)
Author:
romain.vande
Message:

Mars PEM:
PEM is now adapted to run with XIOS diurnal averages (when they will work properly)
RV

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/libf/evolution/nb_time_step_GCM.F90

    r2835 r2841  
    3838      IF (ierr .NE. nf90_noerr) THEN
    3939        write(*,*)"read_data_GCM: Le champ <temps> est absent"
    40         write(*,*)"read_data_GCM: J essaie <Time>"
    41         ierr = nf90_inq_varid (fID, "Time", vID)
     40        write(*,*)"read_data_GCM: J essaie <time_counter>"
     41        ierr = nf90_inq_varid (fID, "time_counter", vID)
    4242        IF (ierr .NE. nf90_noerr) THEN
    43            write(*,*)"read_data_GCM: Le champ <Time> est absent"
    44            write(*,*)trim(nf90_strerror(ierr))
    45            CALL ABORT_gcm("read_data_GCM", "", 1)
     43          write(*,*)"read_data_GCM: Le champ <time_counter> est absent"
     44          write(*,*)"read_data_GCM: J essaie <Time>"
     45          IF (ierr .NE. nf90_noerr) THEN
     46            write(*,*)"read_data_GCM: Le champ <Time> est absent"
     47            write(*,*)trim(nf90_strerror(ierr))
     48            CALL ABORT_gcm("read_data_GCM", "", 1)
     49          ENDIF
     50          ! Get the length of the "Time" dimension
     51          ierr = nf90_inq_dimid(fID,"Time",vID)
     52          ierr = nf90_inquire_dimension(fID,vID,len=timelen)         
    4653        ENDIF
    47         ! Get the length of the "Time" dimension
    48         ierr = nf90_inq_dimid(fID,"Time",vID)
     54        ! Get the length of the "time_counter" dimension
     55        ierr = nf90_inq_dimid(fID,"time_counter",vID)
    4956        ierr = nf90_inquire_dimension(fID,vID,len=timelen)
    5057      ELSE   
     
    5966
    6067  CONTAINS
    61 
    6268
    6369SUBROUTINE err(ierr,typ,nam)
Note: See TracChangeset for help on using the changeset viewer.