Skip to main content

Run unit tests and build Python package Coverage Status

py-thesaurus-interface

An interface to metadata vocabularies for geospatial and other geophysical data

Install

pip install https://github.com/nansencenter/py-thesaurus-interface/archive/master.tar.gz

Usage

import pythesint as pti
pti.get_gcmd_instrument('MERIS')
pti.get_gcmd_platform('ENVISAT')
pti.get_gcmd_provider('NERSC')

For JSON vocabularies, it is possible to update the local files using a specific version. The format of the version depends on the provider. If no version is provided, the latest version is retrieved.

import pythesint as pti
pti.update_gcmd_instrument(version='9.1.5')
pti.update_cf_standard_name(version='20210119T185509')
pti.update_mmd_platform_type(version='a5c8573')

or

import pythesint as pti
pti.update_all_vocabularies(versions={
    'gcmd_instrument': '9.1.5',
    'cf_standard_name': '20210119T185509',
    'mmd_platform_type': 'a5c8573'
})

Standards

The package follows the standards defined at NASA's Global Change Master Directory (GCMD) (http://gcmd.gsfc.nasa.gov) and the NetCDF-CF conventions (http://cfconventions.org/), plus possibly others that will be added as needs emerge... The standards are mapped in Python dictionaries and saved to json-files.

Directory Interchange Format (DIF)

The DIF format is a descriptive and standardized format for exchanging information about scientific data sets. The py-thesaurus-interface package provides an interface to the keywords and formats defined at GCMD.

See: Directory Interchange Format (DIF) Writer's Guide, 2015. Global Change Master Directory. National Aeronautics and Space Administration. [http://gcmd.nasa.gov/add/difguide/].

Controlled keyword vocabularies from GCMD

See: Global Change Master Directory (GCMD). 2015. GCMD Keywords, Version 8.1. Greenbelt, MD: Global Change Data Center, Science and Exploration Directorate, Goddard Space Flight Center (GSFC) National Aeronautics and Space Administration (NASA). URL:http://gcmd.nasa.gov/learn/keywords.html

Metadata

Release files for pythesint 1.7.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pythesint 1.7.2
File Size Uploaded
pythesint-1.7.2.tar.gz 708.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pythesint 1.7.2
File Interpreter ABI Platform
pythesint-1.7.2-py3-none-any.whl Python 3 none any Details

Total release size: 1.4 MB

Release files / pythesint-1.7.2.tar.gz

Download URL pythesint-1.7.2.tar.gz
Size 708.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3eeaa8eea2c4f3071f4f815cdb7594e59d7c31c3419fd6c7bc65bf70a13f8b45
BLAKE2b-256 checksum
How to use checksums
a0e86a6e8eedab4f7e5dfb683859806476404c6ab9ede63166435188e7e60e83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / pythesint-1.7.2-py3-none-any.whl

Download URL pythesint-1.7.2-py3-none-any.whl
Size 713.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7bc0af8a4ac2777aafcf8e255f54f71241518ae04066531eda1b14da6d6d34d9
BLAKE2b-256 checksum
How to use checksums
f1c99d22ca0a387b4fc6facb8ffffd855eec51a3ac5c378c2e4a95cd00eb0dc2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release history Release notifications | RSS feed

This release

1.7.2 This release

2 release files

1.7.1

2 release files

1.7.0

2 release files

1.6.6

2 release files

1.6.5

2 release files

1.6.4

2 release files

1.6.3

2 release files

1.6.2

2 release files

1.6.1

2 release files

1.6.0

1 release file

1.5.1

1 release file

1.5.0

1 release file

1.4.10

1 release file

1.4.9

1 release file

1.4.7

1 release file

1.4.6

1 release file

1.4.5

1 release file

1.4.4

1 release file

1.4.3

2 release files

1.4.2

3 release files

1.4.1

1 release file

1.4.0

2 release files

1.3.2

1 release file

1.3.1

1 release file

1.2.0

2 release files

1.2

2 release files

1.1.1

1 release file

1.0.2

2 release files

1.0.1

3 release files

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page