errors occurred when I run the cases_spatial file #203
ZekunYangCalvin
started this conversation in
General
Replies: 1 comment
-
There was a formatting issue with some of the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
copy_files.py | 2025-01-10 16:21:03 | INFO | Starting copy_files.py
copy_files.py | 2025-01-10 16:21:03 | INFO | Copying non-region-indexed files
copy_files.py | 2025-01-10 16:21:21 | INFO | Copying region-indexed files: filtering for valid regions
copy_files.py | 2025-01-10 16:21:39 | ERROR | Traceback (most recent call last):
copy_files.py | 2025-01-10 16:21:39 | ERROR | File "/Users/calvinyang/ReEDS-2.0/runs/try_NorthDakota_county/input_processing/copy_files.py", line 856, in
copy_files.py | 2025-01-10 16:21:39 | ERROR | f.create_dataset('columns', data=df.columns, dtype=f'S{df.columns.map(len).max()}')
copy_files.py | 2025-01-10 16:21:39 | ERROR | File "/opt/anaconda3/envs/reeds2/lib/python3.11/site-packages/h5py/_hl/group.py", line 183, in create_dataset
copy_files.py | 2025-01-10 16:21:39 | ERROR | dsid = dataset.make_new_dset(group, shape, dtype, data, name, **kwds)
copy_files.py | 2025-01-10 16:21:39 | ERROR | File "/opt/anaconda3/envs/reeds2/lib/python3.11/site-packages/h5py/_hl/dataset.py", line 46, in make_new_dset
copy_files.py | 2025-01-10 16:21:39 | ERROR | data = array_for_new_object(data, specified_dtype=dtype)
copy_files.py | 2025-01-10 16:21:39 | ERROR | File "/opt/anaconda3/envs/reeds2/lib/python3.11/site-packages/h5py/_hl/base.py", line 109, in array_for_new_object
copy_files.py | 2025-01-10 16:21:39 | ERROR | if is_float16_dtype(specified_dtype):
copy_files.py | 2025-01-10 16:21:39 | ERROR | File "/opt/anaconda3/envs/reeds2/lib/python3.11/site-packages/h5py/_hl/base.py", line 98, in is_float16_dtype
copy_files.py | 2025-01-10 16:21:39 | ERROR | dt = np.dtype(dt) # normalize strings -> np.dtype objects
copy_files.py | 2025-01-10 16:21:39 | ERROR | TypeError
copy_files.py | 2025-01-10 16:21:39 | ERROR | :
copy_files.py | 2025-01-10 16:21:39 | ERROR | data type 'Snan' not understood
try_NorthDakota_county has finished
this is the errors I found after I ran the defaulted cases_spatial file just want to do a small test but it failed. Really appreciate for your help!
Beta Was this translation helpful? Give feedback.
All reactions