Skip to main content

Python SDK for the AQUAVIEW oceanographic and environmental data catalog

Project description

AQUAVIEW Python SDK

PyPI version Python 3.10+ License: MIT

Python SDK for the AQUAVIEW oceanographic and environmental data catalog.

Other ways to access AQUAVIEW

AI agents: https://mcp.aquaview.org/mcp (learn more)

Interactive discovery map: https://aquaview.org/explore

Read more on our blog: https://aquaview.org/blog

Installation

pip install aquaview

Quick Start

import aquaview

client = aquaview.connect()

# List data sources
for col in client.get_collections():
    print(f"{col.id}: {col.title}")

# Search for datasets
search = client.search(
    collections=["IOOS"],
    bbox=[-71, 42, -70, 43],
    datetime="2023-01-01/2023-12-31",
    limit=10,
)

for item in search.items():
    print(item.id, item.properties.get("title"))

More Examples

# Multiple collections, bounding box, time range
search = client.search(
    collections=["NDBC", "IOOS"],
    bbox=[-75, 35, -70, 40],
    datetime="2024-01-01/2024-12-31",
)

# CQL2 property filters
search = client.search(
    filter={
        "op": "like",
        "args": [{"property": "aquaview:variables"}, "%temperature%"],
    },
    filter_lang="cql2-json",
)

# As GeoJSON
fc = client.search(collections=["IOOS"], limit=5).item_collection_as_dict()

API

aquaview.connect() returns a pystac_client.Client. The full pystac-client API works: search, collections, queryables, pagination, etc.

License

MIT

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

aquaview-0.4.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aquaview-0.4.0-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file aquaview-0.4.0.tar.gz.

File metadata

  • Download URL: aquaview-0.4.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for aquaview-0.4.0.tar.gz
Algorithm Hash digest
SHA256 c346e9f5c3eb03f62064dba824a3c3f9b7d3cea8b8607cc497ecefacf4d44601
MD5 b0f5e8ec2f4fd4447a73adbccb9755d9
BLAKE2b-256 20f7fef644b34a41ebc9c9216e9249ba3b4fc6b95f6cc2faa7e38fb2a12c7993

See more details on using hashes here.

File details

Details for the file aquaview-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: aquaview-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for aquaview-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1f6b325f0e75ce5c42f43eb4aac25fec2aaac125993f4486e134a3d8f566ef92
MD5 bfacd94ffbf8c8277d8d5ffecbf54d6b
BLAKE2b-256 c7a59feb72a808a2d5ea8a940797b70aca7f252d0c03fcdb36e6a718451d0ede

See more details on using hashes here.

Supported by

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