Skip to content

nm_runoff_file placeholder '<add path>' causes misleading error referencing PHC climatology path #853

@JanStreffing

Description

@JanStreffing

When nm_runoff_file is left at its default placeholder '<add path>' in namelist.forcing, the model fails with:

ERROR: file not found: /pool/data/AWICM/FESOM2/INITIAL/phc3.0/<add path>1958.nc

Confusingly the PHC3.0 climatology path appears because make_full_path() in gen_surface_forcing.F90 prepends ClimateDataPath to any relative path. Since '<add path>' doesn't start with /, it gets treated as relative and prepended with the T/S climatology directory — which has nothing to do with runoff.

Metadata

Metadata

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