Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sanity-check-sdmx-v1 #11

Open
1 task
mikeAdamss opened this issue Feb 6, 2024 · 0 comments
Open
1 task

sanity-check-sdmx-v1 #11

mikeAdamss opened this issue Feb 6, 2024 · 0 comments

Comments

@mikeAdamss
Copy link
Contributor

mikeAdamss commented Feb 6, 2024

What is this

Upon recieving an sdmx file we need to run some basic sanity checks on it so we can end the process early if it is obviously wrong.

What to do

This will beed some investigation but it'll basically be whatever we can do in a minimal amount of time.

Something like:

  • does the file actually end with the file extensions sdmx?
  • is it a valid sdmx file?

dp-data-pipelines/shared/sanity-check/sdmx/v1.py

def sdmx_sanity_check_v1(sdmx_file: Path):
    """
    Sanity check that the recieved sdmx file is actually an sdmx file.
    """

Acceptance Critiera

  • function works and tests written.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant