Skip to content

Commit e726218

Browse files
authored
Merge pull request #75 from BnJam/feat/agentic-skills
Feat/agentic skills
2 parents f507014 + d4ed097 commit e726218

20 files changed

Lines changed: 2971 additions & 70 deletions

File tree

Makefile

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ PYTEST_RUN = $(VENV_DIR)/bin/pytest
1313
# Default and Setup Targets
1414
# ==============================================================================
1515

16-
.PHONY: all setup sync develop build install clean test lint docs help
16+
.PHONY: all setup sync develop build build-wheel install install-wheel reinstall clean test lint docs help
1717

1818
all: develop
1919

@@ -35,16 +35,32 @@ develop: sync ## Install the Rust code as a Python module for development
3535
# Build, Clean, and Utility Targets
3636
# ==============================================================================
3737

38-
build: sync ## Build the release wheels for distribution
39-
@echo "⚙️ Building release wheels..."
38+
# Build a wheel (does NOT install it into the current environment)
39+
build-wheel: sync ## Build the release wheel(s) for distribution (outputs to dist/)
40+
@echo "⚙️ Building release wheel(s) into dist/ ..."
4041
# NOTE: This target assumes the virtual environment is manually activated
4142
uv run maturin build --release --out dist
4243

43-
install: build ## Install the project from the built wheel
44-
@echo "📦 Installing built wheel into environment..."
45-
# Find the latest built wheel and install it
46-
uv pip uninstall eo_processor || true
47-
uv pip install .[dask]
44+
# Backwards-compatible alias (historically named "build")
45+
build: build-wheel ## Alias for build-wheel
46+
47+
# Install from the freshly built wheel in dist/ (the correct companion to build-wheel)
48+
install-wheel: build-wheel ## Install the freshly built wheel from dist/ into the current environment
49+
@echo "📦 Installing freshly built wheel into current environment..."
50+
# Uninstall any previously installed distribution variants (name can differ across tools)
51+
uv pip uninstall -y eo-processor eo_processor || true
52+
# Install the wheel we just built. --force-reinstall ensures the native extension updates.
53+
uv pip install --force-reinstall dist/*.whl
54+
55+
# Backwards-compatible alias for "install" (historically misleading in this repo)
56+
install: install-wheel ## Alias for install-wheel
57+
58+
reinstall: sync ## Build and install the wheel into the current environment
59+
@echo "⚙️ Building release wheel..."
60+
uv run maturin build --release --out dist
61+
@echo "📦 Installing freshly built wheel..."
62+
uv pip uninstall eo-processor eo_processor || true
63+
uv pip install --force-reinstall dist/*.whl
4864

4965
clean: ## Clean up build artifacts
5066
@echo "🧹 Cleaning up..."

examples/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ This directory contains runnable Python scripts demonstrating usage of the high-
55
## Files
66

77
- `basic_usage.py`: Core spectral indices (NDVI, NDWI, EVI, normalized difference) on 1D and 2D arrays plus performance snippet and temporal stats.
8+
- `bfast_monitor_example.py`: Demonstrates `bfast_monitor` change detection on a synthetic seasonal time series (break vs stable) and includes optional PNG outputs (`--png`) for visualization.
89
- `xarray_dask_usage.py`: Integration with XArray and Dask for chunked / lazy evaluation and time-series workflows.
910
- `map_blocks.py`: Compares `xarray.apply_ufunc`, `xarray.map_blocks`, and `dask.array.map_blocks` for NDVI computation performance.
1011
- `temporal_operations.py`: Demonstrates `temporal_mean`, `temporal_std`, median compositing, and NaN handling.
45.4 KB
Loading
56.2 KB
Loading
13.1 KB
Loading
55.9 KB
Loading
62.3 KB
Loading
61.9 KB
Loading

0 commit comments

Comments
 (0)