Skip to main content

No project description provided

Project description

xpublish-edr

PyPI Conda Version

Tests codecov pre-commit.ci status

Xpublish routers for the OGC EDR API.

Documentation and code

URLs for the docs and code.

Installation

For conda users you can

conda install --channel conda-forge xpublish_edr

or, if you are a pip users

pip install xpublish_edr

Example

import xarray as xr
import xpublish
from xpublish.routers import base_router, zarr_router
from xpublish_edr.cf_edr_router import cf_edr_router


ds = xr.open_dataset("dataset.nc")

rest = xpublish.Rest(
    datasets,
    routers=[
        (base_router, {"tags": ["info"]}),
        (cf_edr_router, {"tags": ["edr"], "prefix": "/edr"}),
        (zarr_router, {"tags": ["zarr"], "prefix": "/zarr"}),
    ],
)

Get in touch

Report bugs, suggest features or view the source code on GitHub.

License and copyright

xpublish-edr is licensed under BSD 3-Clause "New" or "Revised" License (BSD-3-Clause).

Development occurs on GitHub at https://github.com/gulfofmaine/xpublish-edr/issues.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xpublish_edr-0.1.1.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

xpublish_edr-0.1.1-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file xpublish_edr-0.1.1.tar.gz.

File metadata

  • Download URL: xpublish_edr-0.1.1.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for xpublish_edr-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1bdf05b5e23fa8d531ba24eaeb52da1b1f0e42fabfbeaebd109b8ba82addbe8d
MD5 78fd740d9c8610e86bed613fb276b65c
BLAKE2b-256 4e9d29d626a7dfe38311faefbe6e372827be181c7c4b5347c9338765c7257ee8

See more details on using hashes here.

Provenance

File details

Details for the file xpublish_edr-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: xpublish_edr-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for xpublish_edr-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 673dc71f1bf054c1b18e0a13c7e605c5a565f526778b9d4ace21499ee2a0ad62
MD5 631bad355c972c1cd1dd3600cb13ccdc
BLAKE2b-256 a840453a65e787b73e87fd63b48948d9bab178777b86eb78f3ddd137a119a050

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page