Skip to main content

Canonical GNSS-T filename parser and data directory validator

Project description

canvod-virtualiconvname

Canonical GNSS-T filename parser and data directory validator.

Part of the canVODpy ecosystem.

Overview

canvod-virtualiconvname enforces and virtualizes the canVOD filename convention throughout the processing pipeline. It is the single source of truth for GNSS file naming, discovery, and pre-pipeline validation.

Convention format:

{SIT}{T}{NN}{AGC}_R_{YYYY}{DOY}{HHMM}_{PERIOD}_{SAMPLING}_{CONTENT}.{TYPE}

Example: ROSA01TUW_R_20250010000_15M_05S_AA.rnx

Key components

Component Purpose
CanVODFilename Pydantic model — parses and validates a single filename
FilenameMapper Maps physical filenames to canonical names (virtual renaming)
DataDirectoryValidator Pre-pipeline hard gate: blocks on unmatched or overlapping files
FilenameCatalog DuckDB-backed catalog for file discovery
BUILTIN_PATTERNS Glob patterns for all GNSS file types (single source of truth)

Installation

uv pip install canvod-virtualiconvname

Quick Start

from canvod.virtualiconvname import CanVODFilename, DataDirectoryValidator

# Parse a filename
fname = CanVODFilename.from_string("ROSA01TUW_R_20250010000_15M_05S_AA.rnx")
print(fname.site, fname.year, fname.doy)  # ROSA, 2025, 1

# Validate a data directory before processing
validator = DataDirectoryValidator(site_config)
validator.validate()  # raises on unmatched or overlapping files

Documentation

Full documentation

License

Apache License 2.0

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

canvod_virtualiconvname-0.2.2.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.

canvod_virtualiconvname-0.2.2-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

File details

Details for the file canvod_virtualiconvname-0.2.2.tar.gz.

File metadata

  • Download URL: canvod_virtualiconvname-0.2.2.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for canvod_virtualiconvname-0.2.2.tar.gz
Algorithm Hash digest
SHA256 2f60a9adc85cb366ac252ca5266694dede48c07ab9dff5fbb82696e645dca1f9
MD5 7e26bb14fee07cc4482782ba249333a0
BLAKE2b-256 844bb91bfd99d991eaf064a247d824036e5751a8392d3f9ddce1248e032b6337

See more details on using hashes here.

Provenance

The following attestation bundles were made for canvod_virtualiconvname-0.2.2.tar.gz:

Publisher: publish_pypi.yml on nfb2021/canvodpy

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

File details

Details for the file canvod_virtualiconvname-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for canvod_virtualiconvname-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c875ea2958b71d6bebb3b62ced6eecf15ef2fc0b4ffdde4ef2ee54f7c9b97f30
MD5 5178887655e59ef29fce7fb6b82b056b
BLAKE2b-256 76d56389d2a9fffef9ef2a5cac7b241311ec144addb435f3d788379a43bea99b

See more details on using hashes here.

Provenance

The following attestation bundles were made for canvod_virtualiconvname-0.2.2-py3-none-any.whl:

Publisher: publish_pypi.yml on nfb2021/canvodpy

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