text: /*
   * (C) Copyright 2009-2016 ECMWF.
   * 
   * This software is licensed under the terms of the Apache Licence Version 2.0
   * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. 
   * In applying this licence, ECMWF does not waive the privileges and immunities 
   * granted to it by virtue of its status as an intergovernmental organisation nor
   * does it submit to any jurisdiction.
   */
  
  #include "oops/qg/instantiateQgChangeVarFactory.h"
  #include "oops/qg/instantiateQgLocalizationFactory.h"
  #include "oops/qg/QgTraits.h"
  #include "oops/runs/Run.h"
  #include "oops/runs/Variational.h"
  #include "saber/oops/instantiateCovarFactory.h"
  #include "saber/oops/instantiateLocalizationFactory.h"
  #include "saber/oops/instantiateVariableChangeFactory.h"
  
  int main(int argc,  char ** argv) {
    oops::Run run(argc, argv);
    qg::instantiateQgChangeVarFactory();
    qg::instantiateQgLocalizationFactory();
    saber::instantiateCovarFactory<qg::QgTraits>();
    saber::instantiateLocalizationFactory<qg::QgTraits>();
    saber::instantiateVariableChangeFactory<qg::QgTraits>();
    oops::Variational<qg::QgTraits, qg::QgObsTraits> var;
    return run.execute(var);
  }
  