DKIST Data Ingest Validator
An interface containing a validator and a generator of FITS header schemas with schema implementations for DKIST specs:
SPEC-0122 Rev C: Data received from the summit
SPEC-0214 Rev ?: Data published by the Data Center (incomplete)
Features
Uses voluptuous schemas to validate a given input header
3 keyword validations: type validation, required-ness validation, and value validation
Failure exceptions include a dictionary of validation failure causes
Installation
pip install fits-validator
Examples
from fits_validator import spec122_validator, Spec122ValidationException
try:
spec122_validator('dkist_rosa0181200000_observation.fits')
except Spec122ValidationException as e:
print(e)
#Errors during validation: errors={'PAC__007': 'expected str', 'ID___003': 'required key not provided', 'NAXIS3': 'required key not provided'}
This project is Copyright (c) AURA/NSO.
Metadata
Release files for fits-validator 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fits-validator-0.3.0.tar.gz | 17.2 kB | Without provenance | Details for fits-validator-0.3.0.tar.gz |
Release files / fits-validator-0.3.0.tar.gz
| Download URL | fits-validator-0.3.0.tar.gz |
|---|---|
| Size | 17.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b36cf9fb886ea891a4b6ed78c134541f8a816c58c17b40d66172cf5524162d3a
|
|
BLAKE2b-256 checksum How to use checksums |
4aaac646fab09af0b60c4eb42dcd7e9e67426c3c9344ea185052af0ab02bb63c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.4
|
Security for fits-validator 0.3.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.