ncdf4a13/ncgen/init.c File Reference

#include <stdio.h>
#include <netcdf.h>
#include "generic.h"
#include "ncgen.h"
#include "genlib.h"

Include dependency graph for init.c:

Go to the source code of this file.

Functions

void init_netcdf (void)

Variables

int netcdf_flag
int c_flag
int fortran_flag
dimsdims
int ncid
int ndims
int nvars
int natts
int nvdims
int dimnum
int varnum
int valnum
int rec_dim
size_t var_len
size_t rec_len
size_t var_size
varsvars
attsatts


Function Documentation

void init_netcdf void   ) 
 

Definition at line 37 of file init.c.

References clearout(), ndims, nvars, and rec_dim.

Referenced by yyparse().

00037                   {                     /* initialize global counts, flags */
00038     
00039     clearout();                 /* reset symbol table to empty */
00040     ndims = 0;
00041     nvars = 0;
00042     rec_dim = -1;               /* means no unlimited dimension (yet) */
00043 }


Variable Documentation

struct atts* atts
 

Definition at line 34 of file init.c.

int c_flag
 

Definition at line 26 of file main.c.

int dimnum
 

Definition at line 24 of file init.c.

Referenced by yyparse().

struct dims* dims
 

Definition at line 17 of file init.c.

int fortran_flag
 

Definition at line 27 of file main.c.

int natts
 

Definition at line 22 of file init.c.

Referenced by add_att(), check_file(), del_att(), gen_c(), gen_fortran(), gen_netcdf(), main(), nc_copy_var(), nc_inq_var(), read_var(), test_axis(), test_nc_def_var(), test_nc_del_att(), test_nc_inq_var(), test_nc_inq_varnatts(), test_ncattdel(), test_ncdimdef(), test_redef(), test_system(), test_system_assign(), test_transform(), and yyparse().

int ncid
 

Definition at line 19 of file init.c.

