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

Add Landsat 1-5 (MSS and TM) and 7 (ETM) Item creation #13

Merged
merged 47 commits into from
Mar 22, 2022

Conversation

pjhartzell
Copy link
Contributor

Adds functions (all in usgs_stac.py) to create new STAC Items from one or more USGS stac_version: 1.0.0 Items.

  • Uses same input as current landsat-8 method (a single *_MTL.xml file href)
  • Tested on an MSS (Landsat 1-5, Collection 2, Level-1) xml
  • Tested on a TM (Landsat 4-5, Collection 2, Level-2) xml
  • Note the tests currently create the example MSS and TM STAC items

@pjhartzell pjhartzell requested a review from gadomski February 18, 2022 22:11
tests/test_usgs_stac.py Outdated Show resolved Hide resolved
tests/test_usgs_stac.py Outdated Show resolved Hide resolved
@pjhartzell pjhartzell changed the title Feature/landsat4 5 Add Landsat 1-5 (MSS and TM) and 7 (ETM) Item creation Feb 27, 2022
@pjhartzell pjhartzell requested a review from gadomski February 28, 2022 14:51
src/stactools/landsat/stac.py Outdated Show resolved Hide resolved
src/stactools/landsat/stac.py Outdated Show resolved Hide resolved
src/stactools/landsat/stac.py Outdated Show resolved Hide resolved
src/stactools/landsat/stac.py Outdated Show resolved Hide resolved
src/stactools/landsat/stac.py Outdated Show resolved Hide resolved
@pjhartzell pjhartzell force-pushed the feature/landsat4-5 branch from 515315f to 3509796 Compare March 3, 2022 20:43
@pjhartzell pjhartzell requested a review from gadomski March 7, 2022 14:19
- switch legacy_l8 command option to a flag, which changes the command default for using the legacy l8 method to to False
- remove "deprecated" terminology
- grammar edit
- allows the hrefs to then be made relative
@pjhartzell pjhartzell requested a review from gadomski March 8, 2022 13:33
- update ipynb
- remove the legacy l8 item directory from examples directory
- update command function documentation
@pjhartzell pjhartzell requested a review from gadomski March 21, 2022 20:18
@pjhartzell pjhartzell marked this pull request as ready for review March 21, 2022 20:34
.gitignore Outdated Show resolved Hide resolved
@pjhartzell pjhartzell merged commit 5cfff89 into stactools-packages:main Mar 22, 2022
@pjhartzell pjhartzell deleted the feature/landsat4-5 branch March 22, 2022 18:03
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