Changes in / [da10dc8:e4b7087] in flexpart.git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
flexpart_code/fpmetbinary_mod.F90
r9cdf8bd r496c607 31 31 USE com_mod 32 32 USE conv_mod 33 USE par_mod, ONLY : nxmax, nymax, nzmax, nuvzmax, nwzmax34 33 35 34 IMPLICIT NONE … … 249 248 ! most com_mod variables. 250 249 ! Should be 1 or 2 251 252 ! These are temporary variables, used in the LOAD option, for253 ! comparing against the current values in FLEXPART of nxmax, nymax, ...254 INTEGER :: temp_nxmax, temp_nymax, temp_nzmax, &255 & temp_nuvzmax, temp_nwzmax256 257 250 CHARACTER(LEN=128) :: errmesg 258 251 259 252 if (op == 'DUMP') THEN 260 261 ! Write the compiled max dimensions from par_mod - these are262 ! not meant to be reassigned during a LOAD, but used as "header"263 ! information to provide the structure of arrays264 WRITE (iounit) nxmax, nymax, nzmax, nuvzmax, nwzmax265 253 266 254 ! Scalar values … … 402 390 ELSE IF (op == 'LOAD') THEN 403 391 404 ! Read the compiled max dimensions that were dumped from par_mod405 ! when creating the fp file, so that we can compare against406 ! current FLEXPART dimensions - they need to be the same, or else407 ! we abort.408 READ (iounit) temp_nxmax, temp_nymax, temp_nzmax, &409 & temp_nuvzmax, temp_nwzmax410 411 412 IF ( (temp_nxmax == nxmax) .AND. (temp_nymax == nymax) .AND. &413 & (temp_nzmax == nzmax) .AND. &414 & (temp_nuvzmax == nuvzmax) .AND. &415 & (temp_nwzmax == nwzmax) ) THEN416 CONTINUE417 ELSE418 PRINT *, 'Incompatible dimensions between fp file and current FLEXPART!'419 PRINT *, ''420 PRINT *, ' FP file Compiled FP'421 PRINT *, 'nxmax: ', temp_nxmax, ' ', nxmax422 PRINT *, 'nymax: ', temp_nymax, ' ', nymax423 PRINT *, 'nzmax: ', temp_nzmax, ' ', nzmax424 PRINT *, 'nuvzmax: ', temp_nuvzmax, ' ', nuvzmax425 PRINT *, 'nwzmax: ', temp_nwzmax, ' ', nwzmax426 PRINT *, ''427 STOP428 END IF429 430 431 392 ! Scalar values 432 393 READ(iounit) nx, ny, nxmin1, nymin1, nxfield
Note: See TracChangeset
for help on using the changeset viewer.