Referenced by check_file(), check_vars_double(), check_vars_float(), check_vars_int(), check_vars_long(), check_vars_schar(), check_vars_short(), check_vars_text(), check_vars_uchar(), cl_netcdf(), create_file(), do_ncdump(), do_ncdumpx(), FCALLSCFUN3(), FCALLSCSUB1(), gen_netcdf(), load_netcdf(), main(), nccreate(), ncopen(), test_axis(), test_nc_abort(), test_nc_close(), test_nc_create(), test_nc_def_dim(), test_nc_def_var(), test_nc_del_att(), test_nc_get_att(), test_nc_get_att_double(), test_nc_get_att_float(), test_nc_get_att_int(), test_nc_get_att_long(), test_nc_get_att_schar(), test_nc_get_att_short(), test_nc_get_att_text(), test_nc_get_att_uchar(), test_nc_get_var1(), test_nc_get_var1_double(), test_nc_get_var1_float(), test_nc_get_var1_int(), test_nc_get_var1_long(), test_nc_get_var1_schar(), test_nc_get_var1_short(), test_nc_get_var1_text(), test_nc_get_var1_uchar(), test_nc_get_var_double(), test_nc_get_var_float(), test_nc_get_var_int(), test_nc_get_var_long(), test_nc_get_var_schar(), test_nc_get_var_short(), test_nc_get_var_text(), test_nc_get_var_uchar(), test_nc_get_vara(), test_nc_get_vara_double(), test_nc_get_vara_float(), test_nc_get_vara_int(), test_nc_get_vara_long(), test_nc_get_vara_schar(), test_nc_get_vara_short(), test_nc_get_vara_text(), test_nc_get_vara_uchar(), test_nc_get_varm(), test_nc_get_varm_double(), test_nc_get_varm_float(), test_nc_get_varm_int(), test_nc_get_varm_long(), test_nc_get_varm_schar(), test_nc_get_varm_short(), test_nc_get_varm_text(), test_nc_get_varm_uchar(), test_nc_get_vars(), test_nc_get_vars_double(), test_nc_get_vars_float(), test_nc_get_vars_int(), test_nc_get_vars_long(), test_nc_get_vars_schar(), test_nc_get_vars_short(), test_nc_get_vars_text(), test_nc_get_vars_uchar(), test_nc_inq(), test_nc_inq_att(), test_nc_inq_attid(), test_nc_inq_attlen(), test_nc_inq_attname(), test_nc_inq_atttype(), test_nc_inq_dim(), test_nc_inq_dimid(), test_nc_inq_dimlen(), test_nc_inq_dimname(), test_nc_inq_natts(), test_nc_inq_ndims(), test_nc_inq_nvars(), test_nc_inq_unlimdim(), test_nc_inq_var(), test_nc_inq_vardimid(), test_nc_inq_varid(), test_nc_inq_varname(), test_nc_inq_varnatts(), test_nc_inq_varndims(), test_nc_inq_vartype(), test_nc_open(), test_nc_put_att(), test_nc_put_att_double(), test_nc_put_att_float(), test_nc_put_att_int(), test_nc_put_att_long(), test_nc_put_att_schar(), test_nc_put_att_short(), test_nc_put_att_text(), test_nc_put_att_uchar(), test_nc_put_var1(), test_nc_put_var1_double(), test_nc_put_var1_float(), test_nc_put_var1_int(), test_nc_put_var1_long(), test_nc_put_var1_schar(), test_nc_put_var1_short(), test_nc_put_var1_text(), test_nc_put_var1_uchar(), test_nc_put_var_double(), test_nc_put_var_float(), test_nc_put_var_int(), test_nc_put_var_long(), test_nc_put_var_schar(), test_nc_put_var_short(), test_nc_put_var_text(), test_nc_put_var_uchar(), test_nc_put_vara(), test_nc_put_vara_double(), test_nc_put_vara_float(), test_nc_put_vara_int(), test_nc_put_vara_long(), test_nc_put_vara_schar(), test_nc_put_vara_short(), test_nc_put_vara_text(), test_nc_put_vara_uchar(), test_nc_put_varm(), test_nc_put_varm_double(), test_nc_put_varm_float(), test_nc_put_varm_int(), test_nc_put_varm_long(), test_nc_put_varm_schar(), test_nc_put_varm_short(), test_nc_put_varm_text(), test_nc_put_varm_uchar(), test_nc_put_vars(), test_nc_put_vars_double(), test_nc_put_vars_float(), test_nc_put_vars_int(), test_nc_put_vars_long(), test_nc_put_vars_schar(), test_nc_put_vars_short(), test_nc_put_vars_text(), test_nc_put_vars_uchar(), test_nc_redef(), test_nc_rename_att(), test_nc_rename_dim(), test_nc_rename_var(), test_nc_set_default_format(), test_nc_set_fill(), test_ncabort(), test_ncclose(), test_nccreate(), test_ncendef(), test_ncinquire(), test_ncrecget(), test_ncrecinq(), test_ncrecput(), test_ncredef(), test_pio(), test_pio_attr(), test_pio_hyper(), test_redef(), test_system(), test_system_assign(), test_transform(), test_transform_assign(), and write_file().

int ndims
 

Definition at line 20 of file init.c.

int netcdf_flag
 

Definition at line 28 of file main.c.

int nvars
 

Definition at line 21 of file init.c.

Referenced by cl_fortran(), copy_dataset(), do_ncdump_rec(), do_ncdumpx(), gen_c(), gen_fortran(), gen_netcdf(), init_gvars(), init_netcdf(), main(), make_lvars(), nc_inq_rec(), numrecvars(), test_axis(), test_nc_abort(), test_nc_create(), test_nc_inq(), test_nc_inq_nvars(), test_ncattdel(), test_ncattput(), test_ncdimdef(), test_ncinquire(), test_redef(), test_system(), test_system_assign(), test_transform(), used_in_rec_var(), and yyparse().

int nvdims
 

Definition at line 23 of file init.c.

Referenced by yyparse().

int rec_dim
 

Definition at line 27 of file init.c.

Referenced by cl_fortran(), f_var_init(), gen_fortran(), gen_load_c(), gen_load_fortran(), init_netcdf(), load_netcdf(), test_ncinquire(), used_in_rec_var(), and yyparse().

size_t rec_len
 

Definition at line 29 of file init.c.

Referenced by cl_fortran(), and yyparse().

int valnum
 

Definition at line 26 of file init.c.

Referenced by gen_load_fortran(), and yyparse().

size_t var_len
 

Definition at line 28 of file init.c.

Referenced by f_var_init(), gen_load_c(), and yyparse().

size_t var_size
 

Definition at line 30 of file init.c.

Referenced by yyparse().

int varnum
 

Definition at line 25 of file init.c.

Referenced by gen_load_c(), gen_load_fortran(), load_netcdf(), and yyparse().

struct vars* vars
 

Definition at line 32 of file init.c.


Generated on Thu Mar 16 18:12:21 2006 for nco by  doxygen 1.4.4