cta-observatory / protopipe

Prototype data analysis pipeline for the Cherenkov Telescope Array Observatory
https://protopipe.readthedocs.io/en/latest/
Other
5 stars 13 forks source link

Setup integration tests pipeline #70

Closed HealthyPear closed 3 years ago

HealthyPear commented 3 years ago

These are NOT unit-tests. These are NOT benchmarks.

These are tests checking that all protopipe scripts (aka the "steps" or "tools" of the pipeline) end correctly with proper output.

Current status

Operations to perform

Each integration test should be contained in a template function that performs the following checks,

Requirements

Dataset(s)

We should have 2 datasets (CTA-N + CTA-S both baseline arrays) per production.

Each dataset could have the same composition as a normal analysis, so

UPDATE: Actually it is not necessary, we can just use the same proportions between files and at the same time keeping the current pipeline workflow

They could be produced directly using simtel and not by cutting an already existing simtel file. This to avoid situations in which a small test file doesn't contain enough triggered events. So we could simulate e.g. 100 showers (=10% statistics) with E > 10TeV within a scatter radius of 150 meters.

UPDATE: Documentation has been updated accordingly (at least for Prod3b test files)

HealthyPear commented 3 years ago

Opened cta-observatory/ctapipe#1651 to test the download of testdata from the cc-in2p3 dataserver.

HealthyPear commented 3 years ago

after PR #111

so we would be able to