SCALE-RM
|
#include "scale_file.h"
Go to the source code of this file.
Functions | |
void | file_open_c_ (int32_t *fid, const char *fname, const int32_t *mode, const int32_t *comm, int32_t *error, const int32_t fname_len) |
void | file_get_dim_length_c_ (const int32_t *fid, const char *dimname, int32_t *len, int32_t *error, const int32_t dimname_len) |
void | file_set_option_c_ (const int32_t *fid, const char *filetype, const char *key, const char *val, int32_t *error, const int32_t filetype_len, const int32_t key_len, const int32_t val_len) |
void | file_get_nvars_c_ (const int32_t *fid, int32_t *nvars, int32_t *error) |
void | file_get_varname_c_ (const int32_t *fid, const int32_t *vid, char *varname, int32_t *error, const int32_t varname_len) |
void | file_get_datainfo_c_ (datainfo_t *dinfo, const int32_t *fid, const char *varname, const int32_t *step, const int32_t *suppress, int32_t *error, const int32_t varname_len) |
void | file_get_step_size_c_ (const int32_t *fid, const char *varname, int32_t *len, int32_t *error, const int32_t varname_len) |
void | file_read_data_c_ (void *var, const datainfo_t *dinfo, const int32_t *precision, const int32_t *ntypes, const int32_t *dtype, const int32_t *start, const int32_t *count, int32_t *error) |
void | file_get_attribute_text_c_ (const int32_t *fid, const char *vname, const char *key, const int32_t *suppress, char *value, int32_t *error, const int32_t vname_len, const int32_t key_len, const int32_t value_len) |
void | file_get_attribute_int_c_ (const int32_t *fid, const char *vname, const char *key, const int32_t *len, const int32_t *suppress, int32_t *value, int32_t *error, const int32_t vname_len, const int32_t key_len) |
void | file_get_attribute_float_c_ (const int32_t *fid, const char *vname, const char *key, const int32_t *len, const int32_t *suppress, float *value, int32_t *error, const int32_t vname_len, const int32_t key_len) |
void | file_get_attribute_double_c_ (const int32_t *fid, const char *vname, const char *key, const int32_t *len, const int32_t *suppress, double *value, int32_t *error, const int32_t vname_len, const int32_t key_len) |
void | file_set_attribute_text_c_ (const int32_t *fid, const char *vname, const char *key, const char *value, int32_t *error, const int32_t vname_len, const int32_t key_len, const int32_t value_len) |
void | file_set_attribute_int_c_ (const int32_t *fid, const char *vname, const char *key, const int32_t *value, const int32_t *len, int32_t *error, const int32_t vname_len, const int32_t key_len) |
void | file_set_attribute_float_c_ (const int32_t *fid, const char *vname, const char *key, const float *value, const int32_t *len, int32_t *error, const int32_t vname_len, const int32_t key_len) |
void | file_set_attribute_double_c_ (const int32_t *fid, const char *vname, const char *key, const double *value, const int32_t *len, int32_t *error, const int32_t vname_len, const int32_t key_len) |
void | file_add_associatedvariable_c_ (const int32_t *fid, const char *vname, int32_t *error, const int32_t vname_len) |
void | file_set_tunits_c_ (const int32_t *fid, const char *time_units, const char *calendar, int32_t *error, const int32_t unit_len, const int32_t cal_len) |
void | file_put_axis_c_ (const int32_t *fid, const char *name, const char *desc, const char *units, const char *dim_name, const int32_t *dtype, const void *val, const int32_t *size, const int32_t *precision, int32_t *error, const int32_t name_len, const int32_t desc_len, const int32_t units_len, const int32_t dim_name_len) |
void | file_def_axis_c_ (const int32_t *fid, const char *name, const char *desc, const char *units, const char *dim_name, const int32_t *dtype, const int32_t *dim_size, const int32_t *bounds, int32_t *error, const int32_t name_len, const int32_t desc_len, const int32_t units_len, const int32_t dim_name_len) |
void | file_write_axis_c_ (const int32_t *fid, const char *name, const void *val, const int32_t *precision, const int32_t *start, const int32_t *count, int32_t *error, const int32_t name_len) |
void | file_put_associatedcoordinate_c_ (const int32_t *fid, const char *name, const char *desc, const char *units, const char *dim_names, const int32_t *ndims, const int32_t *dtype, const void *val, const int32_t *precision, int32_t *error, const int32_t name_len, const int32_t desc_len, const int32_t units_len, const int32_t dim_name_len) |
void | file_def_associatedcoordinate_c_ (const int32_t *fid, const char *name, const char *desc, const char *units, const char *dim_names, const int32_t *ndims, const int32_t *dtype, int32_t *error, const int32_t name_len, const int32_t desc_len, const int32_t units_len, const int32_t dim_name_len) |
void | file_write_associatedcoordinate_c_ (const int32_t *fid, const char *name, const void *val, const int32_t *precision, const int32_t *ndims, const int32_t *start, const int32_t *count, int32_t *error, const int32_t name_len) |
void | file_add_variable_c_ (const int32_t *fid, const char *varname, const char *desc, const char *units, const char *standard_name, const char *dims, const int32_t *ndims, const int32_t *dtype, const real64_t *tint, const int32_t *tavg, int32_t *vid, int32_t *error, const int32_t varname_len, const int32_t desc_len, const int32_t units_len, const int32_t stdname_len, const int32_t dims_len) |
void | file_write_data_c_ (const int32_t *fid, const int32_t *vid, const void *var, const real64_t *t_start, const real64_t *t_end, const int32_t *precision, const int32_t *ndims, const int32_t *start, const int32_t *count, int32_t *error) |
void | file_close_c_ (const int32_t *fid, int32_t *error) |
void | file_enddef_c_ (const int32_t *fid, int32_t *error) |
void | file_attach_buffer_c_ (const int32_t *fid, const int64_t *buf_amount, int32_t *error) |
void | file_detach_buffer_c_ (const int32_t *fid, int32_t *error) |
void | file_flush_c_ (const int32_t *fid, int32_t *error) |
void file_open_c_ | ( | int32_t * | fid, |
const char * | fname, | ||
const int32_t * | mode, | ||
const int32_t * | comm, | ||
int32_t * | error, | ||
const int32_t | fname_len | ||
) |
Definition at line 36 of file scale_file_f.c.
void file_get_dim_length_c_ | ( | const int32_t * | fid, |
const char * | dimname, | ||
int32_t * | len, | ||
int32_t * | error, | ||
const int32_t | dimname_len | ||
) |
Definition at line 52 of file scale_file_f.c.
void file_set_option_c_ | ( | const int32_t * | fid, |
const char * | filetype, | ||
const char * | key, | ||
const char * | val, | ||
int32_t * | error, | ||
const int32_t | filetype_len, | ||
const int32_t | key_len, | ||
const int32_t | val_len | ||
) |
Definition at line 67 of file scale_file_f.c.
void file_get_nvars_c_ | ( | const int32_t * | fid, |
int32_t * | nvars, | ||
int32_t * | error | ||
) |
Definition at line 93 of file scale_file_f.c.
void file_get_varname_c_ | ( | const int32_t * | fid, |
const int32_t * | vid, | ||
char * | varname, | ||
int32_t * | error, | ||
const int32_t | varname_len | ||
) |
Definition at line 100 of file scale_file_f.c.
void file_get_datainfo_c_ | ( | datainfo_t * | dinfo, |
const int32_t * | fid, | ||
const char * | varname, | ||
const int32_t * | step, | ||
const int32_t * | suppress, | ||
int32_t * | error, | ||
const int32_t | varname_len | ||
) |
Definition at line 115 of file scale_file_f.c.
void file_get_step_size_c_ | ( | const int32_t * | fid, |
const char * | varname, | ||
int32_t * | len, | ||
int32_t * | error, | ||
const int32_t | varname_len | ||
) |
Definition at line 146 of file scale_file_f.c.
void file_read_data_c_ | ( | void * | var, |
const datainfo_t * | dinfo, | ||
const int32_t * | precision, | ||
const int32_t * | ntypes, | ||
const int32_t * | dtype, | ||
const int32_t * | start, | ||
const int32_t * | count, | ||
int32_t * | error | ||
) |
Definition at line 161 of file scale_file_f.c.
void file_get_attribute_text_c_ | ( | const int32_t * | fid, |
const char * | vname, | ||
const char * | key, | ||
const int32_t * | suppress, | ||
char * | value, | ||
int32_t * | error, | ||
const int32_t | vname_len, | ||
const int32_t | key_len, | ||
const int32_t | value_len | ||
) |
Definition at line 203 of file scale_file_f.c.
void file_get_attribute_int_c_ | ( | const int32_t * | fid, |
const char * | vname, | ||
const char * | key, | ||
const int32_t * | len, | ||
const int32_t * | suppress, | ||
int32_t * | value, | ||
int32_t * | error, | ||
const int32_t | vname_len, | ||
const int32_t | key_len | ||
) |
Definition at line 232 of file scale_file_f.c.
void file_get_attribute_float_c_ | ( | const int32_t * | fid, |
const char * | vname, | ||
const char * | key, | ||
const int32_t * | len, | ||
const int32_t * | suppress, | ||
float * | value, | ||
int32_t * | error, | ||
const int32_t | vname_len, | ||
const int32_t | key_len | ||
) |
Definition at line 255 of file scale_file_f.c.
void file_get_attribute_double_c_ | ( | const int32_t * | fid, |
const char * | vname, | ||
const char * | key, | ||
const int32_t * | len, | ||
const int32_t * | suppress, | ||
double * | value, | ||
int32_t * | error, | ||
const int32_t | vname_len, | ||
const int32_t | key_len | ||
) |
Definition at line 278 of file scale_file_f.c.
void file_set_attribute_text_c_ | ( | const int32_t * | fid, |
const char * | vname, | ||
const char * | key, | ||
const char * | value, | ||
int32_t * | error, | ||
const int32_t | vname_len, | ||
const int32_t | key_len, | ||
const int32_t | value_len | ||
) |
Definition at line 301 of file scale_file_f.c.
void file_set_attribute_int_c_ | ( | const int32_t * | fid, |
const char * | vname, | ||
const char * | key, | ||
const int32_t * | value, | ||
const int32_t * | len, | ||
int32_t * | error, | ||
const int32_t | vname_len, | ||
const int32_t | key_len | ||
) |
Definition at line 327 of file scale_file_f.c.
void file_set_attribute_float_c_ | ( | const int32_t * | fid, |
const char * | vname, | ||
const char * | key, | ||
const float * | value, | ||
const int32_t * | len, | ||
int32_t * | error, | ||
const int32_t | vname_len, | ||
const int32_t | key_len | ||
) |
Definition at line 349 of file scale_file_f.c.
void file_set_attribute_double_c_ | ( | const int32_t * | fid, |
const char * | vname, | ||
const char * | key, | ||
const double * | value, | ||
const int32_t * | len, | ||
int32_t * | error, | ||
const int32_t | vname_len, | ||
const int32_t | key_len | ||
) |
Definition at line 371 of file scale_file_f.c.
void file_add_associatedvariable_c_ | ( | const int32_t * | fid, |
const char * | vname, | ||
int32_t * | error, | ||
const int32_t | vname_len | ||
) |
Definition at line 393 of file scale_file_f.c.
void file_set_tunits_c_ | ( | const int32_t * | fid, |
const char * | time_units, | ||
const char * | calendar, | ||
int32_t * | error, | ||
const int32_t | unit_len, | ||
const int32_t | cal_len | ||
) |
Definition at line 407 of file scale_file_f.c.
void file_put_axis_c_ | ( | const int32_t * | fid, |
const char * | name, | ||
const char * | desc, | ||
const char * | units, | ||
const char * | dim_name, | ||
const int32_t * | dtype, | ||
const void * | val, | ||
const int32_t * | size, | ||
const int32_t * | precision, | ||
int32_t * | error, | ||
const int32_t | name_len, | ||
const int32_t | desc_len, | ||
const int32_t | units_len, | ||
const int32_t | dim_name_len | ||
) |
Definition at line 427 of file scale_file_f.c.
void file_def_axis_c_ | ( | const int32_t * | fid, |
const char * | name, | ||
const char * | desc, | ||
const char * | units, | ||
const char * | dim_name, | ||
const int32_t * | dtype, | ||
const int32_t * | dim_size, | ||
const int32_t * | bounds, | ||
int32_t * | error, | ||
const int32_t | name_len, | ||
const int32_t | desc_len, | ||
const int32_t | units_len, | ||
const int32_t | dim_name_len | ||
) |
Definition at line 463 of file scale_file_f.c.
void file_write_axis_c_ | ( | const int32_t * | fid, |
const char * | name, | ||
const void * | val, | ||
const int32_t * | precision, | ||
const int32_t * | start, | ||
const int32_t * | count, | ||
int32_t * | error, | ||
const int32_t | name_len | ||
) |
Definition at line 498 of file scale_file_f.c.
void file_put_associatedcoordinate_c_ | ( | const int32_t * | fid, |
const char * | name, | ||
const char * | desc, | ||
const char * | units, | ||
const char * | dim_names, | ||
const int32_t * | ndims, | ||
const int32_t * | dtype, | ||
const void * | val, | ||
const int32_t * | precision, | ||
int32_t * | error, | ||
const int32_t | name_len, | ||
const int32_t | desc_len, | ||
const int32_t | units_len, | ||
const int32_t | dim_name_len | ||
) |
Definition at line 521 of file scale_file_f.c.
void file_def_associatedcoordinate_c_ | ( | const int32_t * | fid, |
const char * | name, | ||
const char * | desc, | ||
const char * | units, | ||
const char * | dim_names, | ||
const int32_t * | ndims, | ||
const int32_t * | dtype, | ||
int32_t * | error, | ||
const int32_t | name_len, | ||
const int32_t | desc_len, | ||
const int32_t | units_len, | ||
const int32_t | dim_name_len | ||
) |
Definition at line 565 of file scale_file_f.c.
void file_write_associatedcoordinate_c_ | ( | const int32_t * | fid, |
const char * | name, | ||
const void * | val, | ||
const int32_t * | precision, | ||
const int32_t * | ndims, | ||
const int32_t * | start, | ||
const int32_t * | count, | ||
int32_t * | error, | ||
const int32_t | name_len | ||
) |
Definition at line 607 of file scale_file_f.c.
void file_add_variable_c_ | ( | const int32_t * | fid, |
const char * | varname, | ||
const char * | desc, | ||
const char * | units, | ||
const char * | standard_name, | ||
const char * | dims, | ||
const int32_t * | ndims, | ||
const int32_t * | dtype, | ||
const real64_t * | tint, | ||
const int32_t * | tavg, | ||
int32_t * | vid, | ||
int32_t * | error, | ||
const int32_t | varname_len, | ||
const int32_t | desc_len, | ||
const int32_t | units_len, | ||
const int32_t | stdname_len, | ||
const int32_t | dims_len | ||
) |
Definition at line 632 of file scale_file_f.c.
void file_write_data_c_ | ( | const int32_t * | fid, |
const int32_t * | vid, | ||
const void * | var, | ||
const real64_t * | t_start, | ||
const real64_t * | t_end, | ||
const int32_t * | precision, | ||
const int32_t * | ndims, | ||
const int32_t * | start, | ||
const int32_t * | count, | ||
int32_t * | error | ||
) |
Definition at line 683 of file scale_file_f.c.
void file_close_c_ | ( | const int32_t * | fid, |
int32_t * | error | ||
) |
Definition at line 697 of file scale_file_f.c.
void file_enddef_c_ | ( | const int32_t * | fid, |
int32_t * | error | ||
) |
Definition at line 703 of file scale_file_f.c.
void file_attach_buffer_c_ | ( | const int32_t * | fid, |
const int64_t * | buf_amount, | ||
int32_t * | error | ||
) |
Definition at line 709 of file scale_file_f.c.
void file_detach_buffer_c_ | ( | const int32_t * | fid, |
int32_t * | error | ||
) |
Definition at line 716 of file scale_file_f.c.
void file_flush_c_ | ( | const int32_t * | fid, |
int32_t * | error | ||
) |
Definition at line 722 of file scale_file_f.c.