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

◆ get_varid()

int pism::io::NC_Serial::get_varid ( const std::string &  variable_name) const
protected

return the varid corresponding to a variable.

If the value returned is NC_GLOBAL or greater, it is a varid, otherwise it is an error code.

Definition at line 888 of file NC_Serial.cc.

References pism::io::NCFile::m_file_id, and m_rank.

Referenced by pism::io::NC4_Serial::def_var_impl(), del_att_impl(), get_att_double_impl(), get_att_text_impl(), inq_attname_impl(), inq_atttype_impl(), inq_varnatts_impl(), put_att_double_impl(), and put_att_text_impl().