https://github.com/britishgeologicalsurvey/sensor-things-api-demo
Jupyter notebook & web maps demonstrating BGS sensor data access via SensorThingsAPI
https://github.com/britishgeologicalsurvey/sensor-things-api-demo
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.0%) to scientific vocabulary
Keywords
Repository
Jupyter notebook & web maps demonstrating BGS sensor data access via SensorThingsAPI
Basic Info
- Host: GitHub
- Owner: BritishGeologicalSurvey
- License: mit
- Language: Jupyter Notebook
- Default Branch: main
- Homepage: https://britishgeologicalsurvey.github.io/sensor-things-api-demo/
- Size: 44.1 MB
Statistics
- Stars: 1
- Watchers: 4
- Forks: 2
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
SensorThingsAPI demo
This repository contains examples for using the BGS Sensor Data service.
We have included a Jupyter notebook that demonstrates how to query and plot data from a SensorThingsAPI endpoint using Python. It is posted here to get users started with accessing environmental monitoring data from British Geological Survey sensors.These are published via an OGC SensorThingsAPI-compliant endpoint via the FROST Server software.
We have also included both Leaflet and OpenLayer web map examples: - Leaflet web map, view the code, view online - Openlayers web map, view the code, view online
BGS sensor data are available at https://sensors.bgs.ac.uk.
Follow the instructions below to install and run the demonstration Jupyter Notebook on your own machine. Alternatively, you can view the code and results in your browser. Click here for mobile-friendly version rendered by Jupyter nbviewer.
Prerequisites
- Python 3
- A Python 3 package manager e.g. pip3, conda
Installing dependencies
The following packages should be installed via pip3 or conda:
pip3 install -r requirements.txt
For developers
To test that the notebook runs to completion, extra packages are required:
bash
pip3 install -r requirements-dev.txt
Run the test with:
bash
pytest --nbval-lax sensor-things-api-demo.ipynb
Starting the notebook
The demo runs in a Jupyter notebook. Start the notebook with:
jupyter notebook
A browser window will open at http://localhost:8888 with a list of available notebooks.
Owner
- Name: British Geological Survey
- Login: BritishGeologicalSurvey
- Kind: organization
- Email: enquiries@bgs.ac.uk
- Location: Keyworth, Nottinghamshire
- Website: https://www.bgs.ac.uk
- Twitter: BritGeoSurvey
- Repositories: 71
- Profile: https://github.com/BritishGeologicalSurvey
The British Geological Survey is responsible for advising the UK government on geoscience and providing impartial advice to industry, academia and the public.
GitHub Events
Total
- Push event: 4
Last Year
- Push event: 4
Dependencies
- jupyter *
- matplotlib *
- numpy *
- pandas *
- requests *
- actions/checkout v3.3.0 composite
- actions/setup-python v4.5.0 composite
- descartes * development
- jupyter_client * development
- nbconvert * development
- nbval * development
- pytest * development