Skip to main content

Vegetation fractional cover estimates via a TensorFlow-trained MLP model

Project description

PaddockTS

A Python toolkit for paddock-level remote sensing workflows. Features include querying data, calculating indices, fractional cover, segmentation, and visualising results as static maps and animations.

Package Overview

├── env.yml                             # Conda environment specification
├── pyproject.toml                      # Package metadata & dependencies
│
├── PaddockTS/                          # Core library modules
│   ├── Data/                           # Data acquisition utilities (download, environmental)
│   │   ├── download_ds2.py               # Download Sentinel 2 data
│   │   └── environmental.py              # Download Environment Data(Silo, etc)
│   │
│   ├── IndicesAndVegFrac/              # Index and fractional cover calculations
│   │   ├── indices.py                    # Calculate Indices            
│   │   ├── veg_frac.py                   # Add fractional cover score per pixel using a pretrained model
│   │   ├── add_indices_and_veg_frac.py   # Run the above 2 steps
│   │   └── utils.py
│   │ 
│   ├── PaddockSegmentation/            # Paddock boundary segmentation routines
│   │   ├── _1_presegment.py              # Calculate NDWI Time Series and convert to a fourier image
│   │   ├── _2_segment.py                 # Take the fourier image and segment to get paddocks(maks or polygons).
│   │   ├── segment_paddocks.py           # Run the above 2 steps
│   │   └── utils.py                      # Some utilities for paddock_ts
│   │
│   ├── PaddockTS                       # Generate Paddock Time Series Data
│   │    ├──get_paddock_ts.py              # Generate PaddockTime Series Data
│   │
│   ├── Plotting/                         # Static plotting functions
│   │   ├── plotting_functions.py       # Plotting
│   │   ├── checkpoint_plots.py           # Checkpoint Plots
│   │   └── topographic_plots.py          # Topographic Plots
│   │ 
│   ├── filter.py           # STAC‐API filter builder
│   ├── legend.py           # File paths & configuration management
│   ├── query.py            # Query class to define area of interest
│   ├── get_outputs.py      # Wrapper to get all outputs from a given query
│   └── __init__.py
├── dist/                   # Built distributions
└── README.md               # This documentation

Installation

Using Conda (recommended)

conda env create -f env.yml

conda activate PaddockTSEnv

Configuration

By default, legend.get_config() writes a JSON at ~/.configs/PaddockTSLocal.json with paths:

  • out_dir: where outputs are saved
  • tmp_dir: where intermediate files (DS2I, shapefiles) are stored
  • scratch_dir: scratch workspace

Adjust these after first run or via environment variables.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

paddockts-0.2.0-py3-none-any.whl (35.6 kB view details)

Uploaded Python 3

File details

Details for the file paddockts-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: paddockts-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 35.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.14

File hashes

Hashes for paddockts-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dac6bfcfd1e43660c0fa53af390a16ed4855862a99523848008bded46b482de0
MD5 dc18d8e2817835fa71eda527bf1a66ae
BLAKE2b-256 cb03a9ff177042c85d34f415f9467cf5c1ebe781d7b3dc2d9ef8c743b717e304

See more details on using hashes here.

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