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
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 paddockts-0.5.0-py3-none-any.whl.
File metadata
- Download URL: paddockts-0.5.0-py3-none-any.whl
- Upload date:
- Size: 35.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8532dbe4cea637bd572ab0b63c798987393fd4437fd5dfeede1b97de70de7120
|
|
| MD5 |
7891a84c08d6b376fe6cd9e811346af3
|
|
| BLAKE2b-256 |
7683c383c653d9c5b9c50f70fb163727dfbb67f0b55796c022a773f87b3b9068
|