Skip to main content

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)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dvas_api_client-0.7.0.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

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

dvas_api_client-0.7.0-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

Details for the file dvas_api_client-0.7.0.tar.gz.

File metadata

  • Download URL: dvas_api_client-0.7.0.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for dvas_api_client-0.7.0.tar.gz
Algorithm Hash digest
SHA256 4a281fddb0f0b0ea35af17147d9dcc39810a911f0a01e89792c89c9ed5dded12
MD5 41bc1976ffab8dba8818c29569ffb6b2
BLAKE2b-256 e4492d1ae7676a37110fee6e5c501474c005bb125e44780e75c868a453c1d88c

See more details on using hashes here.

File details

Details for the file dvas_api_client-0.7.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dvas_api_client-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a853ca26efe99fa1c6e9d06cfc661b8391c573ac76afc60927e272300102196f
MD5 38588a8f30023b41450977a0fe7e7e48
BLAKE2b-256 977cde2c12a91c7fd4345efd4a7f6efead158e37eafa11304552928977ecd408

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 Sentry Error logging StatusPage Status page