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 intersection parameter, relay exceptions #30

Merged
merged 4 commits into from
Jul 13, 2023

Conversation

j9ac9k
Copy link
Collaborator

@j9ac9k j9ac9k commented Jul 6, 2023

Thanks @sambaldwin05 for the report and the suggested fix.

Copy link

@sambaldwin05 sambaldwin05 left a comment

Choose a reason for hiding this comment

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

Looks good!

@j9ac9k j9ac9k force-pushed the fix-intersection branch from 828f107 to 6d31640 Compare July 7, 2023 18:45
src/doppkit/grid.py Fixed Show fixed Hide fixed
@j9ac9k j9ac9k force-pushed the fix-intersection branch 2 times, most recently from a2a4aa4 to 7d9a46c Compare July 7, 2023 22:35
src/doppkit/sync.py Fixed Show fixed Hide fixed
* In the case of a GRiD error at the AOI export, raise a RuntimeError
* In the case of a GRiD error at the export endpoint, emit a UserWarning

In both cases, the contents of the error are relayed back to the user

This commit also makes some minor changes

* Fix a Python 3.9 type annotations syntax incompatibility
* Set the httpx logger level to 'warning'
* Set some of the doppkit logger levels to DEBUG from INFO to not
  spam the console so much
@j9ac9k j9ac9k force-pushed the fix-intersection branch from 7d9a46c to 88b25f4 Compare July 7, 2023 22:49
@j9ac9k j9ac9k force-pushed the fix-intersection branch from 88b25f4 to 49717e9 Compare July 7, 2023 22:53
src/doppkit/grid.py Fixed Show fixed Hide fixed
When fetching already made exports, there is no need to check for if the
exporters intersect with the AOI boundary.  That said, when creating the
exports we still want to split an export along the boundary of the
specified AOI.
@j9ac9k j9ac9k force-pushed the fix-intersection branch from 14c1fa1 to e8ef66b Compare July 13, 2023 16:51
@j9ac9k j9ac9k merged commit c1cb284 into hobuinc:main Jul 13, 2023
@j9ac9k j9ac9k deleted the fix-intersection branch July 13, 2023 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants