{"id":32177469,"url":"https://github.com/nansencenter/py-thesaurus-interface","last_synced_at":"2025-10-21T20:07:23.982Z","repository":{"id":4188320,"uuid":"51150904","full_name":"nansencenter/py-thesaurus-interface","owner":"nansencenter","description":"An interface to metadata conventions for geospatial data","archived":false,"fork":false,"pushed_at":"2025-10-01T09:00:27.000Z","size":1371,"stargazers_count":2,"open_issues_count":8,"forks_count":3,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-10-03T17:58:42.754Z","etag":null,"topics":["dif","earth-observations","gcmd","geospaas","keyword","nasa","standards"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nansencenter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-02-05T14:22:11.000Z","updated_at":"2025-08-18T13:03:28.000Z","dependencies_parsed_at":"2023-12-19T00:32:40.641Z","dependency_job_id":"943098da-9189-49e3-947a-1a88b04bb2d4","html_url":"https://github.com/nansencenter/py-thesaurus-interface","commit_stats":{"total_commits":237,"total_committers":8,"mean_commits":29.625,"dds":0.7172995780590717,"last_synced_commit":"e30a1f0b058492a4aa5695c50564460e452ff3d6"},"previous_names":[],"tags_count":37,"template":false,"template_full_name":null,"purl":"pkg:github/nansencenter/py-thesaurus-interface","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nansencenter%2Fpy-thesaurus-interface","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nansencenter%2Fpy-thesaurus-interface/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nansencenter%2Fpy-thesaurus-interface/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nansencenter%2Fpy-thesaurus-interface/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nansencenter","download_url":"https://codeload.github.com/nansencenter/py-thesaurus-interface/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nansencenter%2Fpy-thesaurus-interface/sbom","scorecard":{"id":674151,"data":{"date":"2025-08-11","repo":{"name":"github.com/nansencenter/py-thesaurus-interface","commit":"81655711aeea41e661cfdc06218e4cb82ed09bec"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.8,"checks":[{"name":"Code-Review","score":6,"reason":"Found 5/8 approved changesets -- score normalized to 6","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/nansencenter/py-thesaurus-interface/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/nansencenter/py-thesaurus-interface/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/nansencenter/py-thesaurus-interface/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:52: update your workflow using https://app.stepsecurity.io/secureworkflow/nansencenter/py-thesaurus-interface/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:63: update your workflow using https://app.stepsecurity.io/secureworkflow/nansencenter/py-thesaurus-interface/ci.yml/master?enable=pin","Warn: pipCommand not pinned by hash: test_local_setup.sh:22","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:31","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:32","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:58","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   4 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/ci.yml:44"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 29 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-21T21:01:01.986Z","repository_id":4188320,"created_at":"2025-08-21T21:01:01.986Z","updated_at":"2025-08-21T21:01:01.986Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280325310,"owners_count":26311421,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-21T02:00:06.614Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dif","earth-observations","gcmd","geospaas","keyword","nasa","standards"],"created_at":"2025-10-21T20:07:20.284Z","updated_at":"2025-10-21T20:07:23.969Z","avatar_url":"https://github.com/nansencenter.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Run unit tests and build Python package](https://github.com/nansencenter/py-thesaurus-interface/actions/workflows/ci.yml/badge.svg)](https://github.com/nansencenter/py-thesaurus-interface/actions/workflows/ci.yml)\n[![Coverage Status](https://coveralls.io/repos/github/nansencenter/py-thesaurus-interface/badge.svg?branch=master)](https://coveralls.io/github/nansencenter/py-thesaurus-interface?branch=master)\n\n## py-thesaurus-interface\nAn interface to metadata vocabularies for geospatial and other geophysical data\n\n## Install\n```\npip install https://github.com/nansencenter/py-thesaurus-interface/archive/master.tar.gz\n```\n## Usage\n```\nimport pythesint as pti\npti.get_gcmd_instrument('MERIS')\npti.get_gcmd_platform('ENVISAT')\npti.get_gcmd_provider('NERSC')\n```\n\nFor JSON vocabularies, it is possible to update the local files using a specific version.\nThe format of the version depends on the provider.\nIf no version is provided, the latest version is retrieved.\n\n```python\nimport pythesint as pti\npti.update_gcmd_instrument(version='9.1.5')\npti.update_cf_standard_name(version='20210119T185509')\npti.update_mmd_platform_type(version='a5c8573')\n```\n\nor\n\n```python\nimport pythesint as pti\npti.update_all_vocabularies(versions={\n    'gcmd_instrument': '9.1.5',\n    'cf_standard_name': '20210119T185509',\n    'mmd_platform_type': 'a5c8573'\n})\n```\n\n## Standards\n\nThe 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.\n\n## Directory Interchange Format (DIF)\n\nThe 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.\n\nSee: Directory Interchange Format (DIF) Writer's Guide, 2015. Global Change Master Directory. National Aeronautics and Space Administration. [http://gcmd.nasa.gov/add/difguide/].\n\n## Controlled keyword vocabularies from GCMD\n\nSee: 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\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnansencenter%2Fpy-thesaurus-interface","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnansencenter%2Fpy-thesaurus-interface","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnansencenter%2Fpy-thesaurus-interface/lists"}