https://jflater.github.io/sorghum-rye-modeling/dashboard/
Location: Ames, Iowa (Historical Data 1988-2024)
Tools: APSIM NextGen, Python 3.12, SQLite, Pandas
This repository contains a reproducible modeling pipeline for simulating Sorghum growth in a Sorghum-Rye cropping system. It automates the execution of APSIM NextGen simulations and extracts high-resolution agronomic data into analysis-ready formats.
- Automated Workflow: Python-based execution of
.apsimxfiles via the .NET runtime. - Environmental Forcing: Integrated with 35+ years of historical weather data from Ames, IA.
- Data Extraction: Automated SQLite-to-Pandas bridge for rapid results processing.
- Path Resolution: Implemented absolute pathing for
.metfiles to support headless Linux/WSL2 execution. - Model Stability: Optimized sowing windows (May-June) to resolve PMF numerical instabilities and
NaNerrors in radiation interception calculations.
- Ensure .NET SDK 8.0 and APSIM NextGen are installed.
python3 scripts/run_sim.py