Closed rswamina closed 2 years ago
Thanks for the report, @rswamina. @stefsmeets, could you have a look? (@bouweandela, I have in the back of my head that @stefsmeets is currently not in a position to work on this. If that is true, could you comment here so that we can find someone to look at it?)
Indeed, @stefsmeets is currently working on other projects. I can have a look.
Is there any documentation available on this shapefile?
It looks like the current code does not support regions that are stored as a MultiPolygon. I'll make a pull request to fix it.
Is there any documentation available on this shapefile?
@bouweandela , Sorry, I meant to include the link. Here it is IPCC AR6 shape file
Thanks, I opened a pull request. Could you try it and see if it fixes the issue?
@bouweandela , Yes, I can try it out. I am not able to checkout the branch fix-extract-shape-bounds-multipolygon though. I tried
git checkout fix-extract-shape-bounds-multipolygon
and I get a message saying
error: pathspec 'fix-extract-shape-bounds-multipolygon' did not match any file(s) known to git
Is this an access issue or am I doing something wrong?
Maybe the branch is not available on your computer yet. Could you try downloading the latest changes from GitHub first?
git fetch origin
I have reviewed and approved the PR.
I am reporting an error I get when I try to extract a specific region using the IPCC AR6 region shapefile. I am copying the recipe used and an excerpt from the error message below. From what I understand the error occurs in file _area.py in the _get_bounds function where it seems like there are more than two coordinates in the geometries extracted through the
fiona
package. I am not certain how to query the names of the coordinates so could not go further. Can someone help with this?Here is a part of the error message :