Opened 12 years ago

Closed 12 years ago

Last modified 4 years ago

#245 closed Bug (fixed)

v3_beta fixes to allow a 1d configuration to initialise from a full model dataset

Reported by: nemo_user Owned by: nemo
Priority: low Milestone:
Component: OCE Version: release-3.0
Severity: Keywords: C1D
Cc:

Description

A couple of changes are needed to run a 1d configuration which reads its initial state from an
existing full model restart. Firstly the iom_get calls in sbcssm.F90 use jpdom_local. These
should use jpdom_autoglo to be compatible with other gets performed on the same file in restart.F90.
Secondly, any iom_get calls using jpdom_global default to a starting point for extraction of
(nimpp, njmpp). In the single processor 1d configuration this will be (1,1) not the expected offset
of (jpizoom, jpjzoom). This can be fixed in domcfg.F90 (attached) specifically for key_c1d by resetting nimpp and njmpp after they have been used for all other purposes relevant to the 1d case.

Commit History (1)

ChangesetAuthorTimeChangeLog
1196ctlod2008-09-19T09:07:00+02:00

change jpdom_local into jpdom_autoglo in the iom_get call sequence, see ticket: #245

Attachments (2)

sbcssm.F90 (7.9 KB) - added by nemo_user 12 years ago.
Corrected sbcssm.F90
domcfg.F90 (10.9 KB) - added by nemo_user 12 years ago.
Enhanced domcfg.F90 to correctly handle inputs for a 1d configuration

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by nemo_user

Corrected sbcssm.F90

Changed 12 years ago by nemo_user

Enhanced domcfg.F90 to correctly handle inputs for a 1d configuration

comment:1 in reply to: ↑ description Changed 12 years ago by ctlod

  • Resolution set to fixed
  • Status changed from new to closed

Replying to nemo_user:

A couple of changes are needed to run a 1d configuration which reads its initial state from an existing full model restart.


Firstly the iom_get calls in sbcssm.F90 use jpdom_local. These should use jpdom_autoglo to be compatible with other gets performed on the same file in restart.F90.

we agree with you, so we changed that.

Secondly, any iom_get calls using jpdom_global default to a starting point for extraction of (nimpp, njmpp). In the single processor 1d configuration this will be (1,1) not the expected offset of (jpizoom, jpjzoom). This can be fixed in domcfg.F90 (attached) specifically for key_c1d by resetting nimpp and njmpp after they have been used for all other purposes relevant to the 1d case.


When using the 1D option and starting from a restart file, this restart file has the "right" size i.e. the size of the zoom. If you want to start from a global restart file, you have 2 possibility:
# extract the area of the zoom you are working on in using NCO commands.
# change hard coded argument jpdom_autoglo into jpdom_data in all iom_gets calls dedicated to read restart files.
overwrite nimpp and njmpp parameters is not safe.

comment:2 Changed 4 years ago by nicolasmartin

  • Keywords C1D added; key_c1d removed
Note: See TracTickets for help on using tickets.