Add config file processing for stats
Right now stats is the only main function of glance that will just ignore your config file. It would be good to fix that so stats has a few more knobs.
Notes on what stuff in the config file is meaningful for stats:
- nothing in the settings matters
- we don't have any use for the lon/lat info
-
we need to respect many of the default values, including -
the epsilon and fill value -
the various failure configurations matter if we're going to do pass fail for the return code (I'm not sure I want to do that on this ticket, but a thing to think about)
-
- we don't really care about any of the plot configuration stuff including the various bin/tuple and vector plotting stuff
-
In the setOfVariables we'll need to respect similar stuff to the settings -
technical vs display names -
epsilon and fill value -
the failure configuration stuff -
the basic and variable dependant filtering
-
Stuff to fix:
-
one input stats -
handle the technical and display names correctly -
respect fill value from command line or config (default or var specific) -
handle basic and variable dependent filtering
-
-
two input stats -
handle the technical and display names correctly -
respect epsilon and fill value from the command line or config (default or var specific) -
handle basic and variable dependant filtering -
do pass/fail testing from command line or config when needed and change return codes based on that (from default or var specific in config)
-