PISM, A Parallel Ice Sheet Model 2.3.0-79cae578d committed by Constantine Khrulev on 2026-03-22
Loading...
Searching...
No Matches

◆ check_for_missing_values()

static void pism::io::check_for_missing_values ( const File file,
const std::string &  variable_name,
double  tolerance,
const double buffer,
size_t  buffer_length 
)
static

Check if some values in buffer match the _FillValue attribute and stop with an error message if such values are found.

Definition at line 268 of file input_helpers.cc.

References pism::File::com(), pism::RuntimeError::formatted(), pism::k, pism::File::name(), PISM_ERROR_LOCATION, and pism::File::read_double_attribute().

Referenced by read_distributed_array().