- 基于 PCSE/WOFOST 构建作物生长模拟平台 - 新增 Streamlit 可视化应用(app.py)与模拟引擎(simulator.py) - 支持潜在生产(PP)与水分限制生产(WLP)两种模拟模式 - 支持冬小麦、玉米、春大麦、马铃薯、冬油菜、向日葵 6 种作物 - 提供 LAI 动态、生物量积累、土壤水分、产量对比等可视化图表 - 新增 pyproject.toml、justfile、Dockerfile 等工程配置 - 完善 README.md 项目文档与 .gitignore 忽略规则
26 lines
395 B
Makefile
26 lines
395 B
Makefile
# Justfile for maimai-pcse 麦麦智农
|
|
|
|
# Default: show available commands
|
|
default:
|
|
just --list
|
|
|
|
# Run the Streamlit app
|
|
run:
|
|
uv run streamlit run app.py
|
|
|
|
# Install dependencies
|
|
install:
|
|
uv sync
|
|
|
|
# Format code with ruff (if available)
|
|
format:
|
|
uv run ruff format .
|
|
|
|
# Check code
|
|
check:
|
|
uv run ruff check .
|
|
|
|
# Clean caches
|
|
clean:
|
|
rm -rf __pycache__ .ruff_cache .streamlit
|