Skip to content

debug mode exposed an error that exists in optimized mode  #596

@biljanaorescanin

Description

@biljanaorescanin

Testing of bcs package in debug mode for NLv3 with EASE grid M09 exposed an error:
GEOS-ESM/GEOSldas#552

Summarizing comments left on #576 here, so we can merge PR where comments were left:

GEOSgcm_GridComp/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/Utils/Raster/CombineRasters.F90

Lines 343 to 347 in 9c3baa1
When line 344 is executed, Pix1 = -999 which leads to crash. It is exposed by debug mode but exists in optimized mode ( just does not crash) .

We may have to examine why it checks table 2 of pix2 but use table 1 of pix1
from @gmao-rreichle
#576 (comment)
from @atrayano:
#576 (comment)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions