PISM, A Parallel Ice Sheet Model
stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900
|
◆ write_spatial_variable()
Write a double array to a file. Converts units if internal and "output" units are different. Definition at line 624 of file io_helpers.cc. References pism::File::attribute_type(), pism::units::Converter::convert_doubles(), pism::Grid::ctx(), pism::File::filename(), pism::File::find_variable(), pism::RuntimeError::formatted(), pism::VariableMetadata::get_name(), pism::VariableMetadata::get_time_independent(), pism::k, pism::SpatialVariableMetadata::levels(), pism::array::max(), pism::VariableMetadata::output_units(), PISM_ERROR_LOCATION, PISM_NAT, pism::File::redef(), pism::File::remove_attribute(), pism::VariableMetadata::unit_system(), write_dimensions(), pism::File::write_distributed_array(), pism::Grid::xm(), and pism::Grid::ym(). Referenced by pism::array::Array::write_impl(). |