Name | dapclient JSON |
Version |
1.0.6
JSON |
| download |
home_page | None |
Summary | A client-only fork of pydap using the DAP protocol to access scientific data on the internet. |
upload_time | 2024-11-25 01:42:59 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.8 |
license | BSD-3-Clause |
keywords |
time-series
cli-app
aggregate
fill
filter
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
.. image:: https://github.com/timcera/dapclient/actions/workflows/pypi-package.yml/badge.svg
:alt: Tests
:target: https://github.com/timcera/dapclient/actions/workflows/pypi-package.yml
:height: 20
.. image:: https://img.shields.io/coveralls/github/timcera/dapclient
:alt: Test Coverage
:target: https://coveralls.io/r/timcera/dapclient?branch=master
:height: 20
.. image:: https://img.shields.io/pypi/v/dapclient.svg
:alt: Latest release
:target: https://pypi.python.org/pypi/dapclient/
:height: 20
.. image:: http://img.shields.io/pypi/l/dapclient.svg
:alt: BSD-3 clause license
:target: https://pypi.python.org/pypi/dapclient/
:height: 20
.. image:: http://img.shields.io/pypi/dd/dapclient.svg
:alt: dapclient downloads
:target: https://pypi.python.org/pypi/dapclient/
:height: 20
.. image:: https://img.shields.io/pypi/pyversions/dapclient
:alt: PyPI - Python Version
:target: https://pypi.org/project/dapclient/
:height: 20
dapclient - Quick Guide
=======================
dapclient is a client-only fork of the venerable pydap. It implements the
Opendap/DODS protocol. You can use dapclient to access scientific data on the
internet without having to download it; instead, you work with special array
and iterable objects that download data on-the-fly as necessary, saving
bandwidth and time.
Why fork pydap?
---------------
* Simplify the codebase by remove the server side code
* Update the code to use modern python 3.8+
* Up-to-date pypi and conda packages
This version has no additional features, and it only has a few tests. My
immediate goal is to have pip and conda packages to support my tsgettoolbox
package. I will add tests and features as time (and pull requests!) allow.
Quickstart
----------
You can install the latest version using
[pip](http://pypi.python.org/pypi/pip) or conda.
$ pip install dapclient
Also maintained on the conda-forge channel [conda channel](https://anaconda.org/conda-forge/dapclient)::
$ conda install -c conda-forge dapclient
This will install dapclient together with all the required
dependencies. You can now open any remotely served dataset, and dapclient
will download the accessed data on-the-fly as needed::
>>> from dapclient.client import open_url
>>> dataset = open_url('http://test.opendap.org/dap/data/nc/coads_climatology.nc')
>>> var = dataset['SST']
>>> var.shape
(12, 90, 180)
>>> var.dtype
dtype('>f4')
>>> data = var[0,10:14,10:14] # this will download data from the server
>>> data
<GridType with array 'SST' and maps 'TIME', 'COADSY', 'COADSX'>
>>> print(data.data)
[array([[[ -1.26285708e+00, -9.99999979e+33, -9.99999979e+33, -9.99999979e+33],
[ -7.69166648e-01, -7.79999971e-01, -6.75454497e-01, -5.95714271e-01],
[ 1.28333330e-01, -5.00000156e-02, -6.36363626e-02, -1.41666666e-01],
[ 6.38000011e-01, 8.95384610e-01, 7.21666634e-01, 8.10000002e-01]]], dtype=float32),
array([ 366.]),
array([-69., -67., -65., -63.]),
array([ 41., 43., 45., 47.])]
For more information, please check the documentation on [using dapclient
as a client](https://timcera.bitbucket.io/dapclient/client.html).
Raw data
{
"_id": null,
"home_page": null,
"name": "dapclient",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "time-series, cli-app, aggregate, fill, filter",
"author": null,
"author_email": "Tim Cera <tim@cerazone.net>",
"download_url": "https://files.pythonhosted.org/packages/d7/51/5145fbeff0b87d1b75c5f6d1f5a450e6ab714dcd307861fca45672805447/dapclient-1.0.6.tar.gz",
"platform": null,
"description": ".. image:: https://github.com/timcera/dapclient/actions/workflows/pypi-package.yml/badge.svg\n :alt: Tests\n :target: https://github.com/timcera/dapclient/actions/workflows/pypi-package.yml\n :height: 20\n\n.. image:: https://img.shields.io/coveralls/github/timcera/dapclient\n :alt: Test Coverage\n :target: https://coveralls.io/r/timcera/dapclient?branch=master\n :height: 20\n\n.. image:: https://img.shields.io/pypi/v/dapclient.svg\n :alt: Latest release\n :target: https://pypi.python.org/pypi/dapclient/\n :height: 20\n\n.. image:: http://img.shields.io/pypi/l/dapclient.svg\n :alt: BSD-3 clause license\n :target: https://pypi.python.org/pypi/dapclient/\n :height: 20\n\n.. image:: http://img.shields.io/pypi/dd/dapclient.svg\n :alt: dapclient downloads\n :target: https://pypi.python.org/pypi/dapclient/\n :height: 20\n\n.. image:: https://img.shields.io/pypi/pyversions/dapclient\n :alt: PyPI - Python Version\n :target: https://pypi.org/project/dapclient/\n :height: 20\n\ndapclient - Quick Guide\n=======================\ndapclient is a client-only fork of the venerable pydap. It implements the\nOpendap/DODS protocol. You can use dapclient to access scientific data on the\ninternet without having to download it; instead, you work with special array\nand iterable objects that download data on-the-fly as necessary, saving\nbandwidth and time.\n\nWhy fork pydap?\n---------------\n* Simplify the codebase by remove the server side code\n* Update the code to use modern python 3.8+\n* Up-to-date pypi and conda packages\n\nThis version has no additional features, and it only has a few tests. My\nimmediate goal is to have pip and conda packages to support my tsgettoolbox\npackage. I will add tests and features as time (and pull requests!) allow.\n\nQuickstart\n----------\nYou can install the latest version using\n[pip](http://pypi.python.org/pypi/pip) or conda.\n\n $ pip install dapclient\n\nAlso maintained on the conda-forge channel [conda channel](https://anaconda.org/conda-forge/dapclient)::\n\n $ conda install -c conda-forge dapclient\n\nThis will install dapclient together with all the required\ndependencies. You can now open any remotely served dataset, and dapclient\nwill download the accessed data on-the-fly as needed::\n\n >>> from dapclient.client import open_url\n >>> dataset = open_url('http://test.opendap.org/dap/data/nc/coads_climatology.nc')\n >>> var = dataset['SST']\n >>> var.shape\n (12, 90, 180)\n >>> var.dtype\n dtype('>f4')\n >>> data = var[0,10:14,10:14] # this will download data from the server\n >>> data\n <GridType with array 'SST' and maps 'TIME', 'COADSY', 'COADSX'>\n >>> print(data.data)\n [array([[[ -1.26285708e+00, -9.99999979e+33, -9.99999979e+33, -9.99999979e+33],\n [ -7.69166648e-01, -7.79999971e-01, -6.75454497e-01, -5.95714271e-01],\n [ 1.28333330e-01, -5.00000156e-02, -6.36363626e-02, -1.41666666e-01],\n [ 6.38000011e-01, 8.95384610e-01, 7.21666634e-01, 8.10000002e-01]]], dtype=float32),\n array([ 366.]),\n array([-69., -67., -65., -63.]),\n array([ 41., 43., 45., 47.])]\n\nFor more information, please check the documentation on [using dapclient\nas a client](https://timcera.bitbucket.io/dapclient/client.html).\n",
"bugtrack_url": null,
"license": "BSD-3-Clause",
"summary": "A client-only fork of pydap using the DAP protocol to access scientific data on the internet.",
"version": "1.0.6",
"project_urls": {
"bitbucket": "https://bitbucket.org/timcera/dapclient/src/main/",
"documentation": "https://timcera.bitbucket.io/dapclient/docs/index.html#dapclient-documentation",
"github": "https://github.com/timcera/dapclient"
},
"split_keywords": [
"time-series",
" cli-app",
" aggregate",
" fill",
" filter"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4368db320dca455fb6894c782e7dc914965030e1b65bfbf48baa744cbf045b93",
"md5": "6eba8f94a5dc6b054395da74e6cbb9b3",
"sha256": "07b46251ab942225b56db084e6a3fb26919895c542e348b89b3922468a3a0368"
},
"downloads": -1,
"filename": "dapclient-1.0.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6eba8f94a5dc6b054395da74e6cbb9b3",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 53064,
"upload_time": "2024-11-25T01:42:57",
"upload_time_iso_8601": "2024-11-25T01:42:57.762911Z",
"url": "https://files.pythonhosted.org/packages/43/68/db320dca455fb6894c782e7dc914965030e1b65bfbf48baa744cbf045b93/dapclient-1.0.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d7515145fbeff0b87d1b75c5f6d1f5a450e6ab714dcd307861fca45672805447",
"md5": "e30f7d19f2eaf9cdb1443720ab1d4cd0",
"sha256": "f38b133561009aaf9a0af5414753a2619f504fac26f3669e10a2f8db4739d70c"
},
"downloads": -1,
"filename": "dapclient-1.0.6.tar.gz",
"has_sig": false,
"md5_digest": "e30f7d19f2eaf9cdb1443720ab1d4cd0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 2225210,
"upload_time": "2024-11-25T01:42:59",
"upload_time_iso_8601": "2024-11-25T01:42:59.884742Z",
"url": "https://files.pythonhosted.org/packages/d7/51/5145fbeff0b87d1b75c5f6d1f5a450e6ab714dcd307861fca45672805447/dapclient-1.0.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-25 01:42:59",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "timcera",
"github_project": "dapclient",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "dapclient"
}