// *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=* // © University Corporation for Atmospheric Research (UCAR) 2009-2010. // All rights reserved. The Government's right to use this data and/or // software (the "Work") is restricted, per the terms of Cooperative // Agreement (ATM (AGS)-0753581 10/1/08) between UCAR and the National // Science Foundation, to a "nonexclusive, nontransferable, irrevocable, // royalty-free license to exercise or have exercised for or on behalf of // the U.S. throughout the world all the exclusive rights provided by // copyrights. Such license, however, does not include the right to sell // copies or phonorecords of the copyrighted works to the public." The // Work is provided "AS IS" and without warranty of any kind. UCAR // EXPRESSLY DISCLAIMS ALL OTHER WARRANTIES, INCLUDING, BUT NOT LIMITED TO, // ANY IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR // PURPOSE. // // *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=* #include /** * @file ParmsThreshHistIO.cc */ //---------------------------------------------------------------- #include "ParmsThreshHistIO.hh" #include "Params.hh" #include #include #include #include //---------------------------------------------------------------- ParmsThreshHistIO::ParmsThreshHistIO(void) { } //---------------------------------------------------------------- ParmsThreshHistIO::ParmsThreshHistIO(int argc, char **argv) { Params p; // Triggers off of SPDB data if (!parmAppInit(p, argc, argv, Trigger::TRIGGER_OBS, false)) { exit(convWx::BAD_EXIT); } if (!InterfaceParm::loadMainParams(_mainParms)) { exit(convWx::BAD_EXIT); } parmAppFinish(p, _mainParms); _inputSpdb = p.thresholds_spdb_in; _outputSpdb = p.thresholds_spdb_out; _daysBack = p.thresholds_max_days_back; _coldstartThresh = p.coldstart_threshold; } //---------------------------------------------------------------- ParmsThreshHistIO::~ParmsThreshHistIO() { }