New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 1482 for trunk/NEMO/OPA_SRC/step.F90 – NEMO

Ignore:
Timestamp:
2009-07-03T17:28:06+02:00 (15 years ago)
Author:
smasson
Message:

distribution of iom_put + cleaning of LIM2 outputs, see ticket:437

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/step.F90

    r1481 r1482  
    190190      IF( lk_bdy     )   CALL bdy_dta( kstp )         ! update dynamic and tracer data at unstructured open boundary 
    191191 
    192       IF( ninist == 1 ) THEN                       ! Output the initial state and forcings 
    193                         CALL dia_wri_state( 'output.init', kstp ) 
    194                         ninist = 0 
    195       ENDIF 
    196  
    197192      !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    198193      !                Ocean dynamics : ssh, wn, hdiv, rot                   ! 
     
    260255      IF( lk_traldf_eiv )   CALL ldf_eiv( kstp )                 ! eddy induced velocity coefficient 
    261256#  endif 
     257 
     258      !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     259      ! diagnostics and outputs 
     260      !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 
     261                         CALL dia_wri( kstp, indic )         ! ocean model: outputs 
     262      IF( lk_floats  )   CALL flo_stp( kstp )                ! drifting Floats 
     263      IF( lk_diaspr  )   CALL dia_spr( kstp )                ! Surface pressure diagnostics 
     264      IF( lk_diahth  )   CALL dia_hth( kstp )                ! Thermocline depth (20 degres isotherm depth) 
     265      IF( lk_diagap  )   CALL dia_gap( kstp )                ! basin averaged diagnostics 
     266      IF( lk_diahdy  )   CALL dia_hdy( kstp )                ! dynamical heigh diagnostics 
     267      IF( lk_diafwb  )   CALL dia_fwb( kstp )                ! Fresh water budget diagnostics 
     268      IF( ln_diaptr  )   CALL dia_ptr( kstp )                ! Poleward TRansports diagnostics 
    262269 
    263270#if defined key_top 
     
    337344      !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 
    338345                                 CALL stp_ctl( kstp, indic ) 
    339       IF( indic < 0          )   CALL ctl_stop( 'step: indic < 0' ) 
     346      IF( indic < 0          )   THEN 
     347                                 CALL ctl_stop( 'step: indic < 0' ) 
     348                                 CALL dia_wri_state( 'output.abort', kstp ) 
     349      ENDIF 
    340350      IF( kstp == nit000     )   CALL iom_close( numror )             ! close input  ocean restart file 
    341351      IF( lrst_oce           )   CALL rst_write    ( kstp )           ! write output ocean restart file 
     
    343353 
    344354      !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    345       ! diagnostics and outputs 
     355      ! Trends 
    346356      !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 
    347357      ! N.B. ua, va, ta, sa arrays are used as workspace in this section 
     
    349359 
    350360      IF( nstop == 0 ) THEN                                 ! Diagnostics: 
    351          IF( lk_floats  )   CALL flo_stp( kstp )                 ! drifting Floats 
    352361         IF( lk_trddyn  )   CALL trd_dwr( kstp )                 ! trends: dynamics  
    353362         IF( lk_trdtra  )   CALL trd_twr( kstp )                 ! trends: active tracers 
    354363         IF( lk_trdmld  )   CALL trd_mld( kstp )                 ! trends: Mixed-layer  
    355364         IF( lk_trdvor  )   CALL trd_vor( kstp )                 ! trends: vorticity budget 
    356          IF( lk_diaspr  )   CALL dia_spr( kstp )                 ! Surface pressure diagnostics 
    357          IF( lk_diahth  )   CALL dia_hth( kstp )                 ! Thermocline depth (20 degres isotherm depth) 
    358          IF( lk_diagap  )   CALL dia_gap( kstp )                 ! basin averaged diagnostics 
    359          IF( lk_diahdy  )   CALL dia_hdy( kstp )                 ! dynamical heigh diagnostics 
    360          IF( lk_diafwb  )   CALL dia_fwb( kstp )                 ! Fresh water budget diagnostics 
    361          IF( ln_diaptr  )   CALL dia_ptr( kstp )                 ! Poleward TRansports diagnostics 
    362          !                                                 ! outputs 
    363                             CALL dia_wri( kstp, indic )          ! ocean model: outputs 
    364365      ENDIF 
    365366 
Note: See TracChangeset for help on using the changeset viewer.