Python-based command line interface for TIMESAT
Project description
TIMESAT CLI
TIMESAT CLI is a command line interface and workflow manager for the TIMESAT package.
It provides a convenient way to configure and execute TIMESAT processing pipelines directly from the command line or automated scripts.
Requirements
Before you begin, make sure you have:
- Miniconda or Anaconda (for environment management)
Download: https://docs.conda.io/en/latest/miniconda.html - Python 3.10+
Installation
timesat-cli is available on PyPI and can be installed using pip or uv.
Although it is not published on Conda, you can safely install it inside a Conda environment.
Option 1 — Install inside a Conda environment
conda create -n timesat-cli python=3.12
conda activate timesat-cli
pip install timesat-cli
This approach uses Conda only for environment isolation.
The installation itself is handled by pip, which will automatically installtimesatand all required dependencies.
Option 2 — Install via uv (recommended for pure Python environments)
uv is a modern, high-performance alternative to pip and venv.
-
Install
uv:pip install uv # or curl -LsSf https://astral.sh/uv/install.sh | sh
-
Create a virtual environment and install the package:
uv venv .venv source .venv/bin/activate uv pip install timesat-cli
uvprovides faster dependency resolution and caching.
It will automatically installtimesatand related dependencies.
Option 3 — Direct installation with pip
If you already have Python 3.10+ installed:
pip install timesat-cli
⚙️ Optional: Parallel Processing Support
timesat-cli provides an optional extra for parallel execution using ray.
To install with parallel-processing support:
pip install timesat-cli[parallel]
This installs the base package plus the ray dependency.
Running the Application
After installation, start the GUI with:
timesat-cli path/to/settings.json
or equivalently:
python -m timesat_cli path/to/settings.json
Advanced Usage
If you wish to customize or extend the workflow, you can also run or modify the main script directly:
python timesat_run.py
The file 'timesat_run.py' contains the full example pipeline that invokes core modules from the 'timesat_cli' package, including configuration loading, file management, TIMESAT processing, and output writing.
HRVPP Notes — QFLAG2 weights
If you work with HRVPP quality flags (QFLAG2), the following weights w are commonly applied:
| QFLAG2 value | Weight w |
|---|---|
| 1 | 1.0 |
| 4097 | 1.0 |
| 8193 | 1.0 |
| 12289 | 1.0 |
| 1025 | 0.5 |
| 9217 | 0.5 |
| 2049 | 0.5 |
| 6145 | 0.5 |
| 3073 | 0.5 |
Example (settings.json):
"p_a": {
"value": [
[1, 1.0],
[4097, 1.0],
[8193, 1.0],
[12289, 1.0],
[1025, 0.5],
[9217, 0.5],
[2049, 0.5],
[6145, 0.5],
[3073, 0.5]
],
"description": "QA weighting rules. Leave empty [] to keep original QA values. Use [qa_value, weight] for exact matches or [min, max, weight] for ranges."
}
License
TIMESAT-CLI is released under the GNU General Public License (GPL).
You are free to use, modify, and distribute this software under the terms of the GPL.
The GPL license applies only to the TIMESAT-CLI source code and assets provided in this repository.
📦 Dependency Licenses
timesatmay install additional open-source dependencies (e.g., Flask, pandas, NumPy).- Each dependency retains its own license (MIT, BSD, Apache, etc.).
- Before redistributing or bundling this software, review the license terms of each dependency carefully.
⚖️ Summary
| Component | License Type | Notes |
|---|---|---|
| TIMESAT-CLI | GPL v3 | Open source, modification and redistribution permitted under GPL. |
| TIMESAT | Proprietary | All rights reserved. Redistribution and modification prohibited without written consent. |
| Other Dependencies | Various (MIT/BSD/Apache) | Check individual package licenses before redistribution. |
For detailed license information, refer to the license files distributed with each installed package.
Citation
If you use TIMESAT, TIMESAT-CLI or TIMESAT-GUI in your research, please cite the corresponding release on Zenodo:
Cai, Z., Eklundh, L., & Jönsson, P. (2025). TIMESAT4: is a software package for analysing time-series of satellite sensor data (Version 4.1.x) [Computer software]. Zenodo.
https://doi.org/10.5281/zenodo.17369757
Acknowledgments
- TIMESAT — Original analysis framework for satellite time-series data.
- This project acknowledges the Swedish National Space Agency (SNSA), the European Environment Agency (EEA), and the European Space Agency (ESA) for their support and for providing access to satellite data and related resources that made this software possible.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 timesat_cli-1.2.2.tar.gz.
File metadata
- Download URL: timesat_cli-1.2.2.tar.gz
- Upload date:
- Size: 24.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b71d9105b2bc19d074e8c14bbb08a07ecb73537f0103b131d583b66e30080ee0
|
|
| MD5 |
16217b57cce46041540ffcfe14c8547d
|
|
| BLAKE2b-256 |
3a39af297cb8be90104194319ad6e737aa0693b9d75fe61b335c5529dd3d705a
|
File details
Details for the file timesat_cli-1.2.2-py3-none-any.whl.
File metadata
- Download URL: timesat_cli-1.2.2-py3-none-any.whl
- Upload date:
- Size: 26.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a9193a6a3186a46fa4aafaa947ff5fee81135d01a443d0a834d78229871ac1f
|
|
| MD5 |
cee971d10650b5e428d86cfa8c148788
|
|
| BLAKE2b-256 |
ecebf1b55fb6a780f1d27121b8918b54ecb484a71c4377f43f9039cae192ca23
|