SCALE-RM
|
#include "gtool_file.h"
Go to the source code of this file.
Functions | |
void | file_open_ (int32_t *fid, char *fname, int32_t *mode, int32_t *comm, int32_t *error, int32_t fname_len) |
void | file_set_option_ (int32_t *fid, char *filetype, char *key, char *val, int32_t *error, int32_t filetype_len, int32_t key_len, int32_t val_len) |
void | file_get_datainfo_ (datainfo_t *dinfo, int32_t *fid, char *varname, int32_t *step, int32_t *suppress, int32_t *error, int32_t varname_len) |
void | file_read_data_ (void *var, datainfo_t *dinfo, int32_t *precision, int32_t *error) |
void | file_read_data_par_ (void *var, datainfo_t *dinfo, int32_t *ndims, int32_t *ntypes, int32_t *dtype, int32_t *start, int32_t *count, int32_t *error) |
void | file_get_global_attribute_text_ (int32_t *fid, char *key, char *value, int32_t *error, int32_t key_len, int32_t value_len) |
void | file_get_global_attribute_int_ (int32_t *fid, char *key, int32_t *len, int32_t *value, int32_t *error, int32_t key_len) |
void | file_get_global_attribute_float_ (int32_t *fid, char *key, int32_t *len, float *value, int32_t *error, int32_t key_len) |
void | file_get_global_attribute_double_ (int32_t *fid, char *key, int32_t *len, double *value, int32_t *error, int32_t key_len) |
void | file_set_global_attribute_text_ (int32_t *fid, char *key, char *value, int32_t *error, int32_t key_len, int32_t value_len) |
void | file_set_global_attribute_int_ (int32_t *fid, char *key, int32_t *value, int32_t *len, int32_t *error, int32_t key_len) |
void | file_set_global_attribute_float_ (int32_t *fid, char *key, float *value, int32_t *len, int32_t *error, int32_t key_len) |
void | file_set_global_attribute_double_ (int32_t *fid, char *key, double *value, int32_t *len, int32_t *error, int32_t key_len) |
void | file_set_tunits_ (int32_t *fid, char *time_units, int32_t *error, int32_t len) |
void | file_set_tattr_ (int32_t *fid, char *vname, char *key, char *val, int32_t *error, int32_t vname_len, int32_t key_len, int32_t val_len) |
void | file_put_axis_ (int32_t *fid, char *name, char *desc, char *units, char *dim_name, int32_t *dtype, void *val, int32_t *size, int32_t *precision, int32_t *error, int32_t name_len, int32_t desc_len, int32_t units_len, int32_t dim_name_len) |
void | file_def_axis_ (int32_t *fid, char *name, char *desc, char *units, char *dim_name, int32_t *dtype, int32_t *dim_size, int32_t *error, int32_t name_len, int32_t desc_len, int32_t units_len, int32_t dim_name_len) |
void | file_write_axis_ (int32_t *fid, char *name, void *val, int32_t *precision, int32_t *start, int32_t *count, int32_t *error, int32_t name_len) |
void | file_put_associated_coordinates_ (int32_t *fid, char *name, char *desc, char *units, char *dim_names, int32_t *ndims, int32_t *dtype, void *val, int32_t *precision, int32_t *error, int32_t name_len, int32_t desc_len, int32_t units_len, int32_t dim_name_len) |
void | file_def_associated_coordinates_ (int32_t *fid, char *name, char *desc, char *units, char *dim_names, int32_t *ndims, int32_t *dtype, int32_t *error, int32_t name_len, int32_t desc_len, int32_t units_len, int32_t dim_name_len) |
void | file_write_associated_coordinates_ (int32_t *fid, char *name, void *val, int32_t *precision, int32_t *ndims, int32_t *start, int32_t *count, int32_t *error, int32_t name_len) |
void | file_add_variable_ (int32_t *vid, int32_t *fid, char *varname, char *desc, char *units, char *dims, int32_t *ndims, int32_t *dtype, real64_t *tint, int32_t *tavg, int32_t *error, int32_t varname_len, int32_t desc_len, int32_t units_len, int32_t dims_len) |
void | file_write_data_ (int32_t *fid, int32_t *vid, void *var, real64_t *t_start, real64_t *t_end, int32_t *precision, int32_t *ndims, int32_t *start, int32_t *count, int32_t *error) |
void | file_close_ (int32_t *fid, int32_t *error) |
void | file_enddef_ (int32_t *fid, int32_t *error) |
void | file_attach_buffer_ (int32_t *fid, int32_t *buf_amount, int32_t *error) |
void | file_detach_buffer_ (int32_t *fid, int32_t *error) |
void | file_flush_ (int32_t *fid, int32_t *error) |
void file_open_ | ( | int32_t * | fid, |
char * | fname, | ||
int32_t * | mode, | ||
int32_t * | comm, | ||
int32_t * | error, | ||
int32_t | fname_len | ||
) |
Definition at line 39 of file gtool_file_f.c.
void file_set_option_ | ( | int32_t * | fid, |
char * | filetype, | ||
char * | key, | ||
char * | val, | ||
int32_t * | error, | ||
int32_t | filetype_len, | ||
int32_t | key_len, | ||
int32_t | val_len | ||
) |
Definition at line 55 of file gtool_file_f.c.
References File_HMID, and File_HSHORT.
void file_get_datainfo_ | ( | datainfo_t * | dinfo, |
int32_t * | fid, | ||
char * | varname, | ||
int32_t * | step, | ||
int32_t * | suppress, | ||
int32_t * | error, | ||
int32_t | varname_len | ||
) |
Definition at line 81 of file gtool_file_f.c.
void file_read_data_ | ( | void * | var, |
datainfo_t * | dinfo, | ||
int32_t * | precision, | ||
int32_t * | error | ||
) |
Definition at line 105 of file gtool_file_f.c.
void file_read_data_par_ | ( | void * | var, |
datainfo_t * | dinfo, | ||
int32_t * | ndims, | ||
int32_t * | ntypes, | ||
int32_t * | dtype, | ||
int32_t * | start, | ||
int32_t * | count, | ||
int32_t * | error | ||
) |
Definition at line 122 of file gtool_file_f.c.
void file_get_global_attribute_text_ | ( | int32_t * | fid, |
char * | key, | ||
char * | value, | ||
int32_t * | error, | ||
int32_t | key_len, | ||
int32_t | value_len | ||
) |
Definition at line 150 of file gtool_file_f.c.
void file_get_global_attribute_int_ | ( | int32_t * | fid, |
char * | key, | ||
int32_t * | len, | ||
int32_t * | value, | ||
int32_t * | error, | ||
int32_t | key_len | ||
) |
Definition at line 170 of file gtool_file_f.c.
void file_get_global_attribute_float_ | ( | int32_t * | fid, |
char * | key, | ||
int32_t * | len, | ||
float * | value, | ||
int32_t * | error, | ||
int32_t | key_len | ||
) |
Definition at line 186 of file gtool_file_f.c.
void file_get_global_attribute_double_ | ( | int32_t * | fid, |
char * | key, | ||
int32_t * | len, | ||
double * | value, | ||
int32_t * | error, | ||
int32_t | key_len | ||
) |
Definition at line 202 of file gtool_file_f.c.
void file_set_global_attribute_text_ | ( | int32_t * | fid, |
char * | key, | ||
char * | value, | ||
int32_t * | error, | ||
int32_t | key_len, | ||
int32_t | value_len | ||
) |
Definition at line 218 of file gtool_file_f.c.
void file_set_global_attribute_int_ | ( | int32_t * | fid, |
char * | key, | ||
int32_t * | value, | ||
int32_t * | len, | ||
int32_t * | error, | ||
int32_t | key_len | ||
) |
Definition at line 238 of file gtool_file_f.c.
void file_set_global_attribute_float_ | ( | int32_t * | fid, |
char * | key, | ||
float * | value, | ||
int32_t * | len, | ||
int32_t * | error, | ||
int32_t | key_len | ||
) |
Definition at line 253 of file gtool_file_f.c.
void file_set_global_attribute_double_ | ( | int32_t * | fid, |
char * | key, | ||
double * | value, | ||
int32_t * | len, | ||
int32_t * | error, | ||
int32_t | key_len | ||
) |
Definition at line 269 of file gtool_file_f.c.
void file_set_tunits_ | ( | int32_t * | fid, |
char * | time_units, | ||
int32_t * | error, | ||
int32_t | len | ||
) |
void file_set_tattr_ | ( | int32_t * | fid, |
char * | vname, | ||
char * | key, | ||
char * | val, | ||
int32_t * | error, | ||
int32_t | vname_len, | ||
int32_t | key_len, | ||
int32_t | val_len | ||
) |
Definition at line 298 of file gtool_file_f.c.
References File_HLONG, and File_HSHORT.
void file_put_axis_ | ( | int32_t * | fid, |
char * | name, | ||
char * | desc, | ||
char * | units, | ||
char * | dim_name, | ||
int32_t * | dtype, | ||
void * | val, | ||
int32_t * | size, | ||
int32_t * | precision, | ||
int32_t * | error, | ||
int32_t | name_len, | ||
int32_t | desc_len, | ||
int32_t | units_len, | ||
int32_t | dim_name_len | ||
) |
Definition at line 324 of file gtool_file_f.c.
void file_def_axis_ | ( | int32_t * | fid, |
char * | name, | ||
char * | desc, | ||
char * | units, | ||
char * | dim_name, | ||
int32_t * | dtype, | ||
int32_t * | dim_size, | ||
int32_t * | error, | ||
int32_t | name_len, | ||
int32_t | desc_len, | ||
int32_t | units_len, | ||
int32_t | dim_name_len | ||
) |
Definition at line 360 of file gtool_file_f.c.
void file_write_axis_ | ( | int32_t * | fid, |
char * | name, | ||
void * | val, | ||
int32_t * | precision, | ||
int32_t * | start, | ||
int32_t * | count, | ||
int32_t * | error, | ||
int32_t | name_len | ||
) |
Definition at line 394 of file gtool_file_f.c.
void file_put_associated_coordinates_ | ( | int32_t * | fid, |
char * | name, | ||
char * | desc, | ||
char * | units, | ||
char * | dim_names, | ||
int32_t * | ndims, | ||
int32_t * | dtype, | ||
void * | val, | ||
int32_t * | precision, | ||
int32_t * | error, | ||
int32_t | name_len, | ||
int32_t | desc_len, | ||
int32_t | units_len, | ||
int32_t | dim_name_len | ||
) |
Definition at line 417 of file gtool_file_f.c.
void file_def_associated_coordinates_ | ( | int32_t * | fid, |
char * | name, | ||
char * | desc, | ||
char * | units, | ||
char * | dim_names, | ||
int32_t * | ndims, | ||
int32_t * | dtype, | ||
int32_t * | error, | ||
int32_t | name_len, | ||
int32_t | desc_len, | ||
int32_t | units_len, | ||
int32_t | dim_name_len | ||
) |
Definition at line 457 of file gtool_file_f.c.
void file_write_associated_coordinates_ | ( | int32_t * | fid, |
char * | name, | ||
void * | val, | ||
int32_t * | precision, | ||
int32_t * | ndims, | ||
int32_t * | start, | ||
int32_t * | count, | ||
int32_t * | error, | ||
int32_t | name_len | ||
) |
Definition at line 495 of file gtool_file_f.c.
void file_add_variable_ | ( | int32_t * | vid, |
int32_t * | fid, | ||
char * | varname, | ||
char * | desc, | ||
char * | units, | ||
char * | dims, | ||
int32_t * | ndims, | ||
int32_t * | dtype, | ||
real64_t * | tint, | ||
int32_t * | tavg, | ||
int32_t * | error, | ||
int32_t | varname_len, | ||
int32_t | desc_len, | ||
int32_t | units_len, | ||
int32_t | dims_len | ||
) |
Definition at line 520 of file gtool_file_f.c.
void file_write_data_ | ( | int32_t * | fid, |
int32_t * | vid, | ||
void * | var, | ||
real64_t * | t_start, | ||
real64_t * | t_end, | ||
int32_t * | precision, | ||
int32_t * | ndims, | ||
int32_t * | start, | ||
int32_t * | count, | ||
int32_t * | error | ||
) |
Definition at line 566 of file gtool_file_f.c.
void file_close_ | ( | int32_t * | fid, |
int32_t * | error | ||
) |
Definition at line 587 of file gtool_file_f.c.
References file_close().
void file_enddef_ | ( | int32_t * | fid, |
int32_t * | error | ||
) |
Definition at line 593 of file gtool_file_f.c.
References file_enddef().
void file_attach_buffer_ | ( | int32_t * | fid, |
int32_t * | buf_amount, | ||
int32_t * | error | ||
) |
Definition at line 599 of file gtool_file_f.c.
References file_attach_buffer().
void file_detach_buffer_ | ( | int32_t * | fid, |
int32_t * | error | ||
) |
Definition at line 606 of file gtool_file_f.c.
References file_detach_buffer().
void file_flush_ | ( | int32_t * | fid, |
int32_t * | error | ||
) |
Definition at line 612 of file gtool_file_f.c.
References file_flush().