https://github.com/asfhyp3/hyp3-gather-landsat
Plugin to get landsat scenes from an input location
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.5%) to scientific vocabulary
Repository
Plugin to get landsat scenes from an input location
Basic Info
- Host: GitHub
- Owner: ASFHyP3
- License: bsd-3-clause
- Language: Python
- Default Branch: develop
- Size: 71.3 KB
Statistics
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 2
- Releases: 1
Metadata Files
README.md
HyP3 gather-landsat
Plugin to get landsat scenes from an input location
Usage
The hyp3_gather_landsat command line tool can be run using the following structure:
bash
python -m hyp3_gather_landsat \
--start-date 2025-05-01 \
--end-date 2025-05-07 \
--location -163.97 54.756
Where:
--start-dateis the start date of the images in the format (YYYY-MM-DD)--end-dateis the end date of the images in the format (YYYY-MM-DD)--locationis the longitude and latitude coordinates for the location point in the formatlon lat
[!IMPORTANT] Credentials are necessary to access Landsat data. See the Credentials section for more information.
Credentials
Generally, credentials are provided via environment variables, but some may be provided by command-line arguments or via a .netrc file.
AWS Credentials
You must provide AWS credentials because the data is hosted by USGS in a "requester pays" bucket. To provide AWS credentials, you can either use an AWS profile specified in your ~/.aws/credentials by exporting:
export AWS_PROFILE=your-profile
or by exporting credential environment variables:
export AWS_ACCESS_KEY_ID=your-id
export AWS_SECRET_ACCESS_KEY=your-key
export AWS_SESSION_TOKEN=your-token # optional; for when using temporary credentials
For more information, please see: https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html
Developer Setup
- Ensure that conda is installed on your system (we recommend using mambaforge to reduce setup times).
- Download a local version of the
hyp3-gather-landsatrepository (git clone https://github.com/ASFHyP3/hyp3-gather-landsat.git) - In the base directory for this project call
mamba env create -f environment.ymlto create your Python environment, then activate it (mamba activate hyp3-gather-landsat) - Finally, install a development version of the package (
python -m pip install -e .)
To run all commands in sequence use:
bash
git clone https://github.com/ASFHyP3/hyp3-gather-landsat.git
cd hyp3-gather-landsat
mamba env create -f environment.yml
mamba activate hyp3-gather-landsat
python -m pip install -e .
Contributing
Contributions to the HyP3 gather-landsat plugin are welcome! If you would like to contribute, please submit a pull request on the GitHub repository.
Contact Us
Want to talk about HyP3 gather-landsat? We would love to hear from you!
Found a bug? Want to request a feature? open an issue
Owner
- Name: HyP3
- Login: ASFHyP3
- Kind: organization
- Location: Fairbanks, AK
- Website: https://hyp3-docs.asf.alaska.edu/
- Twitter: ASFHyP3
- Repositories: 36
- Profile: https://github.com/ASFHyP3
Alaska Satellite Facility's Hybrid Pluggable Processing Pipeline
GitHub Events
Total
- Release event: 1
- Delete event: 12
- Issue comment event: 3
- Push event: 23
- Pull request review event: 17
- Pull request event: 41
- Fork event: 1
- Create event: 20
Last Year
- Release event: 1
- Delete event: 12
- Issue comment event: 3
- Push event: 23
- Pull request review event: 17
- Pull request event: 41
- Fork event: 1
- Create event: 20
Issues and Pull Requests
Last synced: 12 months ago
All Time
- Total issues: 0
- Total pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: 8 days
- Total issue authors: 0
- Total pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 1
Past Year
- Issues: 0
- Pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: 8 days
- Issue authors: 0
- Pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 1
Top Authors
Issue Authors
- mfangaritav (1)
Pull Request Authors
- mfangaritav (17)
- dependabot[bot] (8)
- jtherrmann (2)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- condaforge/mambaforge latest build
- hyp3lib >=3,<4
- mypy ==1.16.0
- ruff ==0.11.12