NetCDF User's Guide for C
const char* nc_inq_libvers (void); const char* nc_strerror (int ncerr); int nc_create (const char *path, int cmode, int *ncidp); int nc_open (const char *path, int mode, int *ncidp); int nc_set_fill (int ncid, int fillmode, int *old_modep); int nc_redef (int ncid); int nc_enddef (int ncid); int nc_sync (int ncid); int nc_abort (int ncid); int nc_close (int ncid); int nc_inq (int ncid, int *ndimsp, int *nvarsp, int *ngattsp, int *unlimdimidp); int nc_inq_ndims (int ncid, int *ndimsp); int nc_inq_nvars (int ncid, int *nvarsp); int nc_inq_natts (int ncid, int *ngattsp); int nc_inq_unlimdim (int ncid, int *unlimdimidp); int nc_def_dim (int ncid, const char *name, size_t len, int *idp); int nc_inq_dimid (int ncid, const char *name, int *idp); int nc_inq_dim (int ncid, int dimid, char *name, size_t *lenp); int nc_inq_dimname (int ncid, int dimid, char *name); int nc_inq_dimlen (int ncid, int dimid, size_t *lenp); int nc_rename_dim (int ncid, int dimid, const char *name); int nc_def_var (int ncid, const char *name, nc_type xtype, int ndims, const int *dimidsp, int *varidp); int nc_inq_var (int ncid, int varid, char *name, nc_type *xtypep, int *ndimsp, int *dimidsp, int *nattsp); int nc_inq_varid (int ncid, const char *name, int *varidp); int nc_inq_varname (int ncid, int varid, char *name); int nc_inq_vartype (int ncid, int varid, nc_type *xtypep); int nc_inq_varndims (int ncid, int varid, int *ndimsp); int nc_inq_vardimid (int ncid, int varid, int *dimidsp); int nc_inq_varnatts (int ncid, int varid, int *nattsp); int nc_rename_var (int ncid, int varid, const char *name); int nc_put_var_text (int ncid, int varid, const char *op); int nc_get_var_text (int ncid, int varid, char *ip); int nc_put_var_uchar (int ncid, int varid, const unsigned char *op); int nc_get_var_uchar (int ncid, int varid, unsigned char *ip); int nc_put_var_schar (int ncid, int varid, const signed char *op); int nc_get_var_schar (int ncid, int varid, signed char *ip); int nc_put_var_short (int ncid, int varid, const short *op); int nc_get_var_short (int ncid, int varid, short *ip); int nc_put_var_int (int ncid, int varid, const int *op); int nc_get_var_int (int ncid, int varid, int *ip); int nc_put_var_long (int ncid, int varid, const long *op); int nc_get_var_long (int ncid, int varid, long *ip); int nc_put_var_float (int ncid, int varid, const float *op); int nc_get_var_float (int ncid, int varid, float *ip); int nc_put_var_double (int ncid, int varid, const double *op); int nc_get_var_double (int ncid, int varid, double *ip); int nc_put_var1_text (int ncid, int varid, const size_t *indexp, const char *op); int nc_get_var1_text (int ncid, int varid, const size_t *indexp, char *ip); int nc_put_var1_uchar (int ncid, int varid, const size_t *indexp, const unsigned char *op); int nc_get_var1_uchar (int ncid, int varid, const size_t *indexp, unsigned char *ip); int nc_put_var1_schar (int ncid, int varid, const size_t *indexp, const signed char *op); int nc_get_var1_schar (int ncid, int varid, const size_t *indexp, signed char *ip); int nc_put_var1_short (int ncid, int varid, const size_t *indexp, const short *op); int nc_get_var1_short (int ncid, int varid, const size_t *indexp, short *ip); int nc_put_var1_int (int ncid, int varid, const size_t *indexp, const int *op); int nc_get_var1_int (int ncid, int varid, const size_t *indexp, int *ip); int nc_put_var1_long (int ncid, int varid, const size_t *indexp, const long *op); int nc_get_var1_long (int ncid, int varid, const size_t *indexp, long *ip); int nc_put_var1_float (int ncid, int varid, const size_t *indexp, const float *op); int nc_get_var1_float (int ncid, int varid, const size_t *indexp, float *ip); int nc_put_var1_double(int ncid, int varid, const size_t *indexp, const double *op); int nc_get_var1_double(int ncid, int varid, const size_t *indexp, double *ip); int nc_put_vara_text (int ncid, int varid, const size_t *startp, const size_t *countp, const char *op); int nc_get_vara_text (int ncid, int varid, const size_t *startp, const size_t *countp, char *ip); int nc_put_vara_uchar (int ncid, int varid, const size_t *startp, const size_t *countp, const unsigned char *op); int nc_get_vara_uchar (int ncid, int varid, const size_t *startp, const size_t *countp, unsigned char *ip); int nc_put_vara_schar (int ncid, int varid, const size_t *startp, const size_t *countp, const signed char *op); int nc_get_vara_schar (int ncid, int varid, const size_t *startp, const size_t *countp, signed char *ip); int nc_put_vara_short (int ncid, int varid, const size_t *startp, const size_t *countp, const short *op); int nc_get_vara_short (int ncid, int varid, const size_t *startp, const size_t *countp, short *ip); int nc_put_vara_int (int ncid, int varid, const size_t *startp, const size_t *countp, const int *op); int nc_get_vara_int (int ncid, int varid, const size_t *startp, const size_t *countp, int *ip); int nc_put_vara_long (int ncid, int varid, const size_t *startp, const size_t *countp, const long *op); int nc_get_vara_long (int ncid, int varid, const size_t *startp, const size_t *countp, long *ip); int nc_put_vara_float (int ncid, int varid, const size_t *startp, const size_t *countp, const float *op); int nc_get_vara_float (int ncid, int varid, const size_t *startp, const size_t *countp, float *ip); int nc_put_vara_double(int ncid, int varid, const size_t *startp, const size_t *countp, const double *op); int nc_get_vara_double(int ncid, int varid, const size_t *startp, const size_t *countp, double *ip); int nc_put_vars_text (int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const char *op); int nc_get_vars_text (int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, char *ip); int nc_put_vars_uchar (int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const unsigned char *op); int nc_get_vars_uchar (int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, unsigned char *ip); int nc_put_vars_schar (int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const signed char *op); int nc_get_vars_schar (int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, signed char *ip); int nc_put_vars_short (int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const short *op); int nc_get_vars_short (int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, short *ip); int nc_put_vars_int (int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const int *op); int nc_get_vars_int (int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, int *ip); int nc_put_vars_long (int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const long *op); int nc_get_vars_long (int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, long *ip); int nc_put_vars_float (int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const float *op); int nc_get_vars_float (int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, float *ip); int nc_put_vars_double(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const double *op); int nc_get_vars_double(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, double *ip); int nc_put_varm_text (int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, const char *op); int nc_get_varm_text (int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, char *ip); int nc_put_varm_uchar (int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, const unsigned char *op); int nc_get_varm_uchar (int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, unsigned char *ip); int nc_put_varm_schar (int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, const signed char *op); int nc_get_varm_schar (int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, signed char *ip); int nc_put_varm_short (int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, const short *op); int nc_get_varm_short (int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, short *ip); int nc_put_varm_int (int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, const int *op); int nc_get_varm_int (int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, int *ip); int nc_put_varm_long (int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, const long *op); int nc_get_varm_long (int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, long *ip); int nc_put_varm_float (int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, const float *op); int nc_get_varm_float (int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, float *ip); int nc_put_varm_double(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, const double *op); int nc_get_varm_double(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t * imap, double *ip); int nc_inq_att (int ncid, int varid, const char *name, nc_type *xtypep, size_t *lenp); int nc_inq_attid (int ncid, int varid, const char *name, int *idp); int nc_inq_atttype (int ncid, int varid, const char *name, nc_type *xtypep); int nc_inq_attlen (int ncid, int varid, const char *name, size_t *lenp); int nc_inq_attname (int ncid, int varid, int attnum, char *name); int nc_copy_att (int ncid_in, int varid_in, const char *name, int ncid_out, int varid_out); int nc_rename_att (int ncid, int varid, const char *name, const char *newname); int nc_del_att (int ncid, int varid, const char *name); int nc_put_att_text (int ncid, int varid, const char *name, size_t len, const char *op); int nc_get_att_text (int ncid, int varid, const char *name, char *ip); int nc_put_att_uchar (int ncid, int varid, const char *name, nc_type xtype, size_t len, const unsigned char *op); int nc_get_att_uchar (int ncid, int varid, const char *name, unsigned char *ip); int nc_put_att_schar (int ncid, int varid, const char *name, nc_type xtype, size_t len, const signed char *op); int nc_get_att_schar (int ncid, int varid, const char *name, signed char *ip); int nc_put_att_short (int ncid, int varid, const char *name, nc_type xtype, size_t len, const short *op); int nc_get_att_short (int ncid, int varid, const char *name, short *ip); int nc_put_att_int (int ncid, int varid, const char *name, nc_type xtype,size_t len, const int *op); int nc_get_att_int (int ncid, int varid, const char *name, int *ip); int nc_put_att_long (int ncid, int varid, const char *name, nc_type xtype, size_t len, const long *op); int nc_get_att_long (int ncid, int varid, const char *name, long *ip); int nc_put_att_float (int ncid, int varid, const char *name, nc_type xtype, size_t len, const float *op); int nc_get_att_float (int ncid, int varid, const char *name, float *ip); int nc_put_att_double (int ncid, int varid, const char *name, nc_type xtype, size_t len, const double *op); int nc_get_att_double (int ncid, int varid, const char *name, double *ip);