Actris DVAS API Client
DVAS - Data Discovery, Virtual Access and Services - is a platform developed by Actris to facilitate the discovery, access, and use of atmospheric data. The Actris DVAS API provides programmatic access to the metadata in DVAS, allowing users to explore the available metadata.
This is the Python client for accessing the metadata in the Actris DVAS API. It provides a simple interface for retrieving metadata.
The metadata in DVAS is subject to the CC-BY-4.0 license, which means that you are free to use, share, and adapt the metadata as long as you give appropriate credit to the original source, provide a link to the license, and indicate if changes were made. For more information about the CC-BY-4.0 license, please visit Creative Commons.
Installation
You can install the Actris DVAS API client using pip:
pip install dvas-api-client
Basic Usage
#!/usr/bin/env python3
from pprint import pprint
from dvas.client import BoolQuery, QueryField, SortType, PROD_API
from dvas.client import search
query = (
BoolQuery()
.must(QueryField.DATASET_REPOSITORY_ID, "In-Situ")
.must(QueryField.DISTRIBUTION_ACCESS_RESTRICTED, False)
.filter_range(
QueryField.TEMPORAL_EXTENT_BEGIN,
gte="1979-01-01T00:00:00.000Z",
)
.sort([
(QueryField.TEMPORAL_EXTENT_BEGIN, SortType.ASC),
(QueryField.IDENTIFICATION_PID, SortType.ASC),
])
)
for doc in search(PROD_API, query):
pprint(doc)
Release files for dvas-api-client 0.7.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dvas_api_client-0.7.3.tar.gz | 16.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dvas_api_client-0.7.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.4 kB
Release files / dvas_api_client-0.7.3.tar.gz
| Download URL | dvas_api_client-0.7.3.tar.gz |
|---|---|
| Size | 16.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
58932343f882050515739df170700e653e7d9b64b04291dfb6e57cbdff5760a3
|
|
BLAKE2b-256 checksum How to use checksums |
d33ff9616c1c99493bb23b8c13551eb00c7c666809d90f007aee000980a97a22
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Release files / dvas_api_client-0.7.3-py3-none-any.whl
| Download URL | dvas_api_client-0.7.3-py3-none-any.whl |
|---|---|
| Size | 19.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5aeedd3c3cca4016061bd1bdb46ea50817dbf7908ac73e909d97c2b4b55a9094
|
|
BLAKE2b-256 checksum How to use checksums |
cd26431cd09e07ad1dc21ffff0a66a1232ab85afcfc6d908839457922968021c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|