BigDataWUR / AgML-CY-Bench

CY-Bench (Crop Yield Benchmark) is a comprehensive dataset and benchmark to forecast crop yields at subnational level. CY-Bench standardizes selection, processing and spatio-temporal harmonization of public subnational yield statistics with relevant predictors. Contributors include agronomers, climate scientists and machine learning researchers.
https://cybench.agml.org/
Other
18 stars 8 forks source link

BR shapefiles don't have CRS #343

Open krsnapaudel opened 2 months ago

krsnapaudel commented 2 months ago

Need to make a special case for BR.

@Raed-Hamed, @mzachow: How do we address this? The following line raises an error: CRS is not defined.

sel_shapes = sel_shapes.to_crs(4326)

...
ValueError: Cannot transform naive geometries.  Please set a crs on the object first.
krsnapaudel commented 2 months ago

The fix from #346 skips updating CRS for BR shapes. It's probably better to include CRS in shapefiles.