#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: | v3.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)
Changeset | Author | Time | ChangeLog |
---|---|---|---|
1196 | ctlod | 2008-09-19T09:07:00+02:00 | change jpdom_local into jpdom_autoglo in the iom_get call sequence, see ticket: #245 |
Attachments (2)
Change History (4)
Changed 16 years ago by nemo_user
Changed 16 years ago by nemo_user
Enhanced domcfg.F90 to correctly handle inputs for a 1d configuration
comment:1 in reply to: ↑ description Changed 16 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 8 years ago by nicolasmartin
- Keywords C1D added; key_c1d removed
Corrected sbcssm.F90