Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix hydrofabric unique id generation #477

Closed
wants to merge 1 commit into from

Conversation

robertbartel
Copy link
Contributor

Fixing to ensure deterministic ordering of layers when building hash. Should address #468.

Fixing to ensure deterministic ordering of layers.  Should address NOAA-OWP#468.
@robertbartel robertbartel added bug Something isn't working maas MaaS Workstream labels Jan 22, 2024
Copy link
Member

@aaraney aaraney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this, @robertbartel! This does not fully resolve the issue in #468, but is a step in the right direction.

@robertbartel robertbartel marked this pull request as draft January 22, 2024 21:14
@robertbartel
Copy link
Contributor Author

I did forget to actually fix the tests, and in fixing them I realized I had reversed things in my manual test of this fix on a second machine. I.e., this by itself isn't giving consistent hashes across machines. I'll leave as draft for now in case an additional adjustment ends up making this useful.

@aaraney
Copy link
Member

aaraney commented Jan 22, 2024

I just posted a few potential solutions to the issue in #468 if you want to have a look. In short, either pin fiona>=1.9.5 or bring in the pyogrio library and use it as geopandas's engine.

@aaraney
Copy link
Member

aaraney commented Jan 22, 2024

If all is well in #478, we can close this in favor.

@robertbartel robertbartel deleted the fix_hf_uid branch January 23, 2024 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working maas MaaS Workstream
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants