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.
#1113 (possible out-of-bound if the first W-level is below 10m) – NEMO

Opened 11 years ago

Closed 7 years ago

#1113 closed Bug (wontfix)

possible out-of-bound if the first W-level is below 10m

Reported by: avidard Owned by: gm
Priority: low Milestone:
Component: OCE Version: trunk
Severity: Keywords:
Cc:

Description

in domzgr.F90

in the computation of the deepest/shallowest W level Above/Below? ~10m (line 290) one can find

nla10 = nlb10 - 1

if there is no level above 10m (as in SEABASS) nlb10=1 and then nla10=0, since this is used as array boundary somewhere else it can cause an out-of-bound

not sure what the corrected code should be

nla10 = MAX(nlb10 - 1,1) ?

Commit History (0)

(No commits)

Change History (2)

comment:1 Changed 11 years ago by clevy

  • Owner changed from NEMO team to gm

comment:2 Changed 7 years ago by clevy

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