본문으로 건너뛰기
Skillpedia
분석 및 스프레드시트51k · #3491

marine-carbonate-chemistry

하는 일

이 도구는 해수의 탄산염 화학을 계산합니다. 두 가지 해수 측정값을 사용해 pH와 용존 CO2 같은 다른 중요한 특성을 알아냅니다.

사용하는 경우

  • ✓바다에서 채취한 해수 시료를 분석할 때.
  • ✓해양 산성화 실험을 수행할 때.
  • ✓바다의 탄소 순환을 연구할 때.

스킬 링크

https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/marine-carbonate-chemistry/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/marine-carbonate-chemistry/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 해수 시료에 대해 총 알칼리도와 용존 무기 탄소가 주어졌을 때, 총 pH, pCO2, 아라고나이트 포화 상태를 계산해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

두 가지 해수 측정값(예: 알칼리도와 용존 탄소)을 입력합니다. 도구는 PyCO2SYS라는 프로그램을 사용해 다른 화학적 특성과 광물 포화도 추정치를 계산합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Marine Carbonate Chemistry

Turn two independent seawater carbonate measurements into a reproducible speciation table, mineral saturation estimates, and a record of the calculation assumptions. Targets PyCO2SYS 1.8.3.4, tested with Python 3.13 and NumPy 2.5.3. As reviewed on 2026-10-01, this remains the stable PyPI release. The v2 documentation is for a beta with breaking changes; use the v1 documentation for this pin.

When to use

  • Analyze bottle samples, shipboard carbonate measurements, or acidification experiments.
  • Calculate total-scale pH, seawater pCO2/fCO2, carbonate ion, aragonite/calcite saturation state, or the Revelle factor from a valid measured pair.
  • Convert a system determined at laboratory conditions to specified ocean conditions.
  • Quantify how stated measurement uncertainties affect the calculated results.

This workflow concerns seawater carbonate equilibria. Freshwater, porewaters with substantial uncharacterized alkalinity, brines outside the selected calibration range, and reaction/transport models require additional chemistry and validation. Do not infer an air-sea flux or atmospheric carbon removal from a carbonate equilibrium alone.

Establish the measurement contract

Before running a solver, identify the two measured variables, their units, quality flags, and their temperature/pressure basis. Retain a separate source table containing station, depth, timestamps, methods, reference materials, and original QC codes, joined by sample ID. Do not turn missing values or rejected measurements into zero.

Quantity Required convention
Total alkalinity (TA), DIC, nutrients micromol per kg seawater, not per litre or kg water
Salinity Practical Salinity, not Absolute Salinity in g/kg
Temperature In-situ/measurement temperature in degrees Celsius, not potential or Conservative Temperature
Pressure Sea pressure in dbar; surface sample is 0, not 1 atmosphere
pH Declared total, seawater, free, or NBS scale, at the declared measurement conditions
pCO2 / fCO2 Seawater partial pressure / fugacity in microatm; these are distinct quantities

TA and DIC remain constant during the solver's temperature/pressure conversion for a closed sample. pH and gas parameters change. Two inputs measured at different conditions cannot simply share one temperature value. Establish a consistent measurement basis first. Temperature correction does not repair sample changes caused by gas exchange, biology, evaporation, or mineral dissolution/precipitation.

Use two independent carbonate parameters. pCO2 plus fCO2 is not an independent pair. Three or more measurements enable an overdetermination check: solve independent pairs and compare predicted versus measured third parameters, including their uncertainty. Do not average inconsistent solutions to hide a calibration or scale mismatch.

Install

Create a dedicated environment in the user's working directory:

uv venv --python 3.13 .venv
uv pip install --python .venv/bin/python "PyCO2SYS==1.8.3.4" "numpy==2.5.3"

On Windows the environment's interpreter is .venv/Scripts/python.exe. The commands below use the POSIX interpreter path. Set the shell variable SKILL_DIR to this installed skill's directory. Keep inputs and generated outputs in the working directory.

Workflow

  1. Prepare paired measurements. Use the schema in references/input-and-results.md. Resolve units and quality flags before creating the input file. Supply phosphate and silicate explicitly; zero is an assumption to justify, not a missing-data code.
  2. Choose equilibrium constants. Read references/chemistry-decisions.md for pH scales, carbonic-acid constants, borate, saturation interpretation, and uncertainty limits. Match the study's validated convention and report it. The helper supports carbonic-acid options 10 and 15; other systems require a separately verified direct PyCO2SYS call.
  3. Solve with scripts/solve_carbonate.py. It validates the full input table, solves the pair, checks finite outputs and DIC species balance, then writes carbonate.csv and provenance.json into a new output directory.
  4. Review flags and consistency. Inspect calibration-range and gas-pressure flags, carbonate balance, measured-third-parameter residuals when available, and controls.

…

자주 묻는 질문

‘쌍 측정(paired measurements)’이란 무엇인가요?

도구가 함께 사용해 계산하는, 독립적으로 측정된 두 값입니다. 예를 들어 총 알칼리도와 용존 무기 탄소가 있습니다.

측정값에 어떤 단위든 쓸 수 있나요?

아닙니다. 알칼리도와 탄소는 해수 1kg당 마이크로몰(μmol/kg), 압력은 dbar처럼 명시된 올바른 단위를 사용하는 것이 중요합니다.

이 도구는 공기와 바다 사이의 탄소 플럭스를 계산하나요?

아닙니다. 해수 내부의 탄산염 평형에만 집중합니다. 플럭스를 계산하려면 추가 정보와 모델이 필요합니다.

상세 정보

작성자의 원본 설명

Solves seawater carbonate chemistry with PyCO2SYS for chemical oceanography, ocean acidification, and marine carbon-cycle research. Use for paired total alkalinity, dissolved inorganic carbon, pH, or seawater pCO2/fCO2 measurements; carbonate speciation; aragonite and calcite saturation; Revelle factors; lab-to-in-situ temperature and pressure corrections; and measurement uncertainty propagation.

repo: K-Dense-AI/scientific-agent-skills

인기도

GitHub 스타
51k
순위
#3491
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