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 *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_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_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_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 *error) |
void | file_close_ (int32_t *fid, int32_t *error) |
void file_open_ | ( | int32_t * | fid, |
char * | fname, | ||
int32_t * | mode, | ||
int32_t * | error, | ||
int32_t | fname_len | ||
) |
Definition at line 35 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 50 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 76 of file gtool_file_f.c.
void file_read_data_ | ( | void * | var, |
datainfo_t * | dinfo, | ||
int32_t * | precision, | ||
int32_t * | error | ||
) |
Definition at line 100 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 117 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 137 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 153 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 169 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 185 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 205 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 220 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 236 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 265 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 291 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 327 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 367 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 * | error | ||
) |
Definition at line 413 of file gtool_file_f.c.
References file_write_data().
void file_close_ | ( | int32_t * | fid, |
int32_t * | error | ||
) |
Definition at line 424 of file gtool_file_f.c.
References file_close().