Skip to main content

RDA Python Package to update RDA operational datasets

Project description

dsupdt

Python project to archive and update operational datasets for the NSF NCAR Geoscience Data Exchange (GDEX).

The user guide for this utility tool can be viewed at: User guide.

Programs

The package installs the following command-line utility, running as the current user:

  • dsupdt — archive and update RDA operational datasets

Run with --help (or -h) for full usage details.

Environment setup

Create a Python environment first; package installs in the next section run inside whichever environment you activate here.

Option A — Python venv (DECS machines)

python3 -m venv $ENVHOME          # e.g. /glade/u/home/gdexdata/gdexmsenv
source $ENVHOME/bin/activate

Option B — Conda (DAV/Casper)

conda create --prefix $ENVHOME python=3.12   # e.g. /glade/work/gdexdata/conda-envs/pg-gdex
conda activate $ENVHOME

Installing rda-python-dsupdt

Pick whichever install mode fits your workflow. All variants pull in the transitive dependencies (rda_python_common, rda_python_dsarch) automatically.

For local development, clone this repo alongside your project and install it in editable mode so that changes are picked up without re-installing:

git clone https://github.com/NCAR/rda-python-dsupdt.git
cd rda-python-dsupdt
pip install -e .

To test a specific branch (e.g. an in-progress feature or fix branch), pass -b/--branch to git clone:

git clone -b <branch-name> https://github.com/NCAR/rda-python-dsupdt.git
cd rda-python-dsupdt
pip install -e .

For a regular (non-editable) install from a checkout:

pip install /path/to/rda-python-dsupdt

For a production install on a system that uses the published distribution:

pip install rda_python_dsupdt

Documentation sync

The user guide at gdex-docs-dsupdt.readthedocs.io is generated from src/rda_python_dsupdt/dsupdt.usg. Keep all user-facing content in dsupdt.usg — no manual RST editing is required.

When a pull request modifying dsupdt.usg is opened, an automated workflow converts it into RST source files and the version number from this repository's pyproject.toml into the gdex-docs-dsupdt repository, then opens a pull request from automated-update-branch against its main branch for review.

To publish to Read the Docs:

  • Merge that pull request into main to serve the content as the latest version.
  • Create a GitHub release in gdex-docs-dsupdt to serve the latest release as the stable version.

Project details


Download files

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

Source Distribution

rda_python_dsupdt-3.0.0.tar.gz (115.3 kB view details)

Uploaded Source

Built Distribution

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

rda_python_dsupdt-3.0.0-py3-none-any.whl (117.0 kB view details)

Uploaded Python 3

File details

Details for the file rda_python_dsupdt-3.0.0.tar.gz.

File metadata

  • Download URL: rda_python_dsupdt-3.0.0.tar.gz
  • Upload date:
  • Size: 115.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for rda_python_dsupdt-3.0.0.tar.gz
Algorithm Hash digest
SHA256 70663101879e77ea3e1a95db1b854b3d00ef98a976dea8ba505d681e3d513f00
MD5 569656dcaec316c56df2bf8b6bad701a
BLAKE2b-256 737b1e1841a370b8e0602d6f1e762e53433eaab1e92077ac994d0bb6238b9005

See more details on using hashes here.

Provenance

The following attestation bundles were made for rda_python_dsupdt-3.0.0.tar.gz:

Publisher: publish.yml on NCAR/rda-python-dsupdt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rda_python_dsupdt-3.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for rda_python_dsupdt-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 418cd5badbb5c98adbbb134bcdcbec756a924da81ada9c6c488d89b1201a3451
MD5 b0603d1fd1bc29d8f9a9b4720e6d9ab8
BLAKE2b-256 c7fd4634388072669218aa4e1012c7603e0e4e5239edc720d3b32b0c88bad5ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for rda_python_dsupdt-3.0.0-py3-none-any.whl:

Publisher: publish.yml on NCAR/rda-python-dsupdt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page