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

Changeset 15518


Ignore:
Timestamp:
2021-11-16T17:57:25+01:00 (6 months ago)
Author:
edblockley
Message:

Correction to rheology convergence timeseries output to ensure that all iterations on last time-step are output and that the time-axis only includes point from the current run cycle (i.e., starting from nit000+1)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/releases/r4.0/r4.0-HEAD/src/ICE/icedyn_rhg_evp.F90

    r15493 r15518  
    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.