- Timestamp:
- Jul 23, 2024, 3:29:36 PM (8 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/phylmd/regr_pr_time_av_m.F90
r5101 r5103 42 42 ! adjustment is activated, to avoid "strairs shape effect" on profiles. 43 43 ! * All the fields are regridded as a single multi-dimensional array, so it 44 ! saves CPU time to callthis procedure once for several NetCDF variables44 ! saves CPU time to CALL this procedure once for several NetCDF variables 45 45 ! rather than several times, each time for a single NetCDF variable. 46 46 ! * The input file pressure at tropopause can be (in decreasing priority): … … 91 91 LOGICAL, SAVE :: lPrTfile !--- Tropopause pressure flag 92 92 LOGICAL, SAVE :: lO3Tfile !--- Tropopause ozone flag 93 LOGICAL, SAVE :: lfirst=.TRUE. !--- First callflag93 LOGICAL, SAVE :: lfirst=.TRUE. !--- First CALL flag 94 94 !$OMP THREADPRIVATE(lfirst) 95 95 REAL, PARAMETER :: pTropUp=9.E+3 !--- Value < tropopause pressure (Pa) … … 482 482 CALL nf95_inq_varid(fID, TRIM(var), vID) 483 483 CALL nf95_inquire_variable(fID, vID, ndims=n_dim) 484 IF(n_dim==2) callnf95_get_var(fID,vID,v(1,:), start=[ 1,irec])485 IF(n_dim==3) callnf95_get_var(fID,vID,v(:,:), start=[1,1,irec])484 IF(n_dim==2) CALL nf95_get_var(fID,vID,v(1,:), start=[ 1,irec]) 485 IF(n_dim==3) CALL nf95_get_var(fID,vID,v(:,:), start=[1,1,irec]) 486 486 487 487 !--- Flip latitudes: ascending in input file, descending in "rlatu". … … 513 513 CALL nf95_inq_varid(fID, TRIM(nam(i)), vID) 514 514 CALL nf95_inquire_variable(fID, vID, ndims=n_dim) 515 IF(n_dim==3) callnf95_get_var(fID,vID,v(1,:,:,i), start=[ 1,1,irec])516 IF(n_dim==4) callnf95_get_var(fID,vID,v(:,:,:,i), start=[1,1,1,irec])515 IF(n_dim==3) CALL nf95_get_var(fID,vID,v(1,:,:,i), start=[ 1,1,irec]) 516 IF(n_dim==4) CALL nf95_get_var(fID,vID,v(:,:,:,i), start=[1,1,1,irec]) 517 517 END DO 518 518
Note: See TracChangeset
for help on using the changeset viewer.