{ "cells": [ { "cell_type": "markdown", "id": "fd0c795b", "metadata": { "papermill": { "duration": 0.010467, "end_time": "2024-07-01T13:29:30.119146", "exception": false, "start_time": "2024-07-01T13:29:30.108679", "status": "completed" }, "tags": [] }, "source": [ "# Metadata table" ] }, { "cell_type": "code", "execution_count": 1, "id": "2c59a518", "metadata": { "execution": { "iopub.execute_input": "2024-07-01T13:29:30.133598Z", "iopub.status.busy": "2024-07-01T13:29:30.132681Z", "iopub.status.idle": "2024-07-01T13:29:30.149486Z", "shell.execute_reply": "2024-07-01T13:29:30.148524Z" }, "papermill": { "duration": 0.025662, "end_time": "2024-07-01T13:29:30.151501", "exception": false, "start_time": "2024-07-01T13:29:30.125839", "status": "completed" }, "tags": [ "remove-input" ] }, "outputs": [], "source": [ "# NO CODE\n", "from json2html import json2html\n", "import json, re\n", "from IPython.display import HTML" ] }, { "cell_type": "code", "execution_count": 2, "id": "097d6d19", "metadata": { "execution": { "iopub.execute_input": "2024-07-01T13:29:30.165910Z", "iopub.status.busy": "2024-07-01T13:29:30.165413Z", "iopub.status.idle": "2024-07-01T13:29:30.171277Z", "shell.execute_reply": "2024-07-01T13:29:30.170603Z" }, "papermill": { "duration": 0.015082, "end_time": "2024-07-01T13:29:30.173293", "exception": false, "start_time": "2024-07-01T13:29:30.158211", "status": "completed" }, "tags": [ "parameters", "remove-input" ] }, "outputs": [], "source": [ "# NO CODE\n", "# PARAMETERS\n", "path = './meta/environment/meteocat_xema'" ] }, { "cell_type": "code", "execution_count": 3, "id": "993915a5", "metadata": { "execution": { "iopub.execute_input": "2024-07-01T13:29:30.188013Z", "iopub.status.busy": "2024-07-01T13:29:30.187475Z", "iopub.status.idle": "2024-07-01T13:29:30.194511Z", "shell.execute_reply": "2024-07-01T13:29:30.193033Z" }, "papermill": { "duration": 0.017104, "end_time": "2024-07-01T13:29:30.196650", "exception": false, "start_time": "2024-07-01T13:29:30.179546", "status": "completed" }, "tags": [ "injected-parameters" ] }, "outputs": [], "source": [ "# Parameters\n", "path = \"./meta/mosquito_alert/senscape_traps\"\n" ] }, { "cell_type": "code", "execution_count": 4, "id": "d1332052", "metadata": { "execution": { "iopub.execute_input": "2024-07-01T13:29:30.213836Z", "iopub.status.busy": "2024-07-01T13:29:30.213136Z", "iopub.status.idle": "2024-07-01T13:29:30.232289Z", "shell.execute_reply": "2024-07-01T13:29:30.231549Z" }, "papermill": { "duration": 0.031004, "end_time": "2024-07-01T13:29:30.234004", "exception": false, "start_time": "2024-07-01T13:29:30.203000", "status": "completed" }, "tags": [ "remove-input", "full-width" ] }, "outputs": [ { "data": { "text/html": [ "
$schema../schema.json
@context
@vocabhttps://schema.org/
qudthttp://qudt.org/schema/qudt/
xsdhttp://www.w3.org/2001/XMLSchema#
@typeDataset
namesenscape_traps
conditionsOfAccessPrivate
descriptionReal time mosquito presence count with on-site Irideon senscape smart traps through audio ML-classification (species and gender) by recording spectrogram that represents the mosquito wingbeat frequency. Direct senscape data access is by API-key. Python library is available at https://gitlab.com/ukojz/senscape to get data from API and store them on TigaData (Mosquito Alert database). Measurement precision is validated by laboratory tests with the following results: discrimination between target (mosquito) non-target (other insect) is 96%, genus (Aedes/Culex) is 94.5%, Aedes is 98%, gender Culex is 100%, Aedes female (aegypti/albopictus) is 77%, Aedes male (aegypti/albopictus) is 74%. This data set is owned by the Barcelona Public Health Agency (ASPB) and is considered confidential. Only uses explicitly allowed by the ASPB are permitted. Therefore, to use this dataset you need the specific consent of the ASPB. Contact tmontal@aspb.cat.
urlhttps://senscape.eu
identifier
licenseAll rights reserved
citation
temporalCoverage2020-07-24/..
spatialCoverage
@typePlace
nameBarcelona
sameAshttps://www.wikidata.org/wiki/Q1492
distribution
  • @typeDataDownload
    namesenscape_api
    descriptionDistribution by API
    encodingFormatJSON
    workExample./notebooks/senscape_traps.py
    contentUrl
    • https://senscape.eu/api/data
    contentSize10MB
variableMeasured
  • @typePropertyValue
    namerecord_time
    description
    qudt:dataTypexsd:dateTime
  • @typePropertyValue
    name_id
    description
    qudt:dataTypexsd:string
  • @typePropertyValue
    nametemperature
    descriptionAir temperature measured inside the smart trap device.
    unitTextCelsius degrees
    qudt:dataTypexsd:decimal
  • @typePropertyValue
    nameclassification
    descriptionLabels of classification are: test_pulse (sensor signal checking), non_target (other insects, non-classified mosquitos or objects that may fall inside the Senscape trap), albopictus_male, albopictus_female, aegypti_male, aegypti_female.
    qudt:dataTypexsd:string
  • @typePropertyValue
    nameclient_name
    descriptionSensor device name
    qudt:dataTypexsd:string
  • @typePropertyValue
    nameclient_type
    descriptionSensor device measurement type, possible values are: Mosquito (insect classification of mosquitos)
    qudt:dataTypexsd:string
  • @typePropertyValue
    namelat
    descriptionLatitude coordinate of a relative sensor device
    qudt:dataTypexsd:string
  • @typePropertyValue
    namelng
    descriptionLongitude coordinate of a relative sensor device
    qudt:dataTypexsd:string
  • @typePropertyValue
    namenice_name
    descriptionData file name associated with the device measurement. For each measurement, the device sends an audio and json file to the server.
    qudt:dataTypexsd:string
  • @typePropertyValue
    nameprocessed
    descriptionProcessed record date and time of the observation with UTC time zone 0. Format as YYYY-MM-DD hh:mm:ss.
    qudt:dataTypexsd:string
  • @typePropertyValue
    nametemperature
    descriptionAir temperature inside the trap at the time of measurement.
    unitTextdegree Celsius
    qudt:dataTypexsd:decimal
creator
  • @typeOrganization
    @idIrideon
    nameIrideon S.L
    identifierCIF:ESB57850257
    contactPoint
    @typeContactPoint
    nameBastian Faulhaber
    emailb.faulhaber@irideon.eu
    urlhttp://irideon.eu/
  • @typeOrganization
    @idASPB
    nameBarcelona Public Health Agency
    identifierCIF:ESP5890009C
    contactPoint
    @typeContactPoint
    nameTomas Montalvo
    emailtmontal@aspb.cat
    urlhttps://www.aspb.cat/
  • @typePerson
    @idZJ
    nameJužnič Zonta, Živko
    identifierhttps://orcid.org/0000-0002-2362-9771
    contactPoint
    @typeContactPoint
    contactTypedata engineer
    emailjzivko@gmail.com
    urlhttps://es.linkedin.com/in/zivko
measurementTechnique
  • Mosquito trap with real-time audio ML-classification
" ], "text/plain": [ "" ] }, "execution_count": 4, "metadata": {}, "output_type": "execute_result" } ], "source": [ "# NO CODE\n", "# FULL WIDTH\n", "with open(f'{path}.json') as f:\n", " data = json.load(f)\n", "\n", "table = json2html.convert(json=data, clubbing=False)\n", "table_sub = re.sub('', '', table)\n", "\n", "HTML(table_sub)\n", "\n", "# Run the following in the command line to build a html table\n", "# $ jupyter nbconvert --to html --no-input --no-prompt build_tables.ipynb\n" ] }, { "cell_type": "code", "execution_count": null, "id": "10a9ac8b", "metadata": { "papermill": { "duration": 0.007444, "end_time": "2024-07-01T13:29:30.247925", "exception": false, "start_time": "2024-07-01T13:29:30.240481", "status": "completed" }, "tags": [] }, "outputs": [], "source": [] } ], "metadata": { "interpreter": { "hash": "524d3359b179f3b444361f48db8ae048bd8c237924fac1cd48a4c6f8144f6452" }, "kernelspec": { "display_name": "Python 3.7.10 64-bit ('scidb': conda)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.10.4" }, "metadata": { "interpreter": { "hash": "e3961729dbf4ff77740ff872c9a3eef08621b5b434e3d8d81026af4505918c74" } }, "papermill": { "default_parameters": {}, "duration": 1.597635, "end_time": "2024-07-01T13:29:30.479342", "environment_variables": {}, "exception": null, "input_path": "build_info.ipynb", "output_path": "./meta_ipynb/senscape_traps.ipynb", "parameters": { "path": "./meta/mosquito_alert/senscape_traps" }, "start_time": "2024-07-01T13:29:28.881707", "version": "2.3.4" } }, "nbformat": 4, "nbformat_minor": 5 }