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.4.tar.gz (226.4 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.4-py3-none-any.whl (384.0 kB view details)

Uploaded Python 3

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

Hashes for awards-1.0.4.tar.gz
Algorithm Hash digest
SHA256 54675a747d614aae7a7de2858bf3de909f5e451111ba261fcd4a776d9abf65f4
MD5 e6c2ae2d053f2f02888577531d7786db
BLAKE2b-256 658eb2a947ba956ab8573b783b23b8ab40c551e025a4d16f8f84a3dc861c5974

See more details on using hashes here.

Provenance

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

Hashes for awards-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0bdefbf945f852ce68ab2e8975d8fc8f4918abf10cb18d56cef88e3034c81d3e
MD5 2a31078a251a8fb4f5f7eecc7f846aee
BLAKE2b-256 132b616d563551de9de640e6c5c4cfc1858647d5b13c9ec4e8dae7784ef42217

See more details on using hashes here.

Provenance

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