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

global-aux-climate-chemistry

Download, screen, and map non-North-America auxiliary EcoSIM climate variables from global or regional atmospheric-chemistry data sources. Use when a non-US/non-NLDAS site needs annual EcoSIM precipitation chemistry variables such as PHRG, CN4RIG, CNORIG, CSORG, CCARG, CMGRG, CNARG, CKARG, or CCLRG; when deciding whether to use CAMS, EBAS, EANET, or MERRA-2; or when deriving site-specific auxiliary variables after ERA5 climate forcing has been prepared.

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

설치 방법 보기

포함된 파일(3)

  • SKILL.md5.5 KB
  • agents/openai.yaml288 B
  • references/source_downloads.md5.2 KB

SKILL.md(원문)

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

Global Auxiliary Climate Chemistry

Scope

Use this skill for grids outside the US/NADP/NLDAS workflow when EcoSIM climate forcing needs annual auxiliary variables beyond ERA5/NLDAS meteorology.

This skill covers:

  • Annual precipitation chemistry variables: PHRG, CN4RIG, CNORIG, CSORG, CCARG, CMGRG, CNARG, CKARG, CCLRG, and supported template defaults.
  • Annual non-chemistry variables: Z0G, IFLGW, and ZNOONG.
  • Source selection among CAMS, EBAS, EANET, and MERRA-2.

Do not use NADP or tDEP outside their valid US/North-America domain unless the user explicitly supplies already-processed compatible rasters and asks to force them.

Source Priority

  1. CAMS global atmospheric composition forecasts: first automated gridded choice for non-North-America wet-deposition chemistry. Use it for a small test subset before downloading target years.
  2. Regional station networks: use as preferred pH/base-cation observations or as validation/override near the site.
    • Use EANET in East and Southeast Asia.
    • Use EBAS where European or other public precipitation-chemistry stations are available.
  3. MERRA-2: fallback aerosol/deposition context only. Do not treat it as a complete precipitation-chemistry replacement without an explicit unit and species-mapping review.
  4. Defaults: when no defensible source exists, use EcoSIM defaults with provenance. Use neutral PHRG=7 only when pH cannot be derived.

Workflow

  1. Confirm site coordinates, simulation years, and existing climate forcing NetCDF.
  2. Compute simple variables without downloading chemistry data:
    • ZNOONG: compute from longitude.
    • Z0G: use the forcing wind reference height. ERA5/CAMS 10 m winds imply Z0G=10 m; if a forcing source uses another measurement height, use that value and record it.
    • IFLGW: use site/tower/vegetation metadata if available; otherwise use 0 with a note.
  3. For chemistry, run a small CAMS smoke test first:
    • Request one month or one year around the site.
    • Include precipitation and candidate wet-deposition variables.
    • Inspect returned metadata for units, accumulation period, species basis, and missing values.
    • Do not build a full converter until this smoke test passes.
  4. Download only the target years needed after the smoke test succeeds.
  5. Check for nearby station data:
    • Use EBAS/EANET observations to validate CAMS annual concentrations where possible.
    • Prefer station pH and base cations over model-derived estimates when the station is representative and close enough for the study purpose.
  6. Convert annual wet-deposition fluxes to precipitation concentrations only after confirming source units.
  7. Write a derivation JSON under result/<site_id>/ and update the EcoSIM NetCDF only after all validity checks pass.

Unit Policy

EcoSIM precipitation chemistry variables are concentrations in precipitation, not deposition fluxes.

For gridded wet-deposition sources:

concentration_g_m3 = annual_wet_deposition_kg_m2 * 1000 / annual_precipitation_m

Apply elemental mass fractions only when the source deposition is stored as compound/ion mass rather than elemental mass:

  • NH4 to CN4RIG: multiply by 14.0067 / 18.0385 = 0.7765.
  • NO3 to CNORIG: multiply by 14.0067 / 62.0049 = 0.2259.
  • SO4 to CSORG: multiply by 32.065 / 96.06 = 0.3338.
  • If the source already reports N or S mass, do not apply the ion-to-element factor.

For station concentrations, preserve the native concentration basis and convert explicitly:

  • 1 mg/L = 1 g/m3.
  • 1 ug/L = 0.001 g/m3.
  • ueq/L requires ion charge and molar mass; do not convert by a scalar shortcut.

Validity Checks

Reject or flag:

  • Non-finite values, source fill values, negative concentrations, or negative precipitation.
  • PHRG outside 0-14.
  • Annual precipitation totals too small to safely divide wet deposition into concentration.
  • CAMS or MERRA-2 variables whose metadata does not clarify whether the mass basis is compound/ion/elemental.
  • Full-year EcoSIM outputs that contain partial-year chemistry without a documented interpolation or climatology policy.

Gap policy:

  • Interpolate short annual gaps with linear interpolation and nearest-edge fill only when neighboring years are from the same data source and variable.
  • Use neutral PHRG=7 only when no valid pH source exists.
  • Do not synthesize base cations from dust or sea-salt fields without labeling the result low confidence.

Source-Specific Details

For download snippets, source access notes, and suggested source-to-variable mappings, read references/source_downloads.md only when needed.

Reporting

Always report:

  • Site lon/lat, years, and bounding box or station-distance criteria.
  • Dataset names and access method.
  • Exact source variables used and units read from metadata.
  • Conversion factors, elemental-basis assumptions, and precipitation divisor.
  • Whether values came from CAMS, EBAS, EANET, MERRA-2, station override, interpolation, or defaults.
  • Quality flags and any variables left absent/defaulted.

리뷰

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

댓글

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

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

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. 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의 스킬 모두 보기

이 스킬의 문제 신고