-
hi there @snowman2 and all! Im encountering a few odd results that are likely user error.
my code is below:
many thanks in advance!! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Welcome! The main issue is that the columns you specified are not numeric. Non-numeric columns cannot be rasterized and are skipped. If you would like to rasterize them, I would recommend looking at the categorical data example or to convert the data into a numeric format using a different method that makes sense for your data. |
Beta Was this translation helpful? Give feedback.
-
great - thank you!! this absolutely makes sense @snowman2 thank you. and 👋 !! I can convert to numeric no problem in this case. I have one dataset rasterized using a numeric column - yay! Now i'm having an issue with a second layer that is one I created by downloading data in JSON format through an api. When i run make_geocube
This is odd because looking at the data it seems like they are ok - all numeric and likely floating points (lat / lon coordinates) in wgs84 CRS. I tested for empty or NA geometry and that is not the issue. the data also plot just fine. Can you think of anything else I could check to get to the bottom of this error? Many thanks!! |
Beta Was this translation helpful? Give feedback.
Welcome!
The main issue is that the columns you specified are not numeric. Non-numeric columns cannot be rasterized and are skipped. If you would like to rasterize them, I would recommend looking at the categorical data example or to convert the data into a numeric format using a different method that makes sense for your data.