- Timestamp:
- 2009-02-17T17:38:18+01:00 (15 years ago)
- Location:
- trunk/NEMO
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/C1D_SRC/diawri_c1d.F90
r1317 r1318 343 343 ENDIF 344 344 345 ! 3. Synchronise and close all files346 ! ---------------------------------------347 IF( MOD( it, nwrite ) == 0 .OR. kindic < 0 ) CALL histsync( nid_T )348 349 345 ! Create an output files (output.abort.nc) if S < 0 or u > 20 m/s 350 346 IF( kindic < 0 ) CALL dia_wri_state( 'output.abort' ) 351 347 348 ! 3. Close all files 349 ! --------------------------------------- 352 350 IF( kt == nitend .OR. kindic < 0 ) CALL histclo( nid_T ) 353 351 ! -
trunk/NEMO/OPA_SRC/DIA/diawri.F90
r1317 r1318 511 511 #endif 512 512 513 ! 3. Synchronise and close all files514 ! ---------------------------------------515 IF( MOD( it, nwrite ) == 0 .OR. kindic < 0 ) THEN516 CALL histsync( nid_T )517 CALL histsync( nid_U )518 CALL histsync( nid_V )519 CALL histsync( nid_W )520 ENDIF521 522 513 ! Create an output files (output.abort.nc) if S < 0 or u > 20 m/s 523 514 IF( kindic < 0 ) CALL dia_wri_state( 'output.abort' ) 524 515 516 ! 3. Close all files 517 ! --------------------------------------- 525 518 IF( kt == nitend .OR. kindic < 0 ) THEN 526 519 CALL histclo( nid_T ) -
trunk/NEMO/TOP_SRC/SED/sedwri.F90
r1317 r1318 247 247 END DO 248 248 249 250 !!251 !! synchronise FILE252 !253 IF( MOD( it, nwrised ) == 0 ) THEN254 WRITE(numsed,*) '**** sedwri : write NetCDF aditional arrays'255 CALL histsync( nised )256 ENDIF257 258 249 ENDIF 259 250 -
trunk/NEMO/TOP_SRC/trcdia.F90
r1317 r1318 213 213 END DO 214 214 215 ! synchronise file216 IF( MOD( it, nwritetrc ) == 0 .OR. kindic < 0 ) CALL histsync( nit5 )217 218 219 215 ! close the file 220 216 ! -------------- … … 445 441 END DO 446 442 447 ! synchronise FILE448 IF( MOD( it, nwritetrd ) == 0 .OR. kindic < 0 ) THEN449 DO jn = 1, jptra450 IF (luttrd(jn)) CALL histsync( nit6(jn) )451 END DO452 ENDIF453 454 443 ! Closing all files 455 444 ! ----------------- … … 604 593 CALL histwrite(nitd, cltra, it, trc2d(:,:,jn), ndimt51 ,ndext51) 605 594 END DO 606 607 ! synchronise FILE608 IF( MOD( it, nwritedia ) == 0 .OR. kindic < 0 ) CALL histsync( nitd )609 595 610 596 ! Closing all files … … 734 720 END DO 735 721 736 ! synchronise FILE737 IF( MOD( it, nwritebio ) == 0 .OR. kindic < 0 ) CALL histsync( nitb )738 739 722 ! Closing all files 740 723 ! -----------------
Note: See TracChangeset
for help on using the changeset viewer.