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.
#915 (3.4beta : sbcana : some variables are unititialized after restart.) – NEMO

Opened 12 years ago

Closed 12 years ago

#915 closed Bug (fixed)

3.4beta : sbcana : some variables are unititialized after restart.

Reported by: molines Owned by: nemo
Priority: low Milestone:
Component: OCE Version: v3.4
Severity: Keywords:
Cc:

Description

In sbcana, variables utau, vtau, taum and wndm are modified for a gentle increase for kt <= nn_tau000, which is fine at cold start.

When performing a restart ( and if kt is then > nn_tau000 !) utau, vtau, taum, wndm are not initialized but used later in the code (eg utau, vtau in dynzdf_imp).

I suggest to initialized those values from namelist read variables for kt=nit0000. By the way, probably, qns, qsr, emp, emps can also be initialized for kt=nit000, and not necessarily every time step.

Proposition attached..

Commit History (1)

ChangesetAuthorTimeChangeLog
3273cetlod2012-01-23T10:36:24+01:00

dev_NEMO_MERGE_2011:Correction of wrong initialisation in sbcana.F90, see ticket #915

Attachments (1)

sbcana.F90 (15.4 KB) - added by molines 12 years ago.

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by molines

comment:1 Changed 12 years ago by cetlod

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.