Installation
------------

1. Install python 3 with anaconda
2. Install dmv from wheel
3. `conda install numpy scipy pandas scikit-learn netcdf4`
4. Install [aeri\_tools](https://gitlab.ssec.wisc.edu/cphillips/aeri_tools)
4. `python setup.py install`

Invocation
----------

```
$ python run_aeri_qc.py 

usage: run_aeri_qc.py [-h] [--hint HINT] ftp [sci]

positional arguments:
  ftp
  sci

optional arguments:
  -h, --help   show this help message and exit
  --hint HINT  inspect this file and others in similar time period more
               closely
```


Visualization
-------------

If you just want to view the results of the QC process, you'll need the ".SUM" and "QC.nc" files

1. `conda install mpld3 flask matplotlib pandas numpy`
2. Download the sum and netcdf files for all the days you'll want to review into an "ftp" style directory tree.
e.g `rsync -r --progress --include=\*.SUM --include=\*.nc --exclude=\*/\* metobs01::AERI/SSEC\_Rooftop/AE160928 /tmp/ftp/`
3. `cd aeri\_qc\_web`
4. python interpret_qc.py <path/to/ftp
5. Direct your web browser to http://localhost:5000