19 #ifndef _PISMPNCFILE_H_
20 #define _PISMPNCFILE_H_
22 #include "pism/util/io/NCFile.hh"
53 void def_dim_impl(
const std::string &name,
size_t length)
const;
55 void inq_dimid_impl(
const std::string &dimension_name,
bool &exists)
const;
57 void inq_dimlen_impl(
const std::string &dimension_name,
unsigned int &result)
const;
63 const std::vector<std::string> &dims)
const;
66 const std::vector<unsigned int> &start,
67 const std::vector<unsigned int> &
count,
71 const std::vector<unsigned int> &start,
72 const std::vector<unsigned int> &
count,
73 const double *op)
const;
76 const std::vector<unsigned int> &start,
77 const std::vector<unsigned int> &
count,
78 const std::vector<unsigned int> &imap,
83 void inq_vardimid_impl(
const std::string &variable_name, std::vector<std::string> &result)
const;
87 void inq_varid_impl(
const std::string &variable_name,
bool &exists)
const;
95 std::vector<double> &result)
const;
97 void get_att_text_impl(
const std::string &variable_name,
const std::string &att_name,
98 std::string &result)
const;
101 io::Type xtype,
const std::vector<double> &data)
const;
103 void put_att_text_impl(
const std::string &variable_name,
const std::string &att_name,
104 const std::string &value)
const;
107 std::string &result)
const;
109 void inq_atttype_impl(
const std::string &variable_name,
const std::string &att_name,
115 void del_att_impl(
const std::string &variable_name,
const std::string &att_name)
const;
121 const std::vector<unsigned int> &start,
122 const std::vector<unsigned int> &
count,
123 const std::vector<unsigned int> &imap,
double *ip,
124 bool transposed)
const;
128 int get_varid(
const std::string &variable_name)
const;
std::string filename() const
The PISM wrapper for a subset of the NetCDF C API.
void def_dim_impl(const std::string &name, size_t length) const
void inq_unlimdim_impl(std::string &result) const
void get_vara_double_impl(const std::string &variable_name, const std::vector< unsigned int > &start, const std::vector< unsigned int > &count, double *ip) const
void inq_varid_impl(const std::string &variable_name, bool &exists) const
void get_varm_double_impl(const std::string &variable_name, const std::vector< unsigned int > &start, const std::vector< unsigned int > &count, const std::vector< unsigned int > &imap, double *ip) const
void inq_varname_impl(unsigned int j, std::string &result) const
void inq_dimid_impl(const std::string &dimension_name, bool &exists) const
void inq_nvars_impl(int &result) const
void del_att_impl(const std::string &variable_name, const std::string &att_name) const
void put_vara_double_impl(const std::string &variable_name, const std::vector< unsigned int > &start, const std::vector< unsigned int > &count, const double *op) const
void inq_varnatts_impl(const std::string &variable_name, int &result) const
void inq_dimlen_impl(const std::string &dimension_name, unsigned int &result) const
std::vector< std::string > m_mpi_io_hints
void put_att_double_impl(const std::string &variable_name, const std::string &att_name, io::Type xtype, const std::vector< double > &data) const
void inq_attname_impl(const std::string &variable_name, unsigned int n, std::string &result) const
void inq_atttype_impl(const std::string &variable_name, const std::string &att_name, io::Type &result) const
void inq_vardimid_impl(const std::string &variable_name, std::vector< std::string > &result) const
void get_att_text_impl(const std::string &variable_name, const std::string &att_name, std::string &result) const
void get_var_double(const std::string &variable_name, const std::vector< unsigned int > &start, const std::vector< unsigned int > &count, const std::vector< unsigned int > &imap, double *ip, bool transposed) const
void set_fill_impl(int fillmode, int &old_modep) const
void set_compression_level_impl(int level) const
void create_impl(const std::string &filename)
void get_att_double_impl(const std::string &variable_name, const std::string &att_name, std::vector< double > &result) const
int get_varid(const std::string &variable_name) const
void open_impl(const std::string &filename, io::Mode mode)
void put_att_text_impl(const std::string &variable_name, const std::string &att_name, const std::string &value) const
void def_var_impl(const std::string &name, io::Type nctype, const std::vector< std::string > &dims) const
PISM's PnetCDF I/O wrapper.