Skip to main content

mecoda-logo Mecoda-Orange

Orange Data Mining Widgets to analyse data from science citizen observatories.

This repository includes different Orange Data Mining widgets to access data from Natusfera and Odour Collect APIs.

natusfera-logo Natusfera widget

The widget collect observations from Natusfera API and allows filter them by:

Argument Descrition Example
Search by words Word or phrase found in the data of an observation query="quercus quercus"
Project name Name of a project project_name="urbamar"
User name Name of user who has uploaded the observations user="zolople"
Place Name of a place place_name="Barcelona"
Taxon One of the main taxonomies taxon="fungi"
Year Year of observations year=2019
Id of observation Identification number of a specific observation id_obs=425
Max. number of results The max. number should be under 20.000 (API limit) num_max=800
natusfera-widget

The Natusfera widget integrates the Python library mecoda-nat into a visual interface. You can make any query and download two outputs, a dataframe with one observation per row and a dataframe with one photo per row. A single observation can have more than a photo.

The observations table allows statistical analysis. The photos table allows image analysis.

The widget is complemented with two other widgets that can take input from it:

get-images get_images

This widget takes a Table with observations (and a column with ids from Natusfera) and get the photos from all of them. Works with data from Natusfera API.

The output is a Table with an image type feature that can be accessed using Image viewer.

extra-info extra_info

This widget takes a Table with observations (and a column with ids from Natusfera) and get extra information from Natusfera observations.

odourcollect-logo OdourCollect widget

The Odour Collect widget allows to get observations from Odour Collect API. The widget looks like this:

odour-collect-widget

The widget has different search fields: date, annoy level, intensity level, category and type. Besides the observations can be complemented with the distance from a Point of Interest, if this is set.

The output is a Table of observations, with this information:

field description
user OdourCollect's user ID of the citizen that registered the observation.
date Observation date in yyyy-mm-dd format.
time Observation time in HH:mm (24h) format, UTC timezone.
week_day Observation day of week. This field is extra data calculated by PyOdourCollect to help the analyst in finding patterns. Please bear in mind that this calculation is based on UTC, not local time, so it could be misleading in some edge cases.
category First tier of odour classification. In OdourCollect webapp, this is called "type". It provides complementary classification nuances that can be safely ignored for basic analysis. See the full table below for better understanding.
type Second tier of odour classification. In OdourCollect webapp, this is called "subtype". It provides the richest odour classification criteria. See the full table below for better understanding.
hedonic_tone_n Hedonic tone of odour observation (numeric representation). Hedonic tone is the subjective measurement of how annoyant an odour is, from -4 (Extremely unpleasant) to +4 (Extremely pleasant). Zero is used to report nor annoyance nor pleasure. This scale is based on the VDI 3940:2006 standard for odour impact assessement.
hedonic_tone_t Text description version of the former metric.
intensity_n Intensity of odour observation (numeric representation). Intensity is the measurement of how intense and noticeable an odour is, from 1 (Very weak) to 6 (Extremely strong). Zero (Not perceptible) is also used, but only to report absence of odour in observations. This scale is based on the VDI 3940:2006 standard for odour impact assessement.
intensity_t Text description version of the former metric.
duration Metric informing for how much time an odour has been perceived by reporter. Categorical text data with following self-explanatory options: (No odour),Punctual,Continuous in the last hour and Continuous throughout the day
latitude GPS coordinates of observation. Latitude.
longitude GPS coordinates of observation. Longitude.
distance Distance in Kms (with an accuracy of 0.01 Kms.) between the point of observation and a configurable Point of Interest (POI). This extra data is calculated by PyOdourCollect when the data analyst provides a set of coordinates for a given suspicious activity that motivates his/her analysis. In case that no POI coordinates are provided, this field is missing.
time_hour Observation time in HH (24h) format, UTC timezone.
time_mins Observation time in mm (0-60') format, UTC timezone.
time_secs Observation time in ss (0-60'') format, UTC timezone.

canairio_logo.png CanAIRio Fixed Stations

The widget allows to get observations from fixed stations through CanAIRio API. The widget looks like this:

canairio_fixed_widget

The widget filters between the different measurements and gets a dataframe with all data from fixed stations at the request moment.

When selecting data from one of the stations, it can be combined with another widget (Last Hour Fixed Station) to get data from the last recorded data of this station.

canairio_fixed_widget

The output of Last Hour Fixed Station widget is a dataframe with last registered measurements from this station.

canairio_logo.png CanAIRio Mobile Stations

The widget gets observations from all the mobile stations registered by CanAIRio API.

canairio_fixed_widget

The output is a dataframe with these variables:

Field Description
date
timestamp
index
devideID Identification from the mobile device
lastLat Latitude from the last point of the registered track
lastLon Longitude from the last point of the registered track
name
size
distance
tmp
pre
hum
P4
P1
CO2T
CO2H
CO2
spd
lon
lat
alt
P25
P10

The output can be placed in a map and colored by any parameter:

canairio_fixed_widget

We can select one device and get the complete track of the route using Track - Mobile Station. This is the result placed in a map:

canairio_fixed_widget

The point can be coloured by any measurement.

This example can be loaded as a workflow (.ows format) directly in Orange Canvas:

canairio_fixed_widget

Metadata

Release files for mecoda-orange 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mecoda-orange 1.0.2
File Size Uploaded Provenance Actions
mecoda_orange-1.0.2.tar.gz 633.8 kB Without provenance Details for mecoda_orange-1.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mecoda-orange 1.0.2
File Interpreter ABI Platform Actions
mecoda_orange-1.0.2-py3-none-any.whl Python 3 none any Details for mecoda_orange-1.0.2-py3-none-any.whl

Total release size: 2.3 MB

Release files / mecoda_orange-1.0.2.tar.gz

Download URL mecoda_orange-1.0.2.tar.gz
Size 633.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c4f40be59522d23016c3cf64c6a1f33a034cfdce16945f59b5ed07d2658a87c1
BLAKE2b-256 checksum
How to use checksums
771ed8d316b0af48607f7ed6ad2fe5555d884cce987be3a43aa7b392aa744f23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/18.0.1 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.10

Release files / mecoda_orange-1.0.2-py3-none-any.whl

Download URL mecoda_orange-1.0.2-py3-none-any.whl
Size 1.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
8a76ffd71e97c6683677246d318e3c61cb069ebffc92f85a599b81505bed54ef
BLAKE2b-256 checksum
How to use checksums
f0d8522a7fab593bc84436da1668423e95069152f44d91131219eb78e15b4ff6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/18.0.1 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.10

Security for mecoda-orange 1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page