Skip to content

NetCDF files with relative paths are not handled correctly #12

@pnorton-usgs

Description

@pnorton-usgs

Below is the issue originally reported by @rmcd-mscb

I think I may have found a possible bug in prms6. I'm bringing it up because I think at some point in your testing you'll encounter it. It occurs when you have relative paths to files in the control file such as ./pipestem/daymet.nc.
I had to change the code where it reads the nc file as such. you can see my hacked change here rmcd-mscb@731ba56 and the commit before this one. Basically, I changed the code to look for the last ".". You probably have a more elegant way to do this. This is just an FYI.

Metadata

Metadata

Assignees

Labels

PRMS6Issues related to PRMS version 6 development

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions