Opened 3 weeks ago

Last modified 3 weeks ago

#2657 new Defect

groups in field_def.xml

Reported by: clem Owned by:
Priority: low Milestone:
Component: IOM Version: 4.0-HEAD
Severity: minor Keywords:
Cc: Branch review:
MP ready?: Task progress:

Description

Context

Creating a group of variables in field_def.xml when variables are not of the same type is problematic.
I just did it for outputing conservation diagnostics (the one called OCE_BUDGET in field_def_oce.xml). When this group is called in file_def_oce.xml (instead of calling each variable), then the last output (in time) is not written properly in the netcdf file (NaN values).

Analysis

I think it occurs when mixing up SBC variables (nn_fsbc/=1) with other variables in the same group, though I do not understand why calling a group is different from calling each variable directly in the file_def.xml.
Setting nn_fsbc=1 resolves the issue but this is not a good solution.

In conclusion, one must be aware of that issue and this is why I opened a ticket.
I did not check for the trunk but I suppose this is the same thing

Recommendation

Ask Yann Meuredesoif…

Commit History (2)

ChangesetAuthorTimeChangeLog
14723clem2021-04-16T16:48:19+02:00

trunk: add a comment related to ticket #2657

14722clem2021-04-16T16:47:39+02:00

4.0-HEAD: add a comment related to ticket #2657

Change History (2)

comment:1 Changed 3 weeks ago by clem

In 14722:

4.0-HEAD: add a comment related to ticket #2657

comment:2 Changed 3 weeks ago by clem

In 14723:

trunk: add a comment related to ticket #2657

Note: See TracTickets for help on using tickets.