- Timestamp:
- 2021-08-13T11:34:58+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/UKMO/NEMO_4.0.4_generic_obs/src/OCE/OBS/obs_read_surf.F90
r15180 r15187 204 204 IF ( inpfiles(jj)%nvar /= kvars ) THEN 205 205 CALL ctl_stop( 'Feedback format error: ', & 206 & ' unexpected number of vars in feedback file' ) 206 & ' unexpected number of vars in feedback file', & 207 & TRIM(cdfilenames(jj)) ) 207 208 ENDIF 208 209 209 210 IF ( ldmod .AND. ( inpfiles(jj)%nadd == 0 ) ) THEN 210 CALL ctl_stop( 'Model not in input data' ) 211 CALL ctl_stop( 'Model not in input data in', & 212 & TRIM(cdfilenames(jj)) ) 211 213 RETURN 212 214 ENDIF … … 214 216 IF ( (iextr > 0) .AND. (inpfiles(jj)%next /= iextr) ) THEN 215 217 CALL ctl_stop( 'Number of extra variables not consistent', & 216 & ' with previous files for this type' ) 218 & ' with previous files for this type in', & 219 & TRIM(cdfilenames(jj)) ) 217 220 ELSE 218 221 iextr = inpfiles(jj)%next … … 228 231 END DO 229 232 IF ( ldmod .AND. ( inpfiles(jj)%nadd == iaddin ) ) THEN 230 CALL ctl_stop( 'Model not in input data' ) 233 CALL ctl_stop( 'Model not in input data', & 234 & TRIM(cdfilenames(jj)) ) 231 235 ENDIF 232 236 233 237 IF ( (iadd > 0) .AND. (iaddin /= iadd) ) THEN 234 238 CALL ctl_stop( 'Number of additional variables not consistent', & 235 & ' with previous files for this type' ) 239 & ' with previous files for this type in', & 240 & TRIM(cdfilenames(jj)) ) 236 241 ELSE 237 242 iadd = iaddin … … 283 288 IF ( inpfiles(jj)%cname(ji) /= clvarsin(ji) ) THEN 284 289 CALL ctl_stop( 'Feedback file variables not consistent', & 285 & ' with previous files for this type' ) 290 & ' with previous files for this type in', & 291 & TRIM(cdfilenames(jj)) ) 286 292 ENDIF 287 293 END DO … … 293 299 IF ( inpfiles(jj)%caddname(ji) /= claddvarsin(jadd) ) THEN 294 300 CALL ctl_stop( 'Feedback file additional variables not consistent', & 295 & ' with previous files for this type' ) 301 & ' with previous files for this type in', & 302 & TRIM(cdfilenames(jj)) ) 296 303 ENDIF 297 304 ENDIF … … 302 309 IF ( inpfiles(jj)%cextname(ji) /= clextvarsin(ji) ) THEN 303 310 CALL ctl_stop( 'Feedback file extra variables not consistent', & 304 & ' with previous files for this type' ) 311 & ' with previous files for this type in', & 312 & TRIM(cdfilenames(jj)) ) 305 313 ENDIF 306 314 END DO
Note: See TracChangeset
for help on using the changeset viewer.