-
Notifications
You must be signed in to change notification settings - Fork 28
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
Add stactools.core.create.item #201
Conversation
In #196 (comment) @kylebarron brought my attention to If this PR is closed, 7d74398 should be pulled out to its own PR. |
I'll let @lossyrob speak from the API perspective, but from a CLI perspective I think it makes good sense to include a 'create-item' command in the If it simplifies the code I could see |
7d74398
to
f2dbcf9
Compare
This creates an item from a `rasterio` openable asset. The function tries to fill in as much data as possible from the `rasterio` dataset, but generally created items should be enhanced after creation with additional properties and STAC extensions. Also includes a drop-dead simple command line interface.
This fixes typing in Python 3.7
f2dbcf9
to
57376c6
Compare
This seems like a good approach to me. |
Related Issue(s): #179
Description: This creates an item from a
rasterio
openable asset. The function tries to fill in as much data as possible from therasterio
dataset, but generally created items should be enhanced after creation with additional properties and STAC extensions.Also includes a drop-dead simple command line interface.
PR checklist:
scripts/format
).scripts/lint
).scripts/test
).