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

FatesPFTIndexSwapper error #1134

Closed
pollybuotte opened this issue Dec 14, 2023 · 1 comment
Closed

FatesPFTIndexSwapper error #1134

pollybuotte opened this issue Dec 14, 2023 · 1 comment

Comments

@pollybuotte
Copy link

I just updated to cstm5.1.dev157 on Derecho. When running FatesPFTIndexSwapper.py on the default parameter file provided with that tag, I get this error:

Creating Variable: fates_alloc_organ_name
Traceback (most recent call last):
File "FatesPFTIndexSwapper.py", line 274, in
main(sys.argv)
File "FatesPFTIndexSwapper.py", line 196, in main
out_var[:] = in_var[:]
File "/python3.10/site-packages/scipy/io/_netcdf.py", line 1012, in setitem
self.data[index] = data
ValueError: could not convert string to float: b'l'

I can run the script successfully on an older parameter file (5.1.dev.088). Has anyone else had this error?

@pollybuotte
Copy link
Author

pollybuotte commented Dec 15, 2023

I found my problem. I am running locally and had not updated my version of the script. It works as expected. Sorry!

@github-project-automation github-project-automation bot moved this from ❕Todo to ✔ Done in FATES issue board Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

1 participant