Loading [MathJax]/extensions/tex2jax.js
PISM, A Parallel Ice Sheet Model 2.2.2-d6b3a29ca committed by Constantine Khrulev on 2025-03-28
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages

◆ get_att_double_impl()

void pism::io::NC_Serial::get_att_double_impl ( const std::string &  variable_name,
const std::string &  att_name,
std::vector< double > &  result 
) const
protectedvirtual

Gets a double attribute.

Use "PISM_GLOBAL" as the "variable_name" to get the number of global attributes.

Implements pism::io::NCFile.

Definition at line 572 of file NC_Serial.cc.

References pism::io::check(), get_varid(), pism::io::NCFile::m_com, pism::io::NCFile::m_file_id, m_rank, and PISM_ERROR_LOCATION.