#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)
Changeset | Author | Time | ChangeLog |
---|---|---|---|
9182 | jpalmier | 2018-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 14 years ago by cetlod
- Resolution set to fixed
- Status changed from new to closed
In 9182: