thinkingmachines / geowrangler

🌏 A python package for wrangling geospatial datasets
https://geowrangler.thinkingmachin.es/
MIT License
49 stars 14 forks source link

area_zonal_stats computation error #150

Open tm-kah-alforja opened 2 years ago

tm-kah-alforja commented 2 years ago

Discussed in https://github.com/thinkingmachines/geowrangler/discussions/149

Originally posted by **tm-kah-alforja** August 31, 2022 [feedback from usability tester] Area_zonal_stats seem to output a different compared to when you try to compute the area proportions by hand- seems like this is already a known issue and related to the way the function deals with neighboring NaN tiles
butchtm commented 2 years ago

@tm-kah-alforja can I request for the tester to send a gist or a colab notebook demonstrating the issue? I'd like to investigate this further. TIA!

tm-jace-peralta commented 1 year ago

@butchtm here is a notebook to demo the issue

butchtm commented 1 year ago

hi @tm-jace-peralta - I'm trying to run the notebook in colab but I don't have access to the data file in google drive -- would it be possible to share the file idn_ppp_2020_UNadj_constrained_cibinong.geojson -- even better would be a link to the original source (if its a publically available)?

tm-jace-peralta commented 1 year ago

hello @butchtm the whole colab folder for this has view access to all of TM but added you as an owner, let me know if that fixes the access issue