Skip to content

Commit 9cc4f98

Browse files
committed
Add CO2 to blueprint
1 parent e558119 commit 9cc4f98

1 file changed

Lines changed: 43 additions & 0 deletions

File tree

blueprints/sc_air.json

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,49 @@
263263
"function": "alphasense_803_04",
264264
"unit": "ppb",
265265
"depends_on": ["H2S_WE", "H2S_AE", "EC_SENSOR_TEMP"]
266+
},
267+
{
268+
"name": "CO2_CLEAN",
269+
"description": "Clean CO2 values for baseline calculation",
270+
"id": null,
271+
"kwargs": {
272+
"name": "SCD30_CO2",
273+
"limits": [300, 9500],
274+
"window": 5
275+
},
276+
"post": false,
277+
"function": "clean_ts",
278+
"unit": "ppm",
279+
"depends_on": []
280+
},
281+
{
282+
"name": "CO2_BASELINE",
283+
"description": "Baseline calculation of CO2 with ALS",
284+
"id": null,
285+
"kwargs": {
286+
"name": "CO2_CLEAN",
287+
"p": 0.000001,
288+
"lam": 10000000000,
289+
"niter": 10
290+
},
291+
"post": false,
292+
"function": "baseline_als",
293+
"unit": "ppm",
294+
"depends_on": ["CO2_CLEAN"]
295+
},
296+
{
297+
"name": "CO2",
298+
"description": "Correction of CO2 with ALS Baseline",
299+
"id": null,
300+
"kwargs": {
301+
"channels": ["SCD30_CO2", "CO2_BASELINE"],
302+
"coefficients": [1, -1],
303+
"extra_term": 450
304+
},
305+
"post": false,
306+
"function": "poly_ts",
307+
"unit": "ppm",
308+
"depends_on": ["CO2_BASELINE"]
266309
}
267310
]
268311
}

0 commit comments

Comments
 (0)