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 15700 – NEMO

Changeset 15700


Ignore:
Timestamp:
2022-02-15T18:41:29+01:00 (2 years ago)
Author:
edblockley
Message:

Fix to rheology convergence time-series diagnostics to ensure that all iterations on last time-step are output and that the time-axis only includes point from the current run cycle.
Back-porting from 4.0-HEAD (changeset:15518)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/UKMO/NEMO_4.0.4_GO8_package/src/ICE/icedyn_rhg_evp.F90

    r15691 r15700  
    10061006 
    10071007      ! time 
    1008       it = ( kt - 1 ) * kitermax + kiter 
     1008      it = ( kt - nit000 ) * kitermax + kiter 
    10091009       
    10101010      ! convergence 
     
    10261026         istatus = NF90_PUT_VAR( ncvgid, nvarid, (/zresm/), (/it/), (/1/) ) 
    10271027         ! close file 
    1028          IF( kt == nitend - nn_fsbc + 1 )   istatus = NF90_CLOSE(ncvgid) 
     1028         IF( kt == nitend - nn_fsbc + 1 .AND. kiter == kitermax )   istatus = NF90_CLOSE(ncvgid) 
    10291029      ENDIF 
    10301030       
Note: See TracChangeset for help on using the changeset viewer.