New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
#2657 (groups in field_def.xml) – NEMO

Opened 15 months ago

Last modified 6 months ago

#2657 assigned Defect

groups in field_def.xml

Reported by: clem Owned by: systeam
Priority: low Milestone:
Component: IOM Version: v4.0.*
Severity: minor Keywords:
Cc:

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 (3)

comment:1 Changed 15 months ago by clem

In 14722:

Error: Failed to load processor CommitTicketReference
No macro or processor named 'CommitTicketReference' found

comment:2 Changed 15 months ago by clem

In 14723:

Error: Failed to load processor CommitTicketReference
No macro or processor named 'CommitTicketReference' found

comment:3 Changed 6 months ago by nemo

  • Owner set to systeam
  • Status changed from new to assigned
Note: See TracTickets for help on using tickets.