跳转到主要内容

通过数字获取IOOS各种指标

项目描述

ioos-metrics

这是一个用于计算和编译关于美国综合海洋观测系统(U.S. IOOS®)的指标的库。U.S. IOOS®是追踪、预测、管理和适应我们海洋、沿海和五大湖环境变化的必要工具。

此仓库的意图之一是创建IOOS by the numbers的指标。

"IOOS by the Numbers"是一个IOOS的图形表示,它包括我们的合作伙伴关系、研究和观测组件以及数据管理能力。这个数字是每年更新的数字集合,显示了IOOS计划在成长和演变过程中的广泛性。这些数据来自多个来源。每个值的来源都记录在https://github.com/ioos/ioos_metrics/tree/main/ioos_metrics中定义的函数中。

安装说明

conda

conda install ioos-metrics

pip

pip install ioos-metrics

使用方法

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

网站

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

利用现有资源来自 https://github.com/noaa-fisheries-integrated-toolbox/toolbox_web_templating

网页是从 website/ 目录构建的。

文件 描述
*_config.json 配置网页上显示的资源。
create_asset_inventory_page.py 创建 https://ioos.github.io/ioos_metrics/asset_inventory.html 的脚本
create_gts_atn_page.py 创建 https://ioos.github.io/ioos_metrics/gts_atn.html 的脚本
create_gts_regional_landing_page.py 创建 https://ioos.github.io/ioos_metrics/gts_regional.html 的脚本
deploy/index.html 登录页面的 html 源代码 https://ioos.github.io/ioos_metrics/index.html
deploy/static/main.css 网站的 css 控制。

开发

在本地系统上创建网页

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

所有网页都将保存在 website/deploy。您可以使用网络浏览器查看本地 html 文件进行测试。

部署

该网站使用 GitHub Actions 和 GitHub Pages 生成。上述引用的 python 脚本被运行,然后将目录 website/deploy 作为工件上传到 GitHub Pages 以作为网站提供服务。每次向 main 分支推送时都会自动运行此过程。请参阅 此处

项目详情


下载文件

下载您平台的文件。如果您不确定要选择哪个,请了解更多关于 安装包 的信息。

源分发

ioos_metrics-0.5.0.tar.gz (13.6 kB 查看哈希值)

上传

构建分发

ioos_metrics-0.5.0-py3-none-any.whl (15.2 kB 查看哈希值)

上传 Python 3

由以下支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误日志 StatusPage StatusPage 状态页面