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 subpackage for processing ASTER L1T data #16

Merged
merged 6 commits into from
Nov 25, 2020
Merged

Conversation

lossyrob
Copy link
Member

Added subpackage for processing ASTER L1T data. This adds a command to create a STAC item from the metadata in the HDF-EOS file, and a method to export 3 COGs for each of the sensors of the HDF file.

This PR also refactors the development environment to be more docker based. Reading HDF-EOS (HDF4) files in rasterio requires a non-standard rasterio install. The new dockerized environment sets up the dependencies such that rasterio works against HDF-EOS data, and we have a clear way to add new non-pip-installable dependencies in the future.

The addition of ASTER data processing will require a non-standard
install of rasterio. To enable a better encapsulation of the required
development enviornment, this commit moves to a more docker-based
setup, including using docker for CI.
@lossyrob lossyrob force-pushed the feature/aster branch 3 times, most recently from b04d4b6 to 9315a6f Compare November 20, 2020 00:41
@codecov-io
Copy link

codecov-io commented Nov 20, 2020

Codecov Report

Merging #16 (21ba8c3) into master (e10c84b) will increase coverage by 8.75%.
The diff coverage is 95.09%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #16      +/-   ##
==========================================
+ Coverage   63.07%   71.83%   +8.75%     
==========================================
  Files          28       35       +7     
  Lines         539      742     +203     
==========================================
+ Hits          340      533     +193     
- Misses        199      209      +10     
Impacted Files Coverage Δ
stactools_aster/stactools/aster/version.py 0.00% <0.00%> (ø)
stactools_aster/stactools/aster/commands.py 92.85% <92.85%> (ø)
stactools_aster/stactools/aster/utils.py 93.02% <93.02%> (ø)
stactools_aster/stactools/aster/cog.py 97.29% <97.29%> (ø)
stactools_aster/stactools/aster/stac.py 97.67% <97.67%> (ø)
stactools_aster/stactools/aster/__init__.py 100.00% <100.00%> (ø)
stactools_aster/stactools/aster/constants.py 100.00% <100.00%> (ø)
stactools_planet/stactools/planet/planet_item.py 100.00% <100.00%> (ø)
... and 5 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e10c84b...21ba8c3. Read the comment docs.

@lossyrob lossyrob force-pushed the feature/aster branch 7 times, most recently from 360f246 to 3858f62 Compare November 21, 2020 07:18
Also introduce the TestData class, which has a mechanism to download
external data so that datasets too big for the repository can be
hosted elsewhere and downloaded as needed during unit test running.
This commit adds an install script that installs all stactools
subpackages from source. Installing stactools from github with all the
subprojects isn't possible, so this allows other projects to clone
this repo and run this script in order to obtain unpublished stactools changes.
@lossyrob lossyrob merged commit d8269bf into master Nov 25, 2020
@lossyrob lossyrob deleted the feature/aster branch November 25, 2020 14:51
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