ncdf4a13/fortran/fort-genvar.c

Go to the documentation of this file.
00001 #include "netcdf.h"
00002 #include "ncfortran.h"
00003 #include "fort-lib.h"
00004 
00005 
00006 /*
00007  * Define a netCDF variable.
00008  */
00009 FCALLSCFUN6(NF_INT, nc_def_var, NF_DEF_VAR, nf_def_var,
00010             NCID, STRING, TYPE, NDIMS, DIMIDS, PVARID)
00011 
00012 
00013 /*
00014  * Inquire about a netCDF variable.
00015  */
00016 FCALLSCFUN7(NF_INT, nc_inq_var, NF_INQ_VAR, nf_inq_var,
00017             NCID, VARID, PSTRING, PTYPE, PNDIMS, PDIMIDS, PNATTS)
00018 
00019 
00020 /*
00021  * Obtain the ID of a netCDF variable.
00022  */
00023 FCALLSCFUN3(NF_INT, nc_inq_varid, NF_INQ_VARID, nf_inq_varid,
00024             NCID, STRING, PVARID)
00025 
00026 
00027 /*
00028  * Obtain the name of a netCDF variable.
00029  */
00030 FCALLSCFUN3(NF_INT, nc_inq_varname, NF_INQ_VARNAME, nf_inq_varname,
00031             NCID, VARID, PSTRING)
00032 
00033 
00034 /*
00035  * Obtain the type of a netCDF variable.
00036  */
00037 FCALLSCFUN3(NF_INT, nc_inq_vartype, NF_INQ_VARTYPE, nf_inq_vartype,
00038             NCID, VARID, PTYPE)
00039 
00040 
00041 /*
00042  * Obtain the number of dimensions of a netCDF variable.
00043  */
00044 FCALLSCFUN3(NF_INT, nc_inq_varndims, NF_INQ_VARNDIMS, nf_inq_varndims,
00045             NCID, VARID, PNDIMS)
00046 
00047 
00048 /*
00049  * Obtain the shape of a netCDF variable.
00050  */
00051 FCALLSCFUN3(NF_INT, nc_inq_vardimid, NF_INQ_VARDIMID, nf_inq_vardimid,
00052             NCID, VARID, PDIMIDS)
00053 
00054 
00055 /*
00056  * Obtain the number of attributes of a netCDF variable.
00057  */
00058 FCALLSCFUN3(NF_INT, nc_inq_varnatts, NF_INQ_VARNATTS, nf_inq_varnatts,
00059             NCID, VARID, PNATTS)
00060 
00061 
00062 /*
00063  * Rename a netCDF variable.
00064  */
00065 FCALLSCFUN3(NF_INT, nc_rename_var, NF_RENAME_VAR, nf_rename_var,
00066             NCID, VARID, STRING)
00067 
00068 
00069 /*
00070  * Copy a netCDF variable.
00071  */
00072 FCALLSCFUN3(NF_INT, nc_copy_var, NF_COPY_VAR, nf_copy_var,
00073             NCID1, VARID, NCID2)

Generated on Thu Mar 16 18:10:08 2006 for nco by  doxygen 1.4.4