Skip to main content

gdexws

Service tools for data processing and management.

Installation

Release version (PyPI)

Install the latest published release:

pip install gdexws

Upgrade an existing install to the newest release:

pip install --upgrade gdexws

Runtime dependencies (netCDF4, httpx) are installed automatically.

Developer version (GitHub)

Clone the repository and install gdexws in editable mode, so changes to the source take effect without reinstalling:

git clone https://github.com/NCAR/gdex-web-services.git
cd gdex-web-services
pip install -e ./gdexws

The version is derived from the repository's git tags, so install from a git clone (not a copied folder) to get a meaningful version number.

CLI Commands

All tools run through the single gdexws command: gdexws <tool> [options]. Run gdexws --help to list tools and gdexws <tool> --help for a tool's options. -d/--debug is available on every tool.

Adding a tool: drop a module into tools/ or composers/ that defines DESCRIPTION, add_arguments(parser) and run(args); it is discovered automatically as gdexws <module-name-with-hyphens>.

add-global-meta

Add a global attribute to a netCDF file.

gdexws add-global-meta -f /path/to/file.nc -n "attribute_name" -v "attribute_value"

create-exchange-dir

Create a directory directly under /glade/campaign/collections/gdex/data/exchange and grant an HPC user read/write access (rwx, plus a default ACL so new contents inherit it) via POSIX ACLs. The directory's group (decs, which includes gdexdata) also gets rwx the same way, so copy-files/gdexcp can write into it; the directory is setgid (mode 2775) so new contents stay in that group, and others can read (r-x). Requires setfacl/getfacl.

gdexws create-exchange-dir --username <username> --dirname <dirname>

The directory name must be a single path component ([A-Za-z0-9._-], starting with a letter or digit), the user must exist on the machine (and not be uid 0), and the command fails if the directory already exists. If the ACL cannot be applied and verified, the new directory is removed.

Development

From the repository root, with the developer version installed:

pip install pytest
pytest tests/gdexws_tests -v

Metadata

Release files for gdexws 0.1.7

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

Source distribution (sdist)

Source distribution for gdexws 0.1.7
File Size Uploaded Provenance Actions
gdexws-0.1.7.tar.gz 23.5 kB With provenance Details for gdexws-0.1.7.tar.gz

Built distribution (wheel)

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

Total release size: 43.6 kB

Release files / gdexws-0.1.7.tar.gz

Download URL gdexws-0.1.7.tar.gz
Size 23.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9f771b2305a077a04f04f9efeac9871ee1c8af44192835e1e3f9795ad6c223ee
BLAKE2b-256 checksum
How to use checksums
461820c901d5eba6f96aa71866379fd1a1d9d49facccc4d5a99b7774d725b2a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

Release files / gdexws-0.1.7-py3-none-any.whl

Download URL gdexws-0.1.7-py3-none-any.whl
Size 20.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
67f4d93c2f61e3ec21a0e388c77dfe4c06d4b3beaba90ddafa2057e7a03df075
BLAKE2b-256 checksum
How to use checksums
293b5926a7f14894f9e8a9f168d07765e25f36f7672588bfcf420c4b94686cec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

Security for gdexws 0.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for gdexws-0.1.7.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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