Skip to content

Commit

Permalink
Co2 Chamber tests for TwinAIR
Browse files Browse the repository at this point in the history
  • Loading branch information
oscgonfer committed Oct 24, 2024
1 parent e141460 commit a3a01a2
Show file tree
Hide file tree
Showing 2 changed files with 20,510 additions and 30 deletions.
54 changes: 24 additions & 30 deletions deliveries/TwinAir/240603_TwinAIR-Cabin-CO2-calibration.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -8,40 +8,26 @@
"# CO2 Calibration"
]
},
{
"cell_type": "markdown",
"id": "cae0be39-67b1-4cf7-8126-daa5633a6332",
"metadata": {},
"source": [
"## TwinAIR CO2 Cabin test"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "e7ed679d-bec3-402f-bf2e-0557fd7a335d",
"id": "d98b7cec-64fa-4d8f-89cd-14828e32dacc",
"metadata": {},
"outputs": [],
"source": [
"import pandas as pd\n",
"import smartcitizen_connector\n",
"import scdata as sc\n",
"import time\n",
"now = time.localtime()"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "0dcb02b2-fdec-47ba-b906-a56a06bc6889",
"cell_type": "markdown",
"id": "cae0be39-67b1-4cf7-8126-daa5633a6332",
"metadata": {},
"outputs": [],
"source": [
"df = smartcitizen_connector.search_by_query(endpoint='devices',\n",
" search_items=[{\n",
" 'key': 'postprocessing_id', \n",
" 'value': 'not_null',\n",
" 'full': True\n",
" }])"
"## TwinAIR CO2 Cabin test (not corrected)"
]
},
{
Expand Down Expand Up @@ -94,7 +80,7 @@
},
"outputs": [],
"source": [
"test = sc.Test(name=f'CO2_CHAMBER_TEST',\n",
"test = sc.Test(name=f'CO2_CHAMBER_TEST_1',\n",
" devices=devices_api + devices_csv,\n",
" force_recreate=True\n",
")\n",
Expand All @@ -113,16 +99,6 @@
"await test.load()"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "dba18122-d6e2-4b14-8e1f-ab6c9a8c8e8d",
"metadata": {},
"outputs": [],
"source": [
"import pandas as pd"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down Expand Up @@ -160,6 +136,24 @@
" 'max_date':'2024-05-24 16:15:00'\n",
" })"
]
},
{
"cell_type": "markdown",
"id": "2fe91e16-9006-4ab1-ab6e-b9a887e9c9f2",
"metadata": {},
"source": [
"## TwinAIR CO2 Cabin test (corrected)"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "6b16799d-b531-4f72-952b-4ce4eeae7865",
"metadata": {},
"outputs": [],
"source": [
"devices_2 = [ 17265, 17295, 17313, 17319]"
]
}
],
"metadata": {
Expand Down
Loading

0 comments on commit a3a01a2

Please sign in to comment.