Changeset 10522 for NEMO/trunk/src/TOP
- Timestamp:
- 2019-01-16T09:35:15+01:00 (5 years ago)
- Location:
- NEMO/trunk/src/TOP/PISCES/P4Z
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/src/TOP/PISCES/P4Z/p4zopt.F90
r10425 r10522 389 389 !!---------------------------------------------------------------------- 390 390 INTEGER :: numpar, ierr, ios ! Local integer 391 REAL(wp), DIMENSION(nbtimes) :: zsteps ! times records392 391 ! 393 392 CHARACTER(len=100) :: cn_dir ! Root directory for location of ssr files … … 434 433 435 434 CALL iom_open ( TRIM( sn_par%clname ) , numpar ) 436 CALL iom_gettime( numpar, zsteps, kntime=ntimes_par)! get number of record in file435 ntimes_par = iom_getszuld( numpar ) ! get number of record in file 437 436 ENDIF 438 437 ! -
NEMO/trunk/src/TOP/PISCES/P4Z/p4zsbc.F90
r10425 r10522 211 211 REAL(wp) :: zexpide, zdenitide, zmaskt, zsurfc, zsurfp,ze3t, ze3t2, zcslp 212 212 REAL(wp) :: ztimes_dust, ztimes_riv, ztimes_ndep 213 REAL(wp), DIMENSION(nbtimes) :: zsteps ! times records214 213 REAL(wp), DIMENSION(:), ALLOCATABLE :: rivinput 215 214 REAL(wp), DIMENSION(:,:,:), ALLOCATABLE :: zriver, zcmask … … 309 308 ! Get total input dust ; need to compute total atmospheric supply of Si in a year 310 309 CALL iom_open ( TRIM( sn_dust%clname ) , numdust ) 311 CALL iom_gettime( numdust, zsteps, kntime=ntimes_dust)! get number of record in file310 ntimes_dust = iom_getszuld( numdust ) ! get number of record in file 312 311 END IF 313 312 END IF … … 331 330 ! get number of record in file 332 331 CALL iom_open ( TRIM( sn_solub%clname ) , numsolub ) 333 CALL iom_gettime( numsolub, zsteps, kntime=ntimes_solub)! get number of record in file332 ntimes_solub = iom_getszuld( numsolub ) ! get number of record in file 334 333 CALL iom_close( numsolub ) 335 334 ENDIF … … 360 359 DO ifpr = 1, jpriv 361 360 CALL iom_open ( TRIM( slf_river(ifpr)%clname ), numriv ) 362 CALL iom_gettime( numriv, zsteps, kntime=ntimes_riv)361 ntimes_riv = iom_getszuld( numriv ) 363 362 ALLOCATE( zriver(jpi,jpj,ntimes_riv) ) 364 363 DO jm = 1, ntimes_riv … … 407 406 ! Get total input dust ; need to compute total atmospheric supply of N in a year 408 407 CALL iom_open ( TRIM( sn_ndepo%clname ), numdepo ) 409 CALL iom_gettime( numdepo, zsteps, kntime=ntimes_ndep)408 ntimes_ndep = iom_getszuld( numdepo ) 410 409 ENDIF 411 410 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.