Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • N Nemo
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 90
    • Issues 90
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 33
    • Merge requests 33
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • NEMO WorkspaceNEMO Workspace
  • Nemo
  • Issues
  • #254
Closed
Open
Issue created May 26, 2023 by Simon Mueller@smuellerDeveloper

Avoidance of undefined-variable use in OBS

Context

The ORCA2_ICE_OBS SETTE test of both NEMO main and branch_4.2 has failed when run in debug mode due to the use of an undefined variable.

Analysis

When ldnightav is .FALSE. in subroutine obs_surf_opt of module obs_oper, the undefined variable idayend is accessed during the evaluation of the condition in two IF constructs.

Fix

The affected IF constructs could be restructured into nested IF constructs that test ldnightav in the first instance.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking