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

◆ check_units()

static std::string pism::io::check_units ( const VariableMetadata variable,
const std::string &  input_units,
const Logger log 
)
static

Check if units are set in an input file and warn if they are not.

Definition at line 38 of file input_helpers.cc.

References pism::VariableMetadata::get_name(), pism::VariableMetadata::get_string(), and pism::Logger::message().

Referenced by read_spatial_variable(), and regrid_spatial_variable().