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.
#2145 (cn_cfg variable : problem with capital letters) – NEMO

Opened 6 years ago

Closed 6 years ago

Last modified 2 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: PISCES top v4.0
Cc:

Description

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

comment:1 Changed 6 years ago by aumont

  • Resolution set to fixed
  • Status changed from new to closed

comment:2 Changed 2 years ago by nemo

  • Keywords v4.0 added; removed
Note: See TracTickets for help on using tickets.