-
Hi again @snowman2 I managed to pull together some data to help recreate this issue: I've been able to determine that it's only some of the data that are causing this issue. I've tried
The data plot and seem otherwise ok. I'm open to trying other things i'm just not sure what to try next!
The error:
just in case - my environment
Thank you for any suggestions! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
From what I can tell, you have run into this issue: rasterio/rasterio#2072 trails.activity_i.dtype Output:
After doing this: trails["activity_i"] = trails.activity_i.astype("float64") The process succeeded. |
Beta Was this translation helpful? Give feedback.
-
@snowman2 oh wow -- it was the |
Beta Was this translation helpful? Give feedback.
-
Yes, I just ran into something like this by the looks. |
Beta Was this translation helpful? Give feedback.
-
Hello @lwasser, This may not be directly related to this very old issue but I stumbled upon it and just wanted to add a solution for changing the dtype of a rasterio dataset. Maybe it is useful for someone else finding this issue :)
Adapted from https://gis.stackexchange.com/questions/433411/changing-band-datatype-to-uint64-using-rasterio |
Beta Was this translation helpful? Give feedback.
From what I can tell, you have run into this issue: rasterio/rasterio#2072
Output:
After doing this:
The process succeeded.