pgx
PGX — Lightweight Postgres for AI agents. Written in Rust. Thousands of isolated databases in one runtime. 🐘
Translation pending
An always-on, multi-cloud data platform bridging operational data to high-impact products and services, accelerating research from idea to operations, with secure data access.
DataPythonGitHub @AQUAVIEW-DAHOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
AQUAVIEW Python SDK
Translation pending
Taken from the repository README
Loading the full README. The saved excerpt is shown below.
Python SDK for the AQUAVIEW oceanographic and environmental data catalog.
Beyond catalog search, aquaview.Client exposes AQUAVIEW's data sources and
curated collections:Read the full README ↗Python SDK for the AQUAVIEW oceanographic and environmental data catalog.
📖 Full API reference: docs/api-reference.md
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
pip install aquaview
import aquaview
client = aquaview.connect()
# List STAC collections
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"))
# 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()
Beyond catalog search, aquaview.Client exposes AQUAVIEW's data sources and
curated collections:
import aquaview
client = aquaview.Client()
# Queryable data sources (id, description, variables, limits, columns)
for src in client.get_sources():
print(src["source_id"], "—", src["description"])
# One source's detail
wod = client.get_source("WOD")
print(wod["canonical_variables"])
# Curated, theme-based collections (region / platform / use case)
for col in client.get_curated_collections():
print(col["id"], "—", col["title"])
# Search still works — it delegates to pystac-client
search = client.search(collections=["IOOS"], bbox=[-71, 42, -70, 43], limit=5)
for item in search.items():
print(item.id)
get_data() slices a source and returns the bytes, or streams them straight to
a file:
client.get_data(
"WOD",
variables=["temperature", "salinity"],
bbox=[-71, 42, -70, 43],
datetime="2020-01-01/2020-12-31",
limit=1000,
format="csv", # parquet | csv | arrow | ipc | netcdf
to_file="wod.csv", # omit to get the bytes back instead
)
# Similar datasets, and the Beacon schema
client.get_similar("IOOS", "unit_1190-20241218T1433-delayed", limit=5)
client.get_schema()
For pulls too big to stream inline, run them as a background job. submit_export
returns a handle you poll and then download — the result is partitioned into one
file per time shard. Requires an API key.
client = aquaview.Client(api_key="sk_...")
job = client.submit_export("WOD", ["temperature"], bbox=[-80, 20, -60, 45])
job.wait() # blocks until done (or raises JobError)
paths = job.download("wod_export/") # -> ["wod_export/part-0000.parquet", ...]
# Or fire-and-forget:
job = client.submit_export("WOD", ["temperature"])
job.status() # {"status": "running", "progress": {...}, ...}
Pass an API key (mint one in the portal under Settings → API keys) — or set
AQUAVIEW_API_KEY — to reach gated data and account endpoints:
client = aquaview.Client(api_key="sk_...")
client.get_usage() # your usage, limits, warnings
client.interpret("warm water off Florida in 2024") # NL → structured filters
# Ask the agent — chat() returns the final answer; chat_stream() yields live events
print(client.chat("what glider data is off the east coast?"))
for event in client.chat_stream("summarize WOD coverage in the Gulf"):
print(event["event"], event["data"])
Errors come back as aquaview.AquaviewAPIError with .status, .code
(e.g. query_too_large), .message, and the raw .payload.
aquaview.Client is the full surface:
| Area | Methods |
|---|---|
| Search (STAC) | search(), get_collections(), get_collection(id) |
| Sources & collections | get_sources(), get_source(id), get_curated_collections() |
| Data & discovery | get_data(...), submit_export(...) → ExportJob, get_similar(...), get_schema() |
| Account (needs key) | get_usage() |
| NL & chat | interpret(query), chat(message), chat_stream(message) |
aquaview.connect() remains a shortcut that returns a
pystac_client.Client for
search-only use.
MIT