src/ufo/GeoVaLs.cc
GeoVaLs::GeoVaLs(const eckit::Configuration & config,
                 const ioda::ObsSpace & obspace,
                 const oops::Variables & vars)
  : keyGVL_(-1), vars_(vars), dist_(obspace.distribution())
{
  oops::Log::trace() << "GeoVaLs constructor config starting" << std::endl;
  ufo_geovals_partial_setup_f90(keyGVL_, 0, vars_);
  // only read if there are variables specified
  if (vars_.size() > 0)  ufo_geovals_read_file_f90(keyGVL_, config, obspace, vars_);
  oops::Log::trace() << "GeoVaLs contructor config key = " << keyGVL_ << std::endl;
}
// -----------------------------------------------------------------------------
/*! \brief Constructor for tests
 *
 * \details This ufo::GeoVaLs constructor is typically used in tests, GeoVaLs
 * are read from the file.
 */
\brief Constructor for tests
\details This ufo::GeoVaLs constructor is typically used in tests, GeoVaLs
are read from the file.
\ brief Constructor for tests \ details This ufo :: GeoVaLs constructor is typically used in tests GeoVaLs are read from the file .
GeoVaLs::GeoVaLs(const eckit::Configuration & config,
                 const ioda::ObsSpace & obspace,
                 const oops::Variables & vars)
  : keyGVL_(-1), vars_(vars), dist_(obspace.distribution())
{
  oops::Log::trace() << "GeoVaLs constructor config starting" << std::endl;
  ufo_geovals_partial_setup_f90(keyGVL_, 0, vars_);
  if (vars_.size() > 0)  ufo_geovals_read_file_f90(keyGVL_, config, obspace, vars_);
  oops::Log::trace() << "GeoVaLs contructor config key = " << keyGVL_ << std::endl;
}
GeoVaLs :: GeoVaLs ( const eckit :: Configuration & config , const ioda :: ObsSpace & obspace , const oops :: Variables & vars ) : keyGVL_ ( -1 ) , vars_ ( vars ) , dist_ ( obspace . distribution ( ) ) { oops :: Log :: trace ( ) << " " << std :: endl ; ufo_geovals_partial_setup_f90 ( keyGVL_ , 0 , vars_ ) ; if ( vars_ . size ( ) > 0 ) ufo_geovals_read_file_f90 ( keyGVL_ , config , obspace , vars_ ) ; oops :: Log :: trace ( ) << " " << keyGVL_ << std :: endl ; }
\brief Constructor for tests
 \details This ufo::GeoVaLs constructor is typically used in tests, GeoVaLs
 are read from the file.
\ brief Constructor for tests \ details This ufo :: GeoVaLs constructor is typically used in tests GeoVaLs are read from the file .
// only read if there are variables specified