Skip to content

floating invalid in for_harv.for #545

@chporter

Description

@chporter

I got a floating invalid error when running SPPI0101.GGX, only in Release compiled version for my SoilC_dynamics branch. Debug compiled version ran OK. Other versions of the model seem OK, too. But this may recur in the future if we don't trap it.

I trapped the error with this commit: chporter@7380648

Near line 409 of my revised version, the value of RSHT(i) had a value of NaN.

I put a few more error traps in the code before I found the one that caused the problem.

I didn't do a pull request because we aren't ready to pull this whole branch in, but as far as I know, the error only occurs with this branch.

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions