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

◆ to_python_type()

static std::string pism::details::to_python_type ( pism::io::Type  input)
static

Convert a PISM data type to a string that describes the same type as a NumPy dtype object (in Python).

Definition at line 61 of file YacOutputWriter.cc.

References pism::io::PISM_BYTE, pism::io::PISM_CHAR, pism::io::PISM_DOUBLE, pism::io::PISM_FLOAT, pism::io::PISM_INT, and pism::io::PISM_SHORT.

Referenced by pism::YacOutputWriter::define_variable_impl().