Skip to main content

WMS plugin for xpublish

Project description

xpublish-wms

Tests

Xpublish routers for the OGC WMS API.

Documentation and code

URLs for the docs and code.

Installation

This package is not yet published to pypi, so install from source with pip:

git+https://github.com/asascience-open/xpublish-wms@72ee989

Example

import xarray as xr
import xpublish
from xpublish.routers import base_router, zarr_router
from xpublish_wms import cf_wms_router


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

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

Get in touch

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

License and copyright

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

Development occurs on GitHub at https://github.com/asascience-open/xpublish-wms.

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_wms-0.1.dev71.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

xpublish_wms-0.1.dev71-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file xpublish_wms-0.1.dev71.tar.gz.

File metadata

  • Download URL: xpublish_wms-0.1.dev71.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.15

File hashes

Hashes for xpublish_wms-0.1.dev71.tar.gz
Algorithm Hash digest
SHA256 29a2b2eb41346a349696b98e95cacba5059be2afd0fb35e525fa6fd48ef366ce
MD5 a415b70cecfd30adf051afb8303e3f7f
BLAKE2b-256 18d3ed03da99fbfbcd6135bd0df7d1249b24b2d29fb892cc435067f5e62845b8

See more details on using hashes here.

Provenance

File details

Details for the file xpublish_wms-0.1.dev71-py3-none-any.whl.

File metadata

File hashes

Hashes for xpublish_wms-0.1.dev71-py3-none-any.whl
Algorithm Hash digest
SHA256 61010698426af1a12d1b73dc7dbe7746265e04c5369ffdda58eba7ff99210999
MD5 b3e19b354c42135aebc2b65eb5edd68c
BLAKE2b-256 83536500dc3c0afd0280d8b5f9902d714d710a0ca998e5ac50fd54f8af59ece6

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