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.6.5.tar.gz (15.9 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.6.5-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dvas_api_client-0.6.5.tar.gz
  • Upload date:
  • Size: 15.9 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.6.5.tar.gz
Algorithm Hash digest
SHA256 c4fef50b93c9334e7b6a8252550a1cc595e439c8e222562c064ff6fedbca51cb
MD5 2197aa7c39118bd8ddd85f256ba2ee38
BLAKE2b-256 f1b0cb0233059a41545d7a4a99d026b537f0f7868f3ea67695b8baecd1bc4280

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dvas_api_client-0.6.5-py3-none-any.whl
Algorithm Hash digest
SHA256 51491fc9fc593dca3232b41aa5e999d97c2c0af211302e76d96dea5c4b7c16d2
MD5 b1d00431a0299a88a30c88704612dbde
BLAKE2b-256 d39465f775648047dc4f7bdf82ef2f9940d2f272d6a6ac88e10f23f9bb321dfa

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