Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NetCDF files with relative paths are not handled correctly #12

Open
pnorton-usgs opened this issue Nov 27, 2019 · 0 comments
Open

NetCDF files with relative paths are not handled correctly #12

pnorton-usgs opened this issue Nov 27, 2019 · 0 comments
Assignees
Labels
PRMS6 Issues related to PRMS version 6 development

Comments

@pnorton-usgs
Copy link

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.

@pnorton-usgs pnorton-usgs added the PRMS6 Issues related to PRMS version 6 development label Nov 27, 2019
@pnorton-usgs pnorton-usgs self-assigned this Nov 27, 2019
pnorton-usgs added a commit that referenced this issue Nov 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PRMS6 Issues related to PRMS version 6 development
Projects
None yet
Development

No branches or pull requests

1 participant