-
Notifications
You must be signed in to change notification settings - Fork 1
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
misc enhancements: CRS, path separators #45
Conversation
@@ -27,6 +29,46 @@ | |||
DT_FMT = '%Y-%m-%d %H:%M:%S' | |||
|
|||
|
|||
# TODO: In the future we can remove these exception managers in favor of the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also would have used the ones we have in pygeoprocessing
directly, but I needed to enable the osr.UseExceptions()
specifically.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Neat! I wasn't aware that we would need to do this for OSR specifically.
@@ -530,7 +540,7 @@ def test_describe_remote_datasource(self): | |||
"""Test describe on a file at a public url.""" | |||
import geometamaker | |||
|
|||
filepath = 'https://storage.googleapis.com/natcap-data-cache/global/aster-v3-1s/aster-v3-1s.tif' | |||
filepath = 'https://storage.googleapis.com/releases.naturalcapitalproject.org/invest/3.14.2/data/CoastalBlueCarbon.zip' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a smaller dataset; the test runs much faster. And maybe it's even more permanent too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! Thanks @davemfish !
/
. Fixes Sanitize path separators to/
? #35SpatialSchema
andBoundingBox
immutable.pint
string representations from invest are unicodeProfile
to top-level exports