thredds目录客户端
threddsclient的Python项目详细描述
=====
thredds-thredds-thredds-thredds-thredds-thredds-thredds-python客户端
===============
====
===========
anaconda
----
版本下载
thredds客户端可作为水蟒套餐提供。使用
以下命令安装:
…代码::bash
$conda install-c birdhouse-c conda forge threddsclient
github
----
>从birdy github repo签出代码并开始安装:
代码::bash
$git clone https://github.com/bird house/threddsclient.git
$cd threddsclient
$conda env create-f environment.yml
$source activate threddsclient
$python setup.py develop
客户机
=======
阅读thredds目录教程:`thredds catalog
primer<;http://www.unidata.ucar.edu/software/thredds/current/tds/tutorial/catalogprimer.html>;`\uuu
代码::python
import threddsclient
urls=threddsclient.download戋urls('http://example.com/thredds/catalog.xml')
获取目录的opendap url
代码::python
import threddsclient
url=threddsclient.opendap_url('http://example.com/thredds/catalog.xml')
代码::python
import threddsclient
cat=threddsclient.read_url('http://example.com/thredds/catalog.xml')
代码::python
cat2=refs[0].follow()
代码::python
data=cat.datasets
获取目录中所有直接数据集(数据文件)的平面列表
…代码::python
datasets=cat.flat_datasets()
>获取目录中所有引用的平面列表
…代码::python
references=cat.flat_references()
craw thredds catalog
---------
在给定深度停止重复。
…代码::python
import threddsclient
for ds in threddsclient.crawl('http://example.com/thredds/catalog.xml',深度=2):
打印ds.name
开发
==
安装源代码
==
从Birdy Github repo签出代码并开始安装:
。代码块::sh
$git clone https://github.com/bird house/threddsclient.git
$cd threddsclient
$conda env create-f environment.yml
$python setup.py develop
install additional dependencies::
$conda install pytest flake8 sphinx bumpversion
或者
$pip install-r requirements_dev.txt
==
按以下步骤制作新版本的birdy:
*确保所有内容都提交给github。
*使用下一个版本更新"changes.rst"。
*试运行:``bumpversion--试运行--详细--新版本的0.3.4修补程序``
*执行:``bumpversion--新版本的0.3.4修补程序``
*…或者:``bumpversion--new version 0.4.0 minor``
*推送:``git push--tags`
有关详细信息,请参阅bumpversion\>文档。
。_ bumpversion:https://pypi.org/project/bumpversion/
ipython笔记本的示例
========
-`noaa thredds
catalog<;http://nbviewer.ipython.org/githhub/bird-house/threddsclient/blob/master/examples/noaa_example.ipynb>;`
…|特拉维斯建筑图片:https://travis-ci.org/bird-house/threddsclient.svg?branch=master
:目标:https://travis ci.org/bird house/threddsclient
…|使用conda image::https://anaconda.org/birdhouse/threddsclient/badges/installer/conda.svg
:目标:https://anaconda.org/birdhouse/threddsclient
。|许可证图像::https://anaconda.org/birdhouse/threddsclient/badges/license.svg
:目标:https://anaconda.org/birdhouse/threddsclient
。|加入聊天室图像::https://badges.gitter.im/bird house/birdhouse.svg
:目标:https://gitter.im/bird-house/birdhouse?联合技术手册来源=徽章和联合技术手册媒介=徽章和联合技术手册活动=公关徽章和联合技术手册内容=徽章
…|版本图像::https://anaconda.org/birdhouse/threddsclient/badges/version.svg
:目标:https://anaconda.org/birdhouse/threddsclient
。|下载图像::https://anaconda.org/birdhouse/threddsclient/badges/downloads.svg
:目标:https://anaconda.org/birdhouse/threddsclient
authors
*****
*scott wales scott.wales@unimelb.edu.au
*carsten ehbrecht在dkrz.de
变化
******
<0.3.5(2018-10-05(2018-10-10-05)0.3.5(2018-2018-10-10-10-05)0.3.5(2018-10-05)0.x(1)支持pythonython3.x(1)0.x(
*更新的文档
>0.3.3(2015-10-10-24)
=
=======
*将文件转换为RST。
*增加了清单。
<0.3.2(2015-07-15)0.3.2(2015-07-15)
==========
=
==
<0.3.2 0.3.2(2015-3====
*已修复follow()
>*使用dataset.downloau-url()
*新增ipython示例
*清理自述
>0.3.0(2015-06-13)0.3.0(2015-06-06-13)0.3.0(2015-06-06-13)0.3.0(2015-06-06-13)0.2.0(2015-06-06-08)0.2.0(2015-06-06-08)0 0.2.2.0(2015-06-08)0
>
>*新增catalog.opendap-u-url()
>0.0.2.2.0(2015-06-06-08)0 0 0.0(2015-06-06-08)0>
*重构
*使用CollectionDataSet
*增加了目录。下载
0.1.1.1(2015-06-05)0.1.1(2015-06-05)0.1.1(2015-06-05)0.1.1(2015-06-05)0.1.1.1.1.1.1.0.1.1.1(2015-06-06-05)0.1.1.1.0(2015-03-13)0.1.1.0(2015-03-03-13)0.1.1.1.1.1
>
===br/>==
=
==
====
=
=
*版本:https://gith是的。
thredds-thredds-thredds-thredds-thredds-thredds-thredds-python客户端
===============
====
===========
anaconda
----
版本下载
thredds客户端可作为水蟒套餐提供。使用
以下命令安装:
…代码::bash
$conda install-c birdhouse-c conda forge threddsclient
github
----
>从birdy github repo签出代码并开始安装:
代码::bash
$git clone https://github.com/bird house/threddsclient.git
$cd threddsclient
$conda env create-f environment.yml
$source activate threddsclient
$python setup.py develop
客户机
=======
阅读thredds目录教程:`thredds catalog
primer<;http://www.unidata.ucar.edu/software/thredds/current/tds/tutorial/catalogprimer.html>;`\uuu
代码::python
import threddsclient
urls=threddsclient.download戋urls('http://example.com/thredds/catalog.xml')
获取目录的opendap url
代码::python
import threddsclient
url=threddsclient.opendap_url('http://example.com/thredds/catalog.xml')
代码::python
import threddsclient
cat=threddsclient.read_url('http://example.com/thredds/catalog.xml')
代码::python
代码::python
data=cat.datasets
获取目录中所有直接数据集(数据文件)的平面列表
…代码::python
datasets=cat.flat_datasets()
>获取目录中所有引用的平面列表
…代码::python
references=cat.flat_references()
craw thredds catalog
---------
在给定深度停止重复。
…代码::python
import threddsclient
for ds in threddsclient.crawl('http://example.com/thredds/catalog.xml',深度=2):
打印ds.name
开发
==
安装源代码
==
从Birdy Github repo签出代码并开始安装:
。代码块::sh
$git clone https://github.com/bird house/threddsclient.git
$cd threddsclient
$conda env create-f environment.yml
$python setup.py develop
install additional dependencies::
$conda install pytest flake8 sphinx bumpversion
或者
$pip install-r requirements_dev.txt
按以下步骤制作新版本的birdy:
*确保所有内容都提交给github。
*使用下一个版本更新"changes.rst"。
*试运行:``bumpversion--试运行--详细--新版本的0.3.4修补程序``
*执行:``bumpversion--新版本的0.3.4修补程序``
*…或者:``bumpversion--new version 0.4.0 minor``
*推送:``git push--tags`
有关详细信息,请参阅bumpversion\>文档。
。_ bumpversion:https://pypi.org/project/bumpversion/
ipython笔记本的示例
========
-`noaa thredds
catalog<;http://nbviewer.ipython.org/githhub/bird-house/threddsclient/blob/master/examples/noaa_example.ipynb>;`
…|特拉维斯建筑图片:https://travis-ci.org/bird-house/threddsclient.svg?branch=master
:目标:https://travis ci.org/bird house/threddsclient
…|使用conda image::https://anaconda.org/birdhouse/threddsclient/badges/installer/conda.svg
:目标:https://anaconda.org/birdhouse/threddsclient
。|许可证图像::https://anaconda.org/birdhouse/threddsclient/badges/license.svg
:目标:https://anaconda.org/birdhouse/threddsclient
。|加入聊天室图像::https://badges.gitter.im/bird house/birdhouse.svg
:目标:https://gitter.im/bird-house/birdhouse?联合技术手册来源=徽章和联合技术手册媒介=徽章和联合技术手册活动=公关徽章和联合技术手册内容=徽章
…|版本图像::https://anaconda.org/birdhouse/threddsclient/badges/version.svg
:目标:https://anaconda.org/birdhouse/threddsclient
。|下载图像::https://anaconda.org/birdhouse/threddsclient/badges/downloads.svg
:目标:https://anaconda.org/birdhouse/threddsclient
authors
*****
*scott wales scott.wales@unimelb.edu.au
*carsten ehbrecht在dkrz.de
变化
******
<0.3.5(2018-10-05(2018-10-10-05)0.3.5(2018-2018-10-10-10-05)0.3.5(2018-10-05)0.x(1)支持pythonython3.x(1)0.x(
*更新的文档
>0.3.3(2015-10-10-24)
=
=======
*将文件转换为RST。
*增加了清单。
<0.3.2(2015-07-15)0.3.2(2015-07-15)
==========
=
==
<0.3.2 0.3.2(2015-3====
*已修复follow()
>*使用dataset.downloau-url()
*新增ipython示例
*清理自述
>0.3.0(2015-06-13)0.3.0(2015-06-06-13)0.3.0(2015-06-06-13)0.3.0(2015-06-06-13)0.2.0(2015-06-06-08)0.2.0(2015-06-06-08)0 0.2.2.0(2015-06-08)0
>
>*新增catalog.opendap-u-url()
>0.0.2.2.0(2015-06-06-08)0 0 0.0(2015-06-06-08)0>
*重构
*使用CollectionDataSet
*增加了目录。下载
0.1.1.1(2015-06-05)0.1.1(2015-06-05)0.1.1(2015-06-05)0.1.1(2015-06-05)0.1.1.1.1.1.1.0.1.1.1(2015-06-06-05)0.1.1.1.0(2015-03-13)0.1.1.0(2015-03-03-13)0.1.1.1.1.1
>
===br/>==
=
==
====
=
=
*版本:https://gith是的。