-
Notifications
You must be signed in to change notification settings - Fork 29
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 support for USGS 3DEP (formerly NED) items and collections #81
Conversation
Does it also work with the same data (I think) in the |
Yep, |
@gadomski and @kylebarron , just discovered this, thanks to @TomAugspurger ! |
@rsignell-usgs right on!
stac-vrt has some reccommended attributes which we are including. I'm not very familiar with stackstac so am less sure what STAC attributes are required/recommended there, and wasn't able to find a quick reference w/ that info. @gjoseph92 would you be able to provide guidance on any optional attributes to include in our STAC objects to best support stackstac? |
3DEP is the 3D Elevation Program from USGS. This commit provides support for creating items and collections for 3DEP data hosted at ftp://rockyftp.cr.usgs.gov/vdelivery/Datasets/Staged/Elevation.
You can still use a different base (e.g. `stactools.threedep.constants.USGS_FTP_BASE) when creating an item through the `base` argument.
This uses AWS and boto3 to fetch all ids for the given product.
To maintain architecture consistancy, this commit moves item creation logic from `Metadata.to_item` to `stac.create_item`. Well actually the logic really is in `stac.create_item_from_metadata`, because we basically moved the `to_item` code straight over, but now the basic api call `stactools.threedep.stac.create_item("metadata.xml")` will produce a stac Item, matching other subpackages.
@gadomski FYI there's some info on this buried in the documentation for the |
Previously, if items were created with `None` explicitly passed in for the base, they just didn't have a base at all, which is not really what you want. This fixes to use the DEFAULT_BASE.
Adds threedep:region to the item for creating subcatalogs.
This geopackage contains sub-tile information, such as the instrument used to collect subsets of the tile's data.
3DEP is the 3D Elevation Program from USGS. This commit provides support for creating items and collections for 3DEP data hosted at ftp://rockyftp.cr.usgs.gov/vdelivery/Datasets/Staged/Elevation.
Also includes two linty commits relating to a
cgls_lc100
dangling symlink and old version string.