Opened 10 years ago
Closed 10 years ago
#1049 closed Bug (fixed)
Correct ei factors in traadv_eiv
Reported by: | smasson | Owned by: | nemo |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | OCE | Version: | v3.4 |
Severity: | Keywords: | ||
Cc: |
Description
Commit History (3)
Changeset | Author | Time | ChangeLog |
---|---|---|---|
3788 | gm | 2013-02-10T13:14:59+01:00 | dev_v3_4_STABLE_2012: #1049 & #1053 : bug corrections in traadv_eiv.F90 (AR5 diag) and in traadv_ubs.F90 (UBS scheme), resp. |
3787 | gm | 2013-02-10T13:06:34+01:00 | dev_MERGE_2012: #1049 & #1053 : bug corrections in traadv_eiv.F90 (AR5 diag) and in traadv_ubs.F90 (UBS scheme), resp. |
3786 | gm | 2013-02-10T12:57:04+01:00 | CMIP_IPSL branch: #1049 : bug correction (traadv_eiv.F90): diagnostic of the 2D i- & j-heat transports |
Change History (2)
comment:1 Changed 10 years ago by smasson
comment:2 Changed 10 years ago by gm
- Resolution set to fixed
- Status changed from new to closed
Thanks Sophie !
The bug concerns on-line diagnostics only. It has been introduced together with the AR5 diagnostics (key_diaar5). It has been corrected in diawri.F90 (both trunk and CMIP5_IPSL branch) as well as in traldf_iso_grif.F90. Unfortunately, the correction has been forgotten for traadv_eiv.F90. It concerns the v3.4.1 stable, the v3.5alpha and the CMIP5_IPSL branch.
change done :
see Changeset 3786 for branches/CMIP5_IPSL
see Changeset 3788 for branches/2012/dev_v3_4_STABLE_2012 (v3.4.1 stable)
see Changeset 3787 for branches/2012/dev_MERGE_2012 (v3.5 alpha)
Note that the later two change set also contain a bug fix on UBS scheme (see ticket #1053)
For the other potential issues (Sebastian comment) : I found no problem except in comments for UBS:
- in NST_SRC/agrif_opa_sponge.F90 : no error found as spe1ur and spe2vr are properly defined (=e2u/e1u, =e1v/e2v, resp.)
- in OPA_SRC/TRA/traadv_ubs.F90 : the error is the header of the routine (i.e. comments), not in the compuation
- in OPA_SRC/TRA/traldf_lap.F90 : OK same remark as for agrif_opa_sponge.F90 but here for e1ur(=e2u/e1u) and e2vr(=e1v/e2v) which are properly defined.
- in OPA_SRC/TRD/trdvor.F90 : no error. zun, zvn are used to compute the curl, so it is the contravariant velocity which is used (i.e. e1*u, e2*v) not the covariant one (i.e. e2*u, e1*v)
Gurvan
Simular syntaxe is also found in NST_SRC/agrif_opa_sponge.F90, OPA_SRC/TRA/traldf_lap.F90 and OPA_SRC/TRD/trdvor.F90...
A careful check is needed...