Skip to main content

DKIST fits data validator

Project description

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)


  • 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


pip install fits-validator


from fits_validator import spec122_validator, Spec122ValidationException

except Spec122ValidationException as 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.

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

fits-validator-0.3.0.tar.gz (17.2 kB view hashes)

Uploaded source

Supported by

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