PISM, A Parallel Ice Sheet Model 2.3.0-79cae578d committed by Constantine Khrulev on 2026-03-22
Loading...
Searching...
No Matches

◆ define_variable() [1/2]

void pism::OutputWriter::define_variable ( const std::string &  file_name,
const std::string &  variable_name,
const std::vector< std::string > &  dims,
io::Type  type,
const VariableAttributes attributes 
)
protected

Define a variable given a list of dimension names and set its attributes.

Use this method to define coordinate variables (x, y, time, etc).

No-op if the variable already exists.

Definition at line 212 of file OutputWriter.cc.

References define_variable_impl(), and pism::format_attributes().