src/ufo/GeoVaLs.cc
void GeoVaLs::print(std::ostream & os) const {
  int nn;
  double zmin, zmax, zrms;

  os << "GeoVaLs: variables = " << vars_ << std::endl;
  for (size_t jv = 0; jv < vars_.size(); ++jv) {
    int nv = jv;
    ufo_geovals_minmaxavg_f90(keyGVL_, nn, nv, zmin, zmax, zrms);
    os << "GeoVaLs: nobs= " << nn << " " << vars_[jv] << " Min=" << zmin << ", Max=" << zmax
       << ", RMS=" << zrms << std::endl;
  }

  /*! Verbose print statement (debug mode)
   *
   * \detail If the min value across all variables is positive, then this may be
   * an error measurement.  If so, compute the rms over the vertical profile and
   * tell the user where the maximum rms value occurs, in terms of the
   * observation number and the variable number.  This is intended to help
   * with debugging.
   */

  if (zmin >= 0.0) {
    double mxval;
    int ivar, iobs;

    ufo_geovals_maxloc_f90(keyGVL_, mxval, iobs, ivar);

    oops::Log::debug() << "GeoVaLs: Maximum Value (vertical rms) = "
                       << std::setprecision(4)
                       << mxval << " for observation = " << iobs
                       << " and variable = " << ivar << std::endl;
  }
}
// -----------------------------------------------------------------------------
/*! \brief Output GeoVaLs to a stream */
\brief Output GeoVaLs to a stream
\ brief Output GeoVaLs to a stream
void GeoVaLs::print(std::ostream & os) const {
  int nn;
  double zmin, zmax, zrms;
  os << "GeoVaLs: variables = " << vars_ << std::endl;
  for (size_t jv = 0; jv < vars_.size(); ++jv) {
    int nv = jv;
    ufo_geovals_minmaxavg_f90(keyGVL_, nn, nv, zmin, zmax, zrms);
    os << "GeoVaLs: nobs= " << nn << " " << vars_[jv] << " Min=" << zmin << ", Max=" << zmax
       << ", RMS=" << zrms << std::endl;
  }
  if (zmin >= 0.0) {
    double mxval;
    int ivar, iobs;
    ufo_geovals_maxloc_f90(keyGVL_, mxval, iobs, ivar);
    oops::Log::debug() << "GeoVaLs: Maximum Value (vertical rms) = "
                       << std::setprecision(4)
                       << mxval << " for observation = " << iobs
                       << " and variable = " << ivar << std::endl;
  }
}
void GeoVaLs :: print ( std :: ostream & os ) const { int nn ; double zmin , zmax , zrms ; os << " " << vars_ << std :: endl ; for ( size_t jv = 0 ; jv < vars_ . size ( ) ; ++ jv ) { int nv = jv ; ufo_geovals_minmaxavg_f90 ( keyGVL_ , nn , nv , zmin , zmax , zrms ) ; os << " " << nn << " " << vars_ [ jv ] << " " << zmin << " " << zmax << " " << zrms << std :: endl ; } if ( zmin >= 0.0 ) { double mxval ; int ivar , iobs ; ufo_geovals_maxloc_f90 ( keyGVL_ , mxval , iobs , ivar ) ; oops :: Log :: debug ( ) << " " << std :: setprecision ( 4 ) << mxval << " " << iobs << " " << ivar << std :: endl ; } }
\brief Output GeoVaLs to a stream
\ brief Output GeoVaLs to a stream
/*! Verbose print statement (debug mode)
   *
   * \detail If the min value across all variables is positive, then this may be
   * an error measurement.  If so, compute the rms over the vertical profile and
   * tell the user where the maximum rms value occurs, in terms of the
   * observation number and the variable number.  This is intended to help
   * with debugging.
   */