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.
#475 (Bug in the calculation of bathymetry ( OFFLINE code )) – NEMO

Opened 15 years ago

Closed 15 years ago

Last modified 6 years ago

#475 closed Bug (fixed)

Bug in the calculation of bathymetry ( OFFLINE code )

Reported by: cetlod Owned by: nemo
Priority: low Milestone:
Component: OFF Version: trunk
Severity: Keywords:
Cc:

Description

As it is defined in the online part of the system, mbathy is the number of non-zero "w" levels in the water, and the minimum value (on land) is 2.

In the OFFLINE part, we define mbathy like this
CALL iom_get( inum4, jpdom_data, 'mbathy', zprt )
DO jj = 1, jpj

DO ji = 1, jpi

mbathy(ji,jj) = zprt(ji,jj) * tmask(ji,jj,1) + 1

ENDDO

ENDDO
and the minimum value (on land) is 1.

The right way to calculate mbathy must be :

DO jj = 1, jpj

DO ji = 1, jpi

mbathy(ji,jj) = MAX( zprt(ji,jj) * tmask(ji,jj,1), 1 ) + 1

ENDDO

ENDDO

Thank to Anne-Marie Tréguier

Commit History (1)

ChangesetAuthorTimeChangeLog
9182jpalmier2018-01-04T17:24:35+01:00

JPALM - UKESM #475 -- merge with dev_r5518_GO6_Carb_Fail_from_GO6_8356 rev 9070-9133

Change History (2)

comment:1 Changed 15 years ago by cetlod

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

comment:2 Changed 6 years ago by jpalmier

In 9182:

Error: Failed to load processor CommitTicketReference
No macro or processor named 'CommitTicketReference' found
Note: See TracTickets for help on using tickets.