Skip to main content

API extension to the xcube server allowing cubes to be viewed in the Earthwave 4D viewer.

Project description

example workflow example workflow

xcube_4d_viewer

This repository is a plugin for the xcube server.

xcube (https://xcube.readthedocs.io/en/latest/overview.html) is a Python package for generating and exploiting data cubes powered by xarray, dask, and zarr. It also provides a web API and server which can be used to access and visualise these data cubes.

This repository serves as an API extension to the xcube server, allowing xcube data cubes to be analysed and visualised within Earthwave's 4D viewer. It computes configuration details and heatmap/3D heatmap/terrain tiles from the server's data cubes and provides them in a format expected by the 4D viewer.

In order to connect to Earthwave's 4D viewer, the API extension needs to know the address of Earthwave's Middle Tier service, and the xcube server using the extension needs to be externally accessible. Therefore, to make use of the API, two additional keys must be set in the server config file:

  • ServerExternalURL - the externally accessible URL of the xcube server. This should be set up by the user through a tool such as nginx.
  • MiddleTierURL - the current URL of the Middle Tier service. Please contact support@earthwave.co.uk for this information.

This work is done as part of the DeepESDL project (https://deepesdl.readthedocs.io/en/latest/).

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

xcube_4d_viewer-1.0.9.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

xcube_4d_viewer-1.0.9-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file xcube_4d_viewer-1.0.9.tar.gz.

File metadata

  • Download URL: xcube_4d_viewer-1.0.9.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for xcube_4d_viewer-1.0.9.tar.gz
Algorithm Hash digest
SHA256 87bdae5442749466d266fb88c1ea0bade52eeb222d5f345d63877d1a35782d3b
MD5 0fe5210f3e4f3fbcfe6f443fc136dc1d
BLAKE2b-256 c1cccc46413d0f8c62ce25c613c999e59561f83c7115340d3ad1971fb6d36057

See more details on using hashes here.

File details

Details for the file xcube_4d_viewer-1.0.9-py3-none-any.whl.

File metadata

File hashes

Hashes for xcube_4d_viewer-1.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 67b2d52e1ef7a36fb2612708167cf510e99e1981c32753088c6b8da3677c3060
MD5 09da5aac8d0e9faa76d98807e4ae7f37
BLAKE2b-256 9ff6a695140d18eb6fba2295af171662a8540a139459655585bcaef1009db37d

See more details on using hashes here.

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