Ignore:
Timestamp:
Feb 23, 2010, 10:29:54 PM (14 years ago)
Author:
Laurent Fairhead
Message:
  • Modifications to the start and limit creation routines to account for different

calendars

  • Modification to phyetat0 to force the mask read in the start files to match the

surface fractions read in the limit file

  • Force readaerosol.F90 to read in aerosols file with 12 timesteps

  • Modifications aux routines de créations des fichiers start et limit pour prendre

en compte différents calendriers

  • Modification à phyetat0 pour forcer le masque lu dans le fichier start à être

compatible avec les fractions de surface lu dans le fichier limit

  • Forcer readaerosol à ne lire que des fichiers à 12 pas de temps
File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/trunk/libf/phylmd/readaerosol.F90

    r1279 r1319  
    200200    REAL, DIMENSION(klon,12), INTENT(OUT) :: psurf_out    ! Surface pression for 12 months
    201201    REAL, DIMENSION(klon,12), INTENT(OUT) :: load_out     ! Aerosol mass load in each column
     202    INTEGER                               :: nbr_tsteps   ! number of month in file read
    202203
    203204! Local variables
     
    273274          CALL abort_gcm('get_aero_fromfile', 'latitudes do not correspond between file and model',1)
    274275       END IF
     276
     277! 1.5) Check number of month in file opened
     278!
     279!**************************************************************************************************
     280       ierr = nf90_inq_dimid(ncid, 'TIME',dimid)
     281       CALL check_err( nf90_inquire_dimension(ncid, dimid, len = nbr_tsteps) )
     282!       IF (nbr_tsteps /= 12 .AND. nbr_tsteps /= 14) THEN
     283       IF (nbr_tsteps /= 12 ) THEN
     284         CALL abort_gcm('get_aero_fromfile', 'not the right number of months in aerosol file read (should be 12 for the moment)',1)
     285       ENDIF
     286
    275287
    276288! 2) Check if old or new file is avalabale.
Note: See TracChangeset for help on using the changeset viewer.