You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: add ContinuousCO2Variable schema + fix filenames slot
Add continuous xCO2/pCO2/fCO2 variable support with equilibrator,
environmental sensors, marine air measurement, and calibration hierarchy.
Refactor CO2Calibration into Discrete/Continuous variants. Fix filenames
slot_usage error in dataset.yaml by promoting to proper slot.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix instrument_type equals_string, remove EquilibratorType enum, add ContinuousCO2Variable variable_type constraint
- Fix CO2GasDetector slot_usage: analyzing_instrument_type → instrument_type
with range: string + equals_string produces const in JSON Schema
- Change equilibrator_type from enum to string (unknown controlled vocab)
- Add variable_type equals_string: "co2" to ContinuousCO2Variable
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* feat: typed numeric sensor fields + units in titles
- Add TemperatureSensor and PressureSensor subclasses of GenericSensor with
slot_usage specializing accuracy/precision titles to include units
(°C and hPa respectively) and descriptions
- Change GenericSensor.accuracy and precision from string to float
- Add (L/min) to CO2Equilibrator water_flow_rate and headspace_gas_flow_rate
titles; promote them and volume from string to float
- Change DiscreteCO2Variable seawater_volume, headspace_volume, and
measurement_temperature from integer to float (these are real measurements
with decimal values) and add units to titles
- Update ContinuousCO2Variable to reference TemperatureSensor for equilibrator
temp sensor and PressureSensor for equilibrator/atmospheric pressure sensors
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* relax StandardGas: all fields optional, remove duplicate uncertainty override
- Make manufacturer and concentration optional on StandardGas
- Remove redundant uncertainty override from ContinuousStandardGas (inherits
from base StandardGas)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* cleanup: remove redundant range override in sensor slot_usage
range: float is already set on GenericSensor.accuracy/precision and is
inherited by subclasses, no need to re-declare in slot_usage.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
/** How often measurements are taken, e.g., every 140 seconds except during calibration. */
1159
+
measurement_frequency?: string,
1160
+
/** CO2 calibration information for this continuous instrument. */
1161
+
calibration: ContinuousCO2Calibration,
1162
+
}
1163
+
1164
+
1165
+
/**
1166
+
* Equilibrator used for continuous CO2 measurement.
1167
+
*/
1168
+
exportinterfaceCO2Equilibrator{
1169
+
/** Type of the equilibrator for the CO2 measurement. */
1170
+
equilibrator_type?: string,
1171
+
/** The total volume (in liters) of the CO2 equilibrator. */
1172
+
volume?: number,
1173
+
/** Is the equilibrator vented or not? */
1174
+
vented?: boolean,
1175
+
/** Flow rate (in L/min) of the flow through seawater. */
1176
+
water_flow_rate?: number,
1177
+
/** Flow rate (in L/min) of the gas from the equilibrator to the CO2 analyzer. */
1178
+
headspace_gas_flow_rate?: number,
1179
+
}
1180
+
1181
+
1182
+
/**
1183
+
* Generic sensor base class used in continuous CO2 measurements. Subclasses (e.g., TemperatureSensor, PressureSensor) specialize accuracy and precision units via slot_usage.
1184
+
*/
1185
+
exportinterfaceGenericSensor{
1186
+
/** Location of the sensor. */
1187
+
location?: string,
1188
+
/** Manufacturer of the sensor. */
1189
+
manufacturer?: string,
1190
+
/** Model number of the sensor. */
1191
+
model?: string,
1192
+
/** Serial number of the sensor. */
1193
+
serial_number?: string,
1194
+
/** Accuracy of the sensor. */
1195
+
accuracy?: number,
1196
+
/** Precision of the sensor. */
1197
+
precision?: number,
1198
+
/** Calibration information for the sensor. */
1199
+
calibration?: string,
1200
+
/** Additional comments about the sensor. */
1201
+
comments?: string,
1202
+
}
1203
+
1204
+
1205
+
/**
1206
+
* Temperature sensor used in continuous CO2 measurements. Accuracy and precision are reported in degrees Celsius.
For more details, refer to Newton J.A., Feely R. A., Jewett E. B., Williamson P. & Mathis J., 2015. Global Ocean Acidification Observing Network: Requirements and Governance Plan. Second Edition, GOA-ON, http://www.goa-on.org/docs/GOA-ON_plan_print.pdf. */
1395
1525
appropriate_use_quality?: string,
1396
1526
/** In Celsius. The input could be a constant temperature value, or something like, in-situ temperature, temperature of analysis, etc. */
1397
-
co2_reported_temperature: string,
1527
+
pco2_reported_temperature: string,
1398
1528
/** How the water vapor pressure inside the equilibrator was determined. */
1399
1529
water_vapor_correction_method?: string,
1400
1530
/** How the temperature effect was corrected. */
@@ -1439,6 +1569,7 @@ Any method that creates a unique ID that will link all project data is acceptabl
1439
1569
/** The experiment to which the data belong. Any naming convention that produces a unique ID is usable. The recommended naming convention is:
1440
1570
Project ID + Experiment type + Optional numerical indicator to differentiate between various experiments of the same type for a project. A two digit consecutive number beginning with 01 */
1441
1571
experiment_id: string,
1572
+
filenames: string[],
1442
1573
/** Selected controlled vocabularies for data types relevant to mCDR have been referenced from NASA's SeaBASS metadata system and are provided below, for additional data types of optical characteristics see the [SeaBASS controlled definitions list](https://seabass.gsfc.nasa.gov/wiki/metadataheaders#data_type). Additional data types have been included to meet the needs of mCDR field projects. */
1443
1574
dataset_type: string,
1444
1575
/** Custom "data type" when an appropriate value is not found in the controlled vocabulary list for mCDR Data Type and the corresponding `data_type` field is set to "other". */
@@ -1450,7 +1581,6 @@ Project ID + Experiment type + Optional numerical indicator to differentiate bet
1450
1581
license?: string,
1451
1582
/** A statement from the data producer regarding how this dataset should be used. */
0 commit comments