fort-dim.c
Go to the documentation of this file.
/*
This file is part of the netCDF Fortran 77 API.
This file handles the netCDF dimension functions.
Copyright 2006, University Corporation for Atmospheric Research. See
the COPYRIGHT file for copying and redistribution conditions.
$Id: fort-dim.c,v 1.3 2006/08/16 03:56:51 ed Exp $
*/
#include <config.h>
#include "netcdf.h"
#include "ncfortran.h"
/*
* Define a netCDF dimension.
*/
FCALLSCFUN4(NF_INT, nc_def_dim, NF_DEF_DIM, nf_def_dim,
NCID, STRING, COUNT, PDIMID)
/*
* Obtain a netCDF dimension's index.
*/
FCALLSCFUN3(NF_INT, nc_inq_dimid, NF_INQ_DIMID, nf_inq_dimid,
NCID, STRING, PDIMID)
/*
* Inquire about a netCDF dimension.
*/
FCALLSCFUN4(NF_INT, nc_inq_dim, NF_INQ_DIM, nf_inq_dim,
NCID, DIMID, PSTRING, PCOUNT)
/*
* Obtain a netCDF dimension's name.
*/
FCALLSCFUN3(NF_INT, nc_inq_dimname, NF_INQ_DIMNAME, nf_inq_dimname,
NCID, DIMID, PSTRING)
/*
* Obtain a netCDF dimension's length.
*/
FCALLSCFUN3(NF_INT, nc_inq_dimlen, NF_INQ_DIMLEN, nf_inq_dimlen,
NCID, DIMID, PCOUNT)
/*
* Rename a netCDF dimension.
*/
FCALLSCFUN3(NF_INT, nc_rename_dim, NF_RENAME_DIM, nf_rename_dim,
NCID, DIMID, STRING)
nf_inq_dimid
integer function nf_inq_dimid(ncid, name, dimid)
Definition: nf_dim.f90:115
nf_inq_dimlen
integer function nf_inq_dimlen(ncid, dimid, dlen)
Definition: nf_dim.f90:154
FCALLSCFUN4
FCALLSCFUN4(NF_INT, c_ncddef, NCDDEF, ncddef, NCID, STRING, DIMLEN, PRCODE)
Definition: fort-v2compat.c:332
NF_INT
#define NF_INT
Definition: ncfortran.h:19
ncfortran.h
FCALLSCFUN3
#define FCALLSCFUN3(T0, CN, UN, LN, T1, T2, T3)
Definition: cfortran.h:2419
nf_inq_dimname
integer function nf_inq_dimname(ncid, dimid, name)
Definition: nf_dim.f90:183
DIMID
#define DIMID
Definition: ncfortran.h:468
nf_rename_dim
integer function nf_rename_dim(ncid, dimid, name)
Definition: nf_dim.f90:219
nf_def_dim
integer function nf_def_dim(ncid, name, dlen, dimid)
Definition: nf_dim.f90:35
PCOUNT
#define PCOUNT
Definition: ncfortran.h:618
nf_inq_dim
integer function nf_inq_dim(ncid, dimid, name, dlen)
Definition: nf_dim.f90:76

Return to the Main Unidata NetCDF page.