Back to skills
SKILL.md
Docs
ASecurityDefine the experiment parameters, model paths, and simulation period for an EPIC crop simulation. This stage produces a `config.yml` file and establishes the workspace directory structure.
- 200 stars
- 0 votes
- 0 copies
- 1 view
- Added September 11, 2026
Works with
Security analysis
92/100- Installs packages at runtime which could introduce malicious dependencies
Pro scans all 21 files and shows the line behind each finding
npx -y skills add lzwei196/KISS---Knowledge-Infrastructure-for-Scientific-Simulation --skill docs --agent claude-codeAre you the author of Docs?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/lzwei196-docs-6b48ec95)# Stage 0: Configuration
## Purpose
Define the experiment parameters, model paths, and simulation period for an EPIC
crop simulation. This stage produces a `config.yml` file and establishes the
workspace directory structure.
## Prerequisites
- Python 3.11 with `geo_epic_win` installed (`pip install geo_epic_win`)
- EPIC 1102 binary available (bundled in `geoEpic/assets/workspace_win/model/`)
- Target region defined (coordinates, state/county FIPS codes)
## Inputs
| Input | Format | Example |
|-------|--------|---------|
| Experiment name | string | "Iowa Corn 2015-2020" |
| EPIC binary path | file path | `./model/EPIC1102.exe` |
| Start date | YYYY-MM-DD | `2015-01-01` |
| Duration | integer years | `6` |
| Output types | list | `[ACY, DGN]` |
| Region of interest | text/shapefile | "Iowa" |
## Outputs
| Output | Format | Location |
|--------|--------|----------|
| config.yml | YAML | workspace root |
| Directory tree | directories | model/, weather/, soil/, sites/, opc/, output/, log/ |
## Procedure
1. **Initialize workspace** using the Geo-EPIC toolkit:
```python
from geoEpic.core import Workspace
# or use CLI: geo_epic init
```
This copies the asset template to a new workspace directory.
2. **Edit config.yml** with experiment parameters:
```yaml
EXPName: Iowa Corn 2015-2020
EPICModel: ./model/EPIC1102.exe
start_date: '2015-01-01'
duration: 6
output_types: [ACY, DGN]
```
3. **Verify model binary** exists and is executable:
```bash
ls -la model/EPIC1102.exe
chmod +x model/EPIC1102.exe # Linux only
```
4. **Create info.csv** skeleton with site list columns:
```csv
SiteID,soil,dly,opc,lat,lon
```
## Verification
- `config.yml` exists and is valid YAML
- `model/EPIC1102.exe` exists
- All required DAT files present in `model/`
- Directory tree created
## Traps
| Trap | Symptom | Fix |
|------|---------|-----|
| Python version mismatch | Import errors, numpy issues | Must use Python 3.11 exactly |
| Missing DAT files | EPIC crashes silently | Copy full model/ from assets |
| Wrong start_date format | EPICCONT.DAT parse error | Use YYYY-MM-DD with quotes |
| Duration = 0 | No simulation runs | Must be >= 1 |
| SiteID > 9 chars | Truncation in EPICRUN.DAT | Keep SiteID to 9 alphanumeric chars |
## Example
```bash
# Initialize workspace from template
geo_epic init --name iowa_corn --dest ./iowa_corn_workspace
# Edit configuration
cd iowa_corn_workspace
vim config.yml # Set dates, region, output types
# Verify
python -c "from ruamel.yaml import YAML; print(YAML().load(open('config.yml')))"
```
Files in this skill
- 01_site_preparation.md
- 02_forcing_conversion.md
- 03_soil_profile.md
- 04_operations_schedule.md
- 05_run_execution.md
- 06_output_parsing.md
- 07_capability_inventory.md
- format_spec.yaml
- papers.json
- s0_configuration_skill.md
- s0_workspace_setup.md
- s1_weather_preparation.md
- s1_weather_preparation_skill.md
- s2_soil_preparation.md
- s2_soil_preparation_skill.md
- s3_execution.md
- s3_operations_management_skill.md
- s4_execution_skill.md
- s4_output_parsing.md
- s5_calibration_validation.md
Attribution
Comments
Loading comments…