Changeset 1319 for LMDZ4/trunk/libf/phylmd/readaerosol.F90
- Timestamp:
- Feb 23, 2010, 10:29:54 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/trunk/libf/phylmd/readaerosol.F90
r1279 r1319 200 200 REAL, DIMENSION(klon,12), INTENT(OUT) :: psurf_out ! Surface pression for 12 months 201 201 REAL, DIMENSION(klon,12), INTENT(OUT) :: load_out ! Aerosol mass load in each column 202 INTEGER :: nbr_tsteps ! number of month in file read 202 203 203 204 ! Local variables … … 273 274 CALL abort_gcm('get_aero_fromfile', 'latitudes do not correspond between file and model',1) 274 275 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 275 287 276 288 ! 2) Check if old or new file is avalabale.
Note: See TracChangeset
for help on using the changeset viewer.