fort-control.c
Go to the documentation of this file.
#include <config.h>
#include "netcdf.h"
#include "ncfortran.h"
#ifdef LOGGING
FCALLSCFUN1(NF_INT, nc_set_log_level, NF_SET_LOG_LEVEL, nf_set_log_level,
FINT2CINT)
#endif /* LOGGING */
/*
* Create a netCDF dataset.
*/
FCALLSCFUN3(NF_INT, nc_create, NF_CREATE, nf_create,
STRING, FINT2CINT, PNCID)
/*
* Create a netCDF dataset with I/O attributes.
*/
FCALLSCFUN5(NF_INT, nc__create, NF__CREATE, nf__create,
STRING, FINT2CINT, FINT2CSIZET, PVOID, PNCID)
/*
* Open a netCDF dataset.
*/
FCALLSCFUN3(NF_INT, nc_open, NF_OPEN, nf_open,
STRING, FINT2CINT, PNCID)
/*
* Open a netCDF dataset with I/O attributes.
*/
FCALLSCFUN4(NF_INT, nc__open, NF__OPEN, nf__open,
STRING, FINT2CINT, PVOID, PNCID)
/*
* Set the fill mode of a netCDF dataset.
*/
FCALLSCFUN3(NF_INT, nc_set_fill, NF_SET_FILL, nf_set_fill,
NCID, FINT2CINT, PCINT2FINT)
/*
* Set the fill mode of a netCDF dataset.
*/
FCALLSCFUN2(NF_INT, nc_set_default_format, NF_SET_DEFAULT_FORMAT,
nf_set_default_format, FINT2CINT, PCINT2FINT)
/*
* Put a netCDF dataset into redefine mode.
*/
FCALLSCFUN1(NF_INT, nc_redef, NF_REDEF, nf_redef,
NCID)
/*
* End definition mode for a netCDF dataset.
*/
FCALLSCFUN1(NF_INT, nc_enddef, NF_ENDDEF, nf_enddef,
NCID)
/*
* End definition mode for a netCDF dataset with I/O attributes.
*/
FCALLSCFUN5(NF_INT, nc__enddef, NF__ENDDEF, nf__enddef,
NCID, FINT2CSIZET, FINT2CSIZET, FINT2CSIZET, FINT2CSIZET)
/*
* Synchronize the external representation of a netCDF dataset with its
* internal one.
*/
FCALLSCFUN1(NF_INT, nc_sync, NF_SYNC, nf_sync,
NCID)
/*
* Abort changes to a netCDF dataset.
*/
FCALLSCFUN1(NF_INT, nc_abort, NF_ABORT, nf_abort,
NCID)
/*
* Close a netCDF dataset.
*/
FCALLSCFUN1(NF_INT, nc_close, NF_CLOSE, nf_close,
NCID)
/*
* Delete a netCDF dataset by name.
*/
/*EXTERNL int nc_delete(const char * path);*/ /* defined in ../libsrc/nc.c */
FCALLSCFUN1(NF_INT, nc_delete, NF_DELETE, nf_delete,
STRING)
/*
* Create a netCDF dataset with I/O attributes and specific base pe.
*/
FCALLSCFUN6(NF_INT, nc__create_mp, NF__CREATE_MP, nf__create_mp,
STRING, FINT2CINT, FINT2CSIZET, FINT2CINT, PVOID, PNCID)
/*
* Open a netCDF dataset with I/O attributes and specific base pe.
*/
FCALLSCFUN5(NF_INT, nc__open_mp, NF__OPEN_MP, nf__open_mp,
STRING, FINT2CINT, FINT2CINT, PVOID, PNCID)
/*
* Delete a netCDF dataset by name using a specific base pe.
*/
FCALLSCFUN2(NF_INT, nc_delete_mp, NF_DELETE_MP, nf_delete_mp,
STRING, FINT2CINT)
/*
* Set netCDF of base PE
*/
FCALLSCFUN2(NF_INT, nc_set_base_pe, NF_SET_BASE_PE, nf_set_base_pe,
NCID, FINT2CINT)
/*
* Inquire netCDF of base PE
*/
FCALLSCFUN2(NF_INT, nc_inq_base_pe, NF_INQ_BASE_PE, nf_inq_base_pe,
NCID, PCINT2FINT)
/*
* Inquire netCDF current path
*/
FCALLSCFUN3(NF_INT, nc_inq_path, NF_INQ_PATH, nf_inq_path,
NCID, PSIZET, PSTRING)
nf_inq_base_pe
integer function nf_inq_base_pe(ncid, pe)
Definition: nf_control.F90:627
FCALLSCFUN1
FCALLSCFUN1(STRING,(char *) nc_strerror, NF_STRERROR, nf_strerror, FINT2CINT) static int nc_issyserr(int errcode)
Definition: fort-misc.c:36
FCALLSCFUN2
FCALLSCFUN2(NF_INT, c_nctlen, NCTLEN, nctlen, TYPE, PRCODE)
Definition: fort-v2compat.c:446
nf_abort
integer function nf_abort(ncid)
Definition: nf_control.F90:504
nf__create
function nf__create(path, cmode, initialsz, chunksizehintp, ncid)
Definition: nf_control.F90:81
nf__open
integer function nf__open(path, mode, chunksizehintp, ncid)
Definition: nf_control.F90:199
nf__enddef
function nf__enddef(ncid, h_minfree, v_align, v_minfree, r_align)
Definition: nf_control.F90:459
FCALLSCFUN4
FCALLSCFUN4(NF_INT, c_ncddef, NCDDEF, ncddef, NCID, STRING, DIMLEN, PRCODE)
Definition: fort-v2compat.c:332
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
nf_close
integer function nf_close(ncid)
Definition: nf_control.F90:526
FCALLSCFUN3
#define FCALLSCFUN3(T0, CN, UN, LN, T1, T2, T3)
Definition: cfortran.h:2419
nf_sync
integer function nf_sync(ncid)
Definition: nf_control.F90:482
nf_open
integer function nf_open(path, mode, ncid)
Definition: nf_control.F90:163
nf_inq_path
integer function nf_inq_path(ncid, pathlen, path)
Definition: nf_control.F90:321
nf_create
integer function nf_create(path, cmode, ncid)
Definition: nf_control.F90:37
nf_set_fill
integer function nf_set_fill(ncid, fillmode, old_mode)
Definition: nf_control.F90:354
nf_redef
integer function nf_redef(ncid)
Definition: nf_control.F90:409
nf__open_mp
integer function nf__open_mp(path, mode, basepe, chunksizehintp, ncid)
Definition: nf_control.F90:238
nf_set_default_format
integer function nf_set_default_format(newform, old_format)
Definition: nf_control.F90:382
nf_enddef
integer function nf_enddef(ncid)
Definition: nf_control.F90:431
nf_set_base_pe
integer function nf_set_base_pe(ncid, pe)
Definition: nf_control.F90:604
FCALLSCFUN6
FCALLSCFUN6(NF_INT, c_ncvdef, NCVDEF, ncvdef, NCID, STRING, TYPE, NDIMS, DIMIDS, PRCODE)
Definition: fort-v2compat.c:395
nf_delete_mp
integer function nf_delete_mp(path, pe)
Definition: nf_control.F90:574
nf__create_mp
function nf__create_mp(path, cmode, initialsz, basepe, chunksizehintp, ncid)
Definition: nf_control.F90:123
PNCID
#define PNCID
Definition: ncfortran.h:550
nf_delete
integer function nf_delete(path)
Definition: nf_control.F90:548

Return to the Main Unidata NetCDF page.