Skip to main content

DKIST fits data validator

Project description

A pythonic interface containing a validator and a generator of FITS headers compliant with SPEC-0122 for DKIST data header validation testing at the Data Center.


  • Use voluptuous schemas to validate a given input header to the standard SPEC-0122 header schema
  • 3 keyword validations: type validation, required-ness validation, and value validation
  • Returns a dictionary of ingest failure messages


pip install fits-validator


from validator import FitsValidator

val = FitsValidator()

#ValueError: Errors during Ingest Validation: {'PAC__007': 'expected str', 'ID___003': 'required key not provided', 'NAXIS3': 'required key not provided'}

This project is Copyright (c) AURA/NSO.

Project details

Download files

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

Files for fits-validator, version 0.0.6
Filename, size File type Python version Upload date Hashes
Filename, size fits-validator-0.0.6.tar.gz (8.5 MB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page