본문으로 건너뛰기
cccskills
무료GitHub에 공개

ecosim-site-run-tracker

Track and report progress of a request to create and run an EcoSIM case for a site ("create an ecosim run for site US-UMB", "set up and run EcoSIM at <site>"). Records four stages — data preparation, namelist creation, model simulation, and output evaluation — in result/<SITE_ID>/progress.json and PROGRESS.md, derives step status from files and quality reports on disk, and records manual results such as the executable, test run, and evaluation verdicts. Use at the start of such a request, after each stage, and whenever the user asks where a site run stands.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(3)

  • SKILL.md6.1 KB
  • scripts/site_run_tracker.py25.7 KB
  • scripts/test_site_run_tracker.py6.2 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

EcoSIM Site Run Tracker

Use When

  • The user asks to create, set up, or run an EcoSIM case for a site.
  • The user asks for the status of a site run, or what remains to be done.
  • A stage of a site run has just finished or failed.

Stages and Steps

StageStepsDetected from
Data preparationsite_metadata, climate_forcing, atmospheric_chemistry, soil_grid, plant_management, soil_management<SITE_ID>_ecosim_site.json (location checks, run live if not recorded), <SITE_ID>_ecosim_climate_<first>-<last>.nc and ERA5 quality report (time registration, ZNOONG, tower warnings), climate derivation report (derived chemistry), grid NetCDF and layer validation (run live if not recorded), plant and soil management NetCDF
Namelist creationrun_folder, namelist, chronologyresult/<SITE_ID>/{input,run_dir}, namelist paths resolving from run_dir/, stop_n equal to EcoSIM get_sim_len of forc_periods
Model simulationexecutable, smoke_test, plant_traits, full_runexecutable recorded by the smoke run; smoke_run/smoke_summary.json from create_site_smoke_run.py (2-year run: exit, steps, history scan); its trait_check and literature-backed correction rounds (done when corrections fixed every severe finding; failed when findings remain unresolved or rounds ran out; without corrections, strict errors fail and warnings or missing web evidence give warning); run_dir/full_run_summary.json from run_site_full.py (fresh run, plus one continued run on failure); without it, *.ecosim.h0.*.nc history files in run_dir/ (reported in_progress until the run is confirmed)
Output evaluationtarget_extraction, benchmark_comparison, evaluation_reportfiles in result/<SITE_ID>/evaluation/ named *targets*, *comparison*/*benchmark*, *report*

Statuses: pending, in_progress, done, warning, failed, skipped. A stage is failed if any step failed, done/warning when every non-skipped step is done, pending when none started, else in_progress.

Workflow

Run from the python-tools repository root.

  1. At the start of the request, initialize the tracker with the request text:

    python .agents/skills/ecosim-site-run-tracker/scripts/site_run_tracker.py init \
      --site-id US-UMB --request "create an ecosim run for site US-UMB"
    
  2. After each stage (site inputs generated, run folder created, run finished, evaluation written), rescan and relay changed statuses to the user:

    python .agents/skills/ecosim-site-run-tracker/scripts/site_run_tracker.py scan --site-id US-UMB
    
  3. Record what files cannot show. A manual status is kept across scans; --auto returns the step to detection.

    python .agents/skills/ecosim-site-run-tracker/scripts/site_run_tracker.py set --site-id US-UMB \
      --step soil_management --status skipped --note "Unmanaged forest"
    python .agents/skills/ecosim-site-run-tracker/scripts/site_run_tracker.py set --site-id US-UMB \
      --step executable --status done --note "build/<config>/.../ecosim.f90.x (gfortran 14)"
    python .agents/skills/ecosim-site-run-tracker/scripts/site_run_tracker.py set --site-id US-UMB \
      --step full_run --status done --note "exit 0; 113 years; h0 files to 2021"
    
  4. Answer status questions from show (or show --json) after a fresh scan.

Automatic Updates

These scripts rescan the tracker when they finish (creating it if needed), so data-preparation and namelist steps stay current without an explicit scan:

  • Tools/create_ecosim_climate_forcing.py
  • Tools/create_ecosim_grid_forcing.py
  • .agents/skills/unified-ameriflux-extractor/unified_ameriflux_extractor.py
  • .agents/skills/ameriflux-namelist-generator/scripts/create_site_run_folder.py (also after a failed assembly)

They call Tools/run_progress.py, which never fails the calling script; set ECOSIM_PROGRESS_TRACKER=0 to disable. Simulation and evaluation steps still need set, because no tracked script runs EcoSIM or judges its output. Run init --request yourself so the request text is recorded.

Rules

  • Mark full_run done only after confirming the model exited normally and covered the namelist period; history files alone mean the run started, not that it finished.
  • smoke_test and plant_traits are detected from smoke_run/smoke_summary.json; a passed smoke run shows the case runs, not that it is scientifically correct. Leave plant_traits failed or warning until the findings are reported to the user; set it manually only to record an explicit decision (e.g. "accepted for this run").
  • Keep failed steps visible with the reason in --note; do not reset them to pending to tidy the report.
  • skipped is for steps that do not apply (e.g. soil management at an unmanaged site), not for steps not yet done.
  • Put evaluation products under result/<SITE_ID>/evaluation/ so they are detected, e.g. ecosim-h0-target-extractor output as evaluation/<SITE_ID>_h0_targets.json.

Files

result/<SITE_ID>/
  progress.json   tracker state (stages, steps, status, source auto|manual, detail, note, evidence, timestamps)
  PROGRESS.md     rendered summary with open items
  input/          site inputs (ameriflux-namelist-generator run-folder layout)
  run_dir/        namelist and, after running, EcoSIM output
  smoke_run/      2-year smoke run, its plant_trait.desc, trait-check report, smoke_summary.json
  evaluation/     output-evaluation products

create_site_run_folder.py leaves progress.json and PROGRESS.md at the site root.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Extract EPA/NADP tDEP atmospheric deposition and NADP precipitation chemistry rasters for an AmeriFlux or EcoSIM site. Use when deriving atmospheric chemistry inputs such as NH4, NO3, SO4, Ca, or precipitation pH for EcoSIM forcing workflows.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bioepic-data/ecosim-agent32026년 10월 16일 업데이트

Extract AmeriFlux BASE-BADM/BIF crop management records into EcoSIM-editable plant-management and soil-management Excel workbooks that can be converted to EcoSIM NetCDF files. Use when asked to derive EcoSIM planting, harvest, fertilizer, or tillage management inputs from AMF *_BIF_*.xlsx or BIF CSV files, especially for crop sites where management details live in GRP_DM_* records and DM_COMMENT fields.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bioepic-data/ecosim-agent32026년 10월 16일 업데이트

Sort AmeriFlux BASE-BADM BIF variables from Excel or CSV files into observation, management-event, static metadata, and plotting-ready target time-series tables. Use when Codex is asked to sort AmeriFlux BIF variables into time series; organize BADM/BIF variables by date; pivot AMF *_BIF_*.xlsx files by GROUP_ID; output total LAI, leaf mass per area, above-ground biomass, canopy height, fruit yield, or total yield time series; write MATLAB readers for BIF time-series plotting; or prepare dated AmeriFlux site observations and management records for EcoSIM workflows.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bioepic-data/ecosim-agent32026년 10월 16일 업데이트

Convert AmeriFlux ERA5 half-hourly meteorological CSV files into EcoSIM hourly climate forcing NetCDF files, compare generated forcing against overlapping measured tower meteorology when a FULLSET file is available, and report large biases or errors. Use when preparing or validating EcoSIM climate inputs for AmeriFlux sites, checking ERA5 against in situ records, diagnosing forcing discrepancies, or writing climate-quality reports. For non-AmeriFlux paper sites that need a fresh Copernicus CDS ERA5 point download by longitude/latitude, use era5-cds-point-download first.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bioepic-data/ecosim-agent32026년 10월 16일 업데이트

Create EcoSIM Fortran namelist files and workable EcoSIM run folders for AmeriFlux site runs from site-specific grid, plant management, climate forcing, and greenhouse-gas inputs. Use when preparing or updating an EcoSIM `.namelist`, run folder, runfolder, run directory, or executable-ready site case for AmeriFlux or FLUXNET sites, especially after generating `*_ecosim_grid.nc`, `*_ecosim_climate_<first>-<last>.nc`, and `*_pft_mgmt.nc` inputs.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bioepic-data/ecosim-agent32026년 10월 16일 업데이트

Extract AmeriFlux site metadata and map it to EcoSIM JSON variables. Use when a task needs site latitude, longitude, elevation, mean annual temperature, Koppen climate code, or vegetation type for an AmeriFlux site ID or flux-site name.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bioepic-data/ecosim-agent32026년 10월 16일 업데이트

bioepic-data의 스킬 모두 보기

이 스킬의 문제 신고