This project has been archived by its maintainers, and is no longer receiving any updates.
ARCHIVED! Please use pydap instead. I forked this from pydap because for a long time pydap wasn't maintained and didn't have working pypi or conda-forge packages. Since then pydap contributors have made incredible progress on pydap, way beyond what I could hope to add or support in dapclient. So I am deprecating/archiving the dapclient project. I have already moved my tsgettoolbox to using pydap.
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).
Metadata
Release files for dapclient 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dapclient-2.0.0.tar.gz | 2.3 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dapclient-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.3 MB
Release files / dapclient-2.0.0.tar.gz
| Download URL | dapclient-2.0.0.tar.gz |
|---|---|
| Size | 2.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
efe166bba14561dd8031ada69266d90003354adddd6a1f53cee06096a65566d2
|
|
BLAKE2b-256 checksum How to use checksums |
3631e6cc0239636e01fc37a03d70b72c887943d50d7ddbcfcfbb73dde180434a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 30, 2026.
Transparency logRelease files / dapclient-2.0.0-py3-none-any.whl
| Download URL | dapclient-2.0.0-py3-none-any.whl |
|---|---|
| Size | 86.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5f0791296a2ebdee0b854736b15529337df66f82714c5bdd7a07ddf0a13e9aec
|
|
BLAKE2b-256 checksum How to use checksums |
78a9579be381a9dc496218fe69456644721cabb1f914ff412118ff8f3ebd438c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 30, 2026.
Transparency log