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.1.tar.gz (225.6 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.1-py3-none-any.whl (383.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: awards-1.0.1.tar.gz
  • Upload date:
  • Size: 225.6 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.1.tar.gz
Algorithm Hash digest
SHA256 c32772de3aa8d19522fd2dc571ce238aed39ffdb393d95bf2022144e97deaf8d
MD5 9d745d81343848de6f693742a2bf1ebb
BLAKE2b-256 ad1bc40af4d3834aa56472b2f9f14024a7be5f641adc585dcbf5c0f7a5c8e59d

See more details on using hashes here.

Provenance

The following attestation bundles were made for awards-1.0.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: awards-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 77820259e6c643bc44a017cc8eb8fc9e2b50ab8aa37cd46df8c942963c3088af
MD5 ce4cd54c3bb9b41620cfa798a2e384da
BLAKE2b-256 d2124e5d44d0c2b0985c658e4678fb6b337f0d5cf4cb602ee0afe015d3954e83

See more details on using hashes here.

Provenance

The following attestation bundles were made for awards-1.0.1-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