PISM, A Parallel Ice Sheet Model 2.2.1-cd005eec8 committed by Constantine Khrulev on 2025-03-07
Loading...
Searching...
No Matches

◆ nrecords() [2/2]

unsigned int pism::File::nrecords ( const std::string &  name,
const std::string &  std_name,
units::System::Ptr  unit_system 
) const

Get the number of records of a certain variable. Uses the length of an associated "time" dimension.

Definition at line 299 of file File.cc.

References pism::RuntimeError::add_context(), dimension_length(), dimension_type(), dimensions(), find_variable(), name(), pism::T_AXIS, and variable_name().