src/ufo/filters/ObsFilterData.cc
ioda::ObsDtype ObsFilterData::dtype(const Variable & varname) const {
  const std::string var = varname.variable();
  const std::string grp = varname.group();
  // Default to float
  ioda::ObsDtype res = ioda::ObsDtype::Float;
  if (obsdb_.has(grp, var)) {
    res = obsdb_.dtype(grp, var);
  } else if (hasDataVectorInt(varname.group(), varname.variable())) {
    res = ioda::ObsDtype::Integer;
  } else if (!this->has(varname)) {
    oops::Log::error() << "ObsFilterData::dtype unable to find provided variable."
                       << std::endl;
    ABORT("ObsFilterData::dtype unable to find provided variable.");
  }
  return res;
}
// -----------------------------------------------------------------------------
/*! \brief dtype of the provided variable
 *  \details This method returns the data type of the variable stored in the
 *           ObsFilterData.
 *  \param varname is a name of a variable requested
 *  \return data type (ioda::ObsDtype) associated with varname
 */
\brief dtype of the provided variable
\details This method returns the data type of the variable stored in the
ObsFilterData.
\param varname is a name of a variable requested
\return data type (ioda::ObsDtype) associated with varname
\ brief dtype of the provided variable \ details This method returns the data type of the variable stored in the ObsFilterData . \ param varname is a name of a variable requested \ return data type ( ioda :: ObsDtype ) associated with varname
ioda::ObsDtype ObsFilterData::dtype(const Variable & varname) const {
  const std::string var = varname.variable();
  const std::string grp = varname.group();
  ioda::ObsDtype res = ioda::ObsDtype::Float;
  if (obsdb_.has(grp, var)) {
    res = obsdb_.dtype(grp, var);
  } else if (hasDataVectorInt(varname.group(), varname.variable())) {
    res = ioda::ObsDtype::Integer;
  } else if (!this->has(varname)) {
    oops::Log::error() << "ObsFilterData::dtype unable to find provided variable."
                       << std::endl;
    ABORT("ObsFilterData::dtype unable to find provided variable.");
  }
  return res;
}
ioda :: ObsDtype ObsFilterData :: dtype ( const Variable & varname ) const { const std :: string var = varname . variable ( ) ; const std :: string grp = varname . group ( ) ; ioda :: ObsDtype res = ioda :: ObsDtype :: Float ; if ( obsdb_ . has ( grp , var ) ) { res = obsdb_ . dtype ( grp , var ) ; } else if ( hasDataVectorInt ( varname . group ( ) , varname . variable ( ) ) ) { res = ioda :: ObsDtype :: Integer ; } else if ( ! this -> has ( varname ) ) { oops :: Log :: error ( ) << " " << std :: endl ; ABORT ( " " ) ; } return res ; }
\brief dtype of the provided variable
  \details This method returns the data type of the variable stored in the
           ObsFilterData.
\ brief dtype of the provided variable \ details This method returns the data type of the variable stored in the ObsFilterData .
// Default to float