|
PISM, A Parallel Ice Sheet Model 2.3.3-d9dd21c10 committed by Constantine Khrulev on 2026-10-13
|
◆ read_time_info()
Reads and validates times and time bounds. This requires careful handling of unit conversion because UDUNITS always uses the Gregorian calendar when computing offsets between dates of the form "X since Y-M-D". Definition at line 617 of file input_helpers.cc. References pism::io::TimeInfo::bounds, pism::calendar(), pism::RuntimeError::formatted(), pism::is_increasing(), pism::k, pism::File::name(), PISM_ERROR_LOCATION, read_1d_variable(), read_bounds(), pism::File::read_text_attribute(), pism::string_strip(), pism::units::Unit::system(), pism::units::Unit::time(), and pism::io::TimeInfo::times. Referenced by pism::array::Forcing::init(), and pism::ScalarForcing::initialize(). |