PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800

◆ put_att_text_impl()

void pism::io::NC_Serial::put_att_text_impl ( const std::string &  variable_name,
const std::string &  att_name,
const std::string &  value 
) const
protectedvirtual

Writes a text attribute.

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

Implements pism::io::NCFile.

Definition at line 773 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.