Function t8_netcdf_create_integer_var

Function Documentation

t8_netcdf_variable_t *t8_netcdf_create_integer_var(const char *var_name, const char *var_long_name, const char *var_unit, sc_array_t *var_data)

Create an extern integer variable which additionally should be put out to the NetCDF File (The distinction if it will be a NC_INT or NC_INT64 variable is based on the elementsize of the given sc_array_t)

Parameters:
  • var_name[in] A String which will be the name of the created variable.

  • var_long_name[in] A string describing the variable a bit more and what it is about.

  • var_unit[in] The units in which the data is provided.

  • var_data[in] A sc_array_t holding the elementwise data of the variable.