Ignore:
Timestamp:
Feb 23, 2010, 10:29:54 PM (15 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
Location:
LMDZ4/trunk/libf/phylmd
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/trunk/libf/phylmd/phyetat0.F

    r1279 r1319  
    228228     $          'coherente ', i, zmasq(i), pctsrf(i, is_ter)
    229229     $          ,pctsrf(i, is_lic)
     230            zmasq(i) = fractint(i)
    230231        ENDIF
    231232      END DO
     
    237238     $          'coherente ', i, zmasq(i) , pctsrf(i, is_oce)
    238239     $          ,pctsrf(i, is_sic)
     240            zmasq(i) = fractint(i)
    239241        ENDIF
    240242      END DO
  • LMDZ4/trunk/libf/phylmd/physiq.F

    r1287 r1319  
    25482548
    25492549!   les ratqs sont une combinaison de ratqss et ratqsc
    2550        print*,'PHYLMD NOUVEAU TAU_RATQS ',tau_ratqs
     2550!       print*,'PHYLMD NOUVEAU TAU_RATQS ',tau_ratqs
    25512551
    25522552         if (tau_ratqs>1.e-10) then
  • 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.