NGEET / fates

repository for the Functionally Assembled Terrestrial Ecosystem Simulator (FATES)
Other
105 stars 92 forks source link

FatesPFTIndexSwapper error #1134

Closed pollybuotte closed 11 months ago

pollybuotte commented 11 months ago

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 commented 11 months ago

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