bioepic-data/ecosim-agent / .agents/skills/ameriflux-surgo-grid-extract
ameriflux-surgo-grid-extract
VerifiedExtract soil profiles for EcoSIM from gSSURGO or FAO HWSD2, compare texture/carbon with site BIF and field evidence, and apply documented grid corrections. Use when deriving soil depth, bulk density, field capacity, wilting point, hydraulic conductivity, texture, rock fraction, pH, CEC, or soil organic carbon; or when converting EcoSIM grid NetCDF files to editable Excel workbooks and back.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 14.2 KB |
| extract_gssurgo_profile.py | script | 38.9 KB |
| references/cropland_depth_policy.md | markdown | 2.7 KB |
| references/field_soil_evidence.md | markdown | 6.7 KB |
| references/soil_volume_contract.md | markdown | 11.1 KB |
| scripts/grid_netcdf_excel_bridge.py | script | 18.9 KB |
| test_extract_gssurgo_profile.py | script | 1.2 KB |
references/cropland_depth_policy.md
View on GitHub# Cropland soil and rooting depth
The user specified on 30 October 2026 that cropland cases use a maximum soil
depth of 3 m and a maximum root-accessible layer supported by literature.
Apply this to newly prepared or recreated crop cases. Keep shallower measured
bedrock or restrictive horizons visible; do not present 3 m as a measured depth.
Do not silently rewrite other existing cases or their restart states.
Find crop/site or region-specific evidence for **total maximum rooting depth**.
Effective irrigation rooting depth describes the zone containing most uptake;
it is not interchangeable with the deepest roots. Separate an observed maximum,
a sampling-depth limit, and a typical agronomic range. Prefer relevant site
measurements; otherwise document the regional/species prior and uncertainty.
When choosing the upper end of a reported range, identify that modeling choice.
Do not copy a numerical rooting depth from another crop or site without review.
NJ is a layer index, not a depth in meters. Place a layer boundary at the chosen
root limit, and set NJ to that layer. For a rotating-crop column, NJ is shared;
document each crop's evidence and whether a common bound limits every crop or
only permits the deepest-rooted crop. Do not claim separate per-crop caps from
one NJ value. Split/remap layers conservatively, preserving areal pools and
soil-mass-weighted concentrations; rerun soil-volume, stock and workbook checks.
Trace the selected reader and initialization before declaring the cap applied:
- `readimod.F90`: supplied layers = NJ+NL1; active layers = NJ+NL1+NL2.
- `StartsMod.F90::startsim`: currently regenerates layers below NJ+1 using
`SetDeepSoil`, even when more layers were supplied in the input file.
- `SoilPhysParaMod.F90::SetDeepSoil`: extrapolates depth from the last two
boundaries. Setting CDPTH alone can therefore leave a deeper active layer or
change a supplied bottom boundary at runtime.
A compatible layout is one supplied non-root layer ending at 3 m (`NL1=1`,
`NL2=0`). Retain the required allocated nlevs/JZ capacity but mark unused input
slots as padding. If using a different layout, verify the actual initialized
active depths rather than assuming the input geometry is preserved. Report NJ,
NL1, NL2, root-boundary depth, active bottom and remaining deep-soil assumptions.
For US-Ne2, Nebraska Extension G2245 Table II reports total mature maize and
soybean rooting depths of 5–6 ft under well-drained deep silt-loam conditions:
https://extensionpubs.unl.edu/publication/g2245/2014/html/view
The recreated case selects 6 ft × 0.3048 = 1.8288 m for both crops. This is a
regional bound, not a site root survey or a universal cropland rooting depth.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| canvas-designanthropics/skillsCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| docxanthropics/skillsUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| pdfanthropics/skillsUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| pptxanthropics/skillsUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |