fort-geninq.c
Go to the documentation of this file.
/*
This file is part of the netCDF Fortran 77 API.
This file handles the netCDF inquiry functions.
Copyright 2006, University Corporation for Atmospheric Research. See
the COPYRIGHT file for copying and redistribution conditions.
$Id: fort-geninq.c,v 1.4 2006/08/16 03:56:54 ed Exp $
*/
#include <config.h>
#include "netcdf.h"
#include "ncfortran.h"
/*
* Generally inquire about a netCDF dataset.
*/
FCALLSCFUN5(NF_INT, nc_inq, NF_INQ, nf_inq,
NCID, PNDIMS, PNVARS, PNATTS, PDIMID)
/*
* Inquire about the number of dimensions in a netCDF dataset.
*/
FCALLSCFUN2(NF_INT, nc_inq_ndims, NF_INQ_NDIMS, nf_inq_ndims,
NCID, PNDIMS)
/*
* Inquire about the number of variables in a netCDF dataset.
*/
FCALLSCFUN2(NF_INT, nc_inq_nvars, NF_INQ_NVARS, nf_inq_nvars,
NCID, PNVARS)
/*
* Inquire about the number of attributes in a netCDF dataset.
*/
FCALLSCFUN2(NF_INT, nc_inq_natts, NF_INQ_NATTS, nf_inq_natts,
NCID, PNATTS)
/*
* Inquire about the index of the unlimited dimension in a netCDF dataset.
*/
FCALLSCFUN2(NF_INT, nc_inq_unlimdim, NF_INQ_UNLIMDIM, nf_inq_unlimdim,
NCID, PDIMID)
/*
* Inquire about the format version of a netCDF dataset.
*/
FCALLSCFUN2(NF_INT, nc_inq_format, NF_INQ_FORMAT, nf_inq_format,
NCID, PFORMAT)
nf_inq_unlimdim
integer function nf_inq_unlimdim(ncid, unlimdimid)
Definition: nf_geninq.f90:150
PNVARS
#define PNVARS
Definition: ncfortran.h:203
FCALLSCFUN2
FCALLSCFUN2(NF_INT, c_nctlen, NCTLEN, nctlen, TYPE, PRCODE)
Definition: fort-v2compat.c:446
nf_inq_nvars
integer function nf_inq_nvars(ncid, nvars)
Definition: nf_geninq.f90:98
PNATTS
#define PNATTS
Definition: ncfortran.h:215
PFORMAT
#define PFORMAT
Definition: ncfortran.h:220
nf_inq
integer function nf_inq(ncid, ndims, nvars, ngatts, unlimdimid)
Definition: nf_geninq.f90:34
FCALLSCFUN5
#define FCALLSCFUN5(T0, CN, UN, LN, T1, T2, T3, T4, T5)
Definition: cfortran.h:2423
NF_INT
#define NF_INT
Definition: ncfortran.h:19
ncfortran.h
PNDIMS
#define PNDIMS
Definition: ncfortran.h:191
nf_inq_format
integer function nf_inq_format(ncid, format_type)
Definition: nf_geninq.f90:182
nf_inq_ndims
integer function nf_inq_ndims(ncid, ndims)
Definition: nf_geninq.f90:72
nf_inq_natts
integer function nf_inq_natts(ncid, ngatts)
Definition: nf_geninq.f90:124

Return to the Main Unidata NetCDF page.