Skip to main content

ioos-metrics

A library to compute and compile metrics about the U.S. Integrated Ocean Observing System (U.S. IOOS®). U.S. IOOS® is a vital tool for tracking, predicting, managing, and adapting to changes in our ocean, coastal and Great Lakes environment.

Part of the intent of this repository is to create metrics for the IOOS by the numbers.

"IOOS by the Numbers" is was developed as a graphical representation of IOOS -- a system of includes our partnerships, research and observing components, and data management capabilities. This figure is an annually updated collection of numbers that show the breadth of the IOOS Program as it is growing and evolving. These data are obtained from multiple sources. The source for each value is captured in the functions defined at https://github.com/ioos/ioos_metrics/tree/main/ioos_metrics.

Installation instructions:

conda

conda install ioos-metrics

pip

pip install ioos-metrics

Usage

See https://github.com/ioos/ioos_metrics/tree/main/notebooks

Website

url: https://ioos.github.io/ioos_metrics/

Leveraged existing resources from https://github.com/noaa-fisheries-integrated-toolbox/toolbox_web_templating.

The webpages are built from the website/ directory.

File(s) Description
*_config.json configuration for what resources to present on the webpages.
create_asset_inventory_page.py script to create https://ioos.github.io/ioos_metrics/asset_inventory.html
create_gts_atn_page.py script to create https://ioos.github.io/ioos_metrics/gts_atn.html
create_gts_regional_landing_page.py script to create https://ioos.github.io/ioos_metrics/gts_regional.html
deploy/index.html html source for landing page https://ioos.github.io/ioos_metrics/index.html
deploy/static/main.css css control for website.

Development

To create the webpages on your local system

git clone https://github.com/ioos/ioos_metrics.git
cd ioos_metrics/website
python create_asset_inventory_page.py
python create_gts_atn_landing_page.py
python create_gts_regional_landing_page.py

All the webpages will be saved to website/deploy. You can view the local html files with a web browser for testing.

Deployment

The website is generated using GitHub Actions and GitHub Pages. The python scripts, referenced above, are ran and the directory website/deploy is then uploaded as an artifact for GitHub Pages to serve as a website. This process is automatically ran with every push to the main branch. See here.

Release files for ioos-metrics 0.7.0

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

Source distribution (sdist)

Source distribution for ioos-metrics 0.7.0
File Size Uploaded
ioos_metrics-0.7.0.tar.gz 14.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ioos-metrics 0.7.0
File Interpreter ABI Platform
ioos_metrics-0.7.0-py3-none-any.whl Python 3 none any Details

Total release size: 29.7 kB

Release files / ioos_metrics-0.7.0.tar.gz

Download URL ioos_metrics-0.7.0.tar.gz
Size 14.4 kB
Tags Source
SHA-256 checksum
How to use checksums
41777d57d179df798ee27fd6a217385979e4e2dbe67fce18f868e20bef0a45ec
BLAKE2b-256 checksum
How to use checksums
82fce3d25562e18d89c57b2d712b8a1458c2ca5a63c6837792b64b88fad22ad6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / ioos_metrics-0.7.0-py3-none-any.whl

Download URL ioos_metrics-0.7.0-py3-none-any.whl
Size 15.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ebc5fc22764728a7cd1a8a07b3bedd48b9de35ffc47d8ec9426c2fd316ba1bfd
BLAKE2b-256 checksum
How to use checksums
48bd10942abd467da2a223960af65b3abdfd88bba8c0ece82331aa5190addb1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9
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