#777 closed Defect (fixed)
backward compatibility with deepest level
Reported by: | rblod | Owned by: | nemo |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | OCE | Version: | v3.3 |
Severity: | Keywords: | DOM | |
Cc: |
Description
It's not reaaly a bug, but I'm afraid changeset 2379 in domzgr broke backward compatibility when forcing the v3.3 with open boundary conditions from a previous release. Since the last level has been redefined, It's no more in phase which the one seen by the OBC, and it's quiet tricky to identify. I'm also afraid this leads to potential problem when using restart from previous release, but i didn't experiment this last issue. I'm not sure what do to exactly, a warning at least should be put.
Commit History (3)
Changeset | Author | Time | ChangeLog |
---|---|---|---|
2516 | gm | 2010-12-23T17:10:12+01:00 | v3.3beta: #777 and #781 backward compatibility with deepest level + missing the updated domain.F90 |
2493 | gm | 2010-12-20T14:47:12+01:00 | v3.3beta: #777 backward compatibility with the setting of the minimum ocean depth: set mbathy to 0 over lands |
2482 | gm | 2010-12-18T09:43:49+01:00 | v3.3beta: #777 backward compatibility with the setting of the minimum ocean depth: add a namelist param |
Change History (3)
comment:1 Changed 13 years ago by gm
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 13 years ago by gm
Error reported by Marcello (see #781) . I forgot to commit the modified domain.F90 routine....
correction done, see changeset:2516
comment:3 Changed 7 years ago by nicolasmartin
- Keywords DOM added; domzgr removed
It is a true problem.
The backward compatibility is broken causing trouble when using restart or OBC obtained from previous releases.
The chosen solution is to add a new namelist parameter in numdom (rn_hmin) used as follows:
The default value of rn_hmin is set to -3._wp which allows to recover the bathy as defined in previous release. In ORCA_R1 namelist, rn_hmin = 25._wp generates the expected bathymetry.
This parameter is used directly in zgr_bat, so that it modifies the bathy array for all the coordinate system (zco, zps & sco).
In addition, 2 almost useless arrays (hdept , hdepw) have been removed (only used in domwri) (modules involved in this change: OPA: dom_oce, domzgr and domwri OFF: domrea
Gurvan
Done see changeset:2482