Automated Workflow for Analysis Ready Data from Satellite imagery
Project description
AWARDS
Automated Workflow for Analysis Ready Data from Satellite imagery
Logo created using Google Gemini
About
Automatic Workflow for Analysis Ready Data from Satellite imagery (AWARDS) to process a large amount of satellite data with high efficiency. It has been developing to support wall-to-wall satellite data processing and analysis ready data (ARD) generation.
License
This repository is licensed under the GNU General Public License v3.0. This means you are free to use, modify, and distribute the code, provided that:
- You include the original copyright notice and a copy of the license.
- You disclose the source code of your modifications.
- Any derivative works or larger projects incorporating this code are also licensed under GPL-3.0 (the "copyleft" requirement).
See the LICENSE file for full details.
Supported data resource
Installation
# install via pip
# 1. create conda environment
conda create -n my_env -c conda-forge python=3.10 gdal rios rasterio geopandas fiona shapely pyproj mpi4py
# 2. activate
conda activate my_env
# 3. isntall
pip install awards
# 4. verify
python -c "import awards; print(awards.__version__)"
Development
Conda environment setup
# create the conda environment from yml configuration
# modify the $name in env.yml if needed
conda env create -f env.yml --name awards
Install Fmask modules
- The following modules to generate cloud masks from Fmask algorithms (Zhu et al., 2015) excluded from 'env.yml' file, and should be installed from source
Clone these two repositories then run the following scripts to install the modules.
# 1. activate the conda environment
conda activate awards
# 1. install py-fmask-ext
# after cloning the repository, enter the directory and run the following installation:
python ./setup.py build && python ./setup.py install
# 2. install py-fmask-l2a
# after cloning the repository, enter the directory and run the following installation:
python ./setup.py build && python ./setup.py install
Install AWARDS in editable mode
pip install -e .
Register the python kernel
python -m ipykernel install --user --name awards --display-name "awards"
# when run the jupyter notebook tutorials, select the "awards" as the python kernel
Run a test
# when run the jupyter notebook tutorials, select the "awards" as the python kernel
# if the following works, then the awards module is installed correctly
import logging
from awards.common import yml_logging
yml_logging.setup_logging()
logger = logging.getLogger(__name__)
logger.info("test...")
Tutorials
Sample data
Sample data can be downloaded fron Zenodo:
- Sentinel-2 ARD and 10-m crop classification: AWARDS Sentinel-2 Analysis Ready Data (ARD) Sample Dataset V1
- HLS ARD: AWARDS Harmonized Landsat Sentinel-2 (HLS) Analysis Ready Data (ARD) Sample Dataset V1
Sentinel-2 ARD generation
- Jupyter notebooks:
jupyter/s2 - Python scripts:
script/s2 - Bash examples to run the python scripts:
bash/s2
HLS ARD generation
- Jupyter notebooks:
jupyter/hls - Python scripts:
script/hls - Bash examples to run the python scripts:
bash/hls
Crop classification using Sentinel-2 ARD and machine learning
- Jupyter notebooks:
jupyter/crop_classification - Python scripts:
script/crop_classification - Bash examples to run the python scripts:
bash/crop_classification
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file awards-1.0.4.tar.gz.
File metadata
- Download URL: awards-1.0.4.tar.gz
- Upload date:
- Size: 226.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54675a747d614aae7a7de2858bf3de909f5e451111ba261fcd4a776d9abf65f4
|
|
| MD5 |
e6c2ae2d053f2f02888577531d7786db
|
|
| BLAKE2b-256 |
658eb2a947ba956ab8573b783b23b8ab40c551e025a4d16f8f84a3dc861c5974
|
Provenance
The following attestation bundles were made for awards-1.0.4.tar.gz:
Publisher:
publish.yml on haijunli0629/awards
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
awards-1.0.4.tar.gz -
Subject digest:
54675a747d614aae7a7de2858bf3de909f5e451111ba261fcd4a776d9abf65f4 - Sigstore transparency entry: 1421584561
- Sigstore integration time:
-
Permalink:
haijunli0629/awards@61f2c3d222c25e42b22b1f37349e9a1b20a78c7e -
Branch / Tag:
refs/tags/v1.0.4 - Owner: https://github.com/haijunli0629
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@61f2c3d222c25e42b22b1f37349e9a1b20a78c7e -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file awards-1.0.4-py3-none-any.whl.
File metadata
- Download URL: awards-1.0.4-py3-none-any.whl
- Upload date:
- Size: 384.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0bdefbf945f852ce68ab2e8975d8fc8f4918abf10cb18d56cef88e3034c81d3e
|
|
| MD5 |
2a31078a251a8fb4f5f7eecc7f846aee
|
|
| BLAKE2b-256 |
132b616d563551de9de640e6c5c4cfc1858647d5b13c9ec4e8dae7784ef42217
|
Provenance
The following attestation bundles were made for awards-1.0.4-py3-none-any.whl:
Publisher:
publish.yml on haijunli0629/awards
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
awards-1.0.4-py3-none-any.whl -
Subject digest:
0bdefbf945f852ce68ab2e8975d8fc8f4918abf10cb18d56cef88e3034c81d3e - Sigstore transparency entry: 1421584654
- Sigstore integration time:
-
Permalink:
haijunli0629/awards@61f2c3d222c25e42b22b1f37349e9a1b20a78c7e -
Branch / Tag:
refs/tags/v1.0.4 - Owner: https://github.com/haijunli0629
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@61f2c3d222c25e42b22b1f37349e9a1b20a78c7e -
Trigger Event:
workflow_dispatch
-
Statement type: