EarthSystemDiagnostics / cpt-picarr

MIT License
1 stars 0 forks source link

Input validation #57

Open twollnik opened 5 years ago

twollnik commented 5 years ago

There are many ways to set up a measurement. For instance the number of standard blocks can vary. Cpt.-Picarr should validate the measurement files before the processing is done to make sure that sensible results are produced. This validation can include three layers:

  1. Analyze the input file. Check that all blocks needed for the selected processing method are given.
  2. Start a piccr run with the given file and see if it runs through without an error.
  3. Start a piccr run with the given file and analyze the output. Are the types and dimensions of the output data correct?