NetCDF-Fortran  4.4.3
fort-geninq.c
1 /*
2 This file is part of the netCDF Fortran 77 API.
3 
4 This file handles the netCDF inquiry functions.
5 
6 Copyright 2006, University Corporation for Atmospheric Research. See
7 the COPYRIGHT file for copying and redistribution conditions.
8 
9 $Id: fort-geninq.c,v 1.4 2006/08/16 03:56:54 ed Exp $
10 */
11 
12 #include <config.h>
13 #include "netcdf.h"
14 #include "ncfortran.h"
15 
16 
17 /*
18  * Generally inquire about a netCDF dataset.
19  */
20 FCALLSCFUN5(NF_INT, nc_inq, NF_INQ, nf_inq,
21  NCID, PNDIMS, PNVARS, PNATTS, PDIMID)
22 
23 
24 /*
25  * Inquire about the number of dimensions in a netCDF dataset.
26  */
27 FCALLSCFUN2(NF_INT, nc_inq_ndims, NF_INQ_NDIMS, nf_inq_ndims,
28  NCID, PNDIMS)
29 
30 
31 /*
32  * Inquire about the number of variables in a netCDF dataset.
33  */
34 FCALLSCFUN2(NF_INT, nc_inq_nvars, NF_INQ_NVARS, nf_inq_nvars,
35  NCID, PNVARS)
36 
37 
38 /*
39  * Inquire about the number of attributes in a netCDF dataset.
40  */
41 FCALLSCFUN2(NF_INT, nc_inq_natts, NF_INQ_NATTS, nf_inq_natts,
42  NCID, PNATTS)
43 
44 
45 /*
46  * Inquire about the index of the unlimited dimension in a netCDF dataset.
47  */
48 FCALLSCFUN2(NF_INT, nc_inq_unlimdim, NF_INQ_UNLIMDIM, nf_inq_unlimdim,
49  NCID, PDIMID)
50 
51 /*
52  * Inquire about the format version of a netCDF dataset.
53  */
54 FCALLSCFUN2(NF_INT, nc_inq_format, NF_INQ_FORMAT, nf_inq_format,
55  NCID, PFORMAT)

Return to the Main Unidata NetCDF page.
Generated on Tue Mar 1 2016 12:16:22 for NetCDF-Fortran. NetCDF is a Unidata library.