本文へ移動
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.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

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月12日 更新

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月12日 更新

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月12日 更新

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月12日 更新

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月12日 更新

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月12日 更新

bioepic-data のスキルをすべて見る

このスキルの問題を報告する