Opened 3 years ago

Closed 3 years ago

#2145 closed Defect (fixed)

cn_cfg variable : problem with capital letters

Reported by: aumont Owned by: systeam
Priority: normal Milestone: 2018 release-4.0
Component: TOP Version: trunk
Severity: major Keywords: top, PISCES,
Cc: Branch review:
MP ready?: Task progress:


In several subroutines, the value of cn_cfg is being compared to several keywords corresponding to specific grid meshes such as orca, gyre, …
In the trunk version of the code, this string is being read in a netcdf file and is in capital letters whereas the strings that are hardcoded in NEMO are in small letters. This means that the test always results in a false answer.
A correction of the bug is to change "orca" into "ORCA" or to test for both "orca" or "ORCA".

Commit History (0)

(No commits)

Change History (1)

comment:1 Changed 3 years ago by aumont

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.