Changeset 6646
- Timestamp:
- 2016-05-31T15:53:49+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/dev_r5518_v3.4_asm_nemovar_community/NEMOGCM/NEMO/OPA_SRC/ASM/asminc.F90
r6630 r6646 36 36 USE in_out_manager ! I/O manager 37 37 USE lib_mpp ! MPP library 38 USE netcdf ! netcdf library 38 39 #if defined key_lim2 39 40 USE ice_2 ! LIM2 … … 138 139 INTEGER :: iitiaustr_date ! Date YYYYMMDD of IAU interval start time step 139 140 INTEGER :: iitiaufin_date ! Date YYYYMMDD of IAU interval final time step 141 INTEGER :: idumvar ! Local dummy integer 142 INTEGER :: isurfstat ! Local integer for status of reading surft variable 140 143 ! 141 144 REAL(wp) :: znorm ! Normalization factor for IAU weights … … 153 156 154 157 REAL(wp), POINTER, DIMENSION(:,:) :: hdiv ! 2D workspace 158 ! 159 LOGICAL :: lk_surft ! Logical: T => Increments file contains surft variable 160 ! so only apply surft increments. 155 161 !! 156 162 NAMELIST/nam_asminc/ ln_bkgwri, & … … 426 432 IF ( ln_trainc ) THEN 427 433 428 IF (ln_sco) THEN 434 !Test if the increments file contains the surft variable. 435 isurfstat = nf90_inq_varid( inum, 'bckinsurft', idumvar ) 436 IF ( isurfstat == 0 ) THEN 437 lk_surft = .TRUE. 438 ELSE 439 lk_surft = .FALSE. 440 ENDIF 441 442 IF (lk_surft) THEN 429 443 430 444 ALLOCATE(z_mld(jpi,jpj))
Note: See TracChangeset
for help on using the changeset viewer.