Skip to main content

Automated Workflow for Analysis Ready Data from Satellite imagery

Project description

License: GPL v3

AWARDS

Automated Workflow for Analysis Ready Data from Satellite imagery

Logo

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 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

awards-1.0.2.tar.gz (225.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

awards-1.0.2-py3-none-any.whl (383.3 kB view details)

Uploaded Python 3

File details

Details for the file awards-1.0.2.tar.gz.

File metadata

  • Download URL: awards-1.0.2.tar.gz
  • Upload date:
  • Size: 225.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for awards-1.0.2.tar.gz
Algorithm Hash digest
SHA256 85de54bf95b9892385f59ac1acc04eab4dccb7d044b1e0d5521d7610e1e5cfec
MD5 e23144c9df3286c076770f85a1808014
BLAKE2b-256 22c78e635546bebcbf12da87701a29335d2470e430354dadc31fd1e91368082f

See more details on using hashes here.

Provenance

The following attestation bundles were made for awards-1.0.2.tar.gz:

Publisher: publish.yml on haijunli0629/awards

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file awards-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: awards-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 383.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for awards-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a3fcc591c58741d5fbb805800bb5096d2a8696ba01eea34991414336e74f5361
MD5 31164edeb351adf2d58c478d5e8a141e
BLAKE2b-256 4a987d14fed6334294b7c45d8fa95922ae06cbec13292ece045f547dae89e2b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for awards-1.0.2-py3-none-any.whl:

Publisher: publish.yml on haijunli0629/awards

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page