netCDF 4.2.1.1
Functions | Variables
/usr/src/RPM/BUILD/libnetcdf7-seq-4.2.1.1/libdispatch/dfile.c File Reference

File create and open functions. More...

#include "config.h"
#include <stdlib.h>
#include "ncdispatch.h"

Go to the source code of this file.

Functions

int nc_create (const char *path, int cmode, int *ncidp)
 Create a new netCDF file.
int nc__create (const char *path, int cmode, size_t initialsz, size_t *chunksizehintp, int *ncidp)
 Create a netCDF file with some extra parameters controlling classic file cacheing.
int nc__create_mp (const char *path, int cmode, size_t initialsz, int basepe, size_t *chunksizehintp, int *ncidp)
int nc_open (const char *path, int mode, int *ncidp)
 Open an existing netCDF file.
int nc__open (const char *path, int mode, size_t *chunksizehintp, int *ncidp)
 Open a netCDF file with extra performance parameters for the classic library.
int nc__open_mp (const char *path, int mode, int basepe, size_t *chunksizehintp, int *ncidp)
int nc_inq_path (int ncid, size_t *pathlen, char *path)
 Get the file pathname (or the opendap URL) which was used to open/create the ncid's file.
int nc_redef (int ncid)
 Put open netcdf dataset into define mode.
int nc_enddef (int ncid)
 Leave define mode.
int nc__enddef (int ncid, size_t h_minfree, size_t v_align, size_t v_minfree, size_t r_align)
 Leave define mode with performance tuning.
int nc_sync (int ncid)
 Synchronize an open netcdf dataset to disk.
int nc_abort (int ncid)
int nc_close (int ncid)
 Close an open netCDF dataset.
int nc_set_fill (int ncid, int fillmode, int *old_modep)
 Change the fill-value mode to improve write performance.
int nc_inq_base_pe (int ncid, int *pe)
int nc_set_base_pe (int ncid, int pe)
int nc_inq_format (int ncid, int *formatp)
 Inquire about the binary format of a netCDF file.
int nc_inq (int ncid, int *ndimsp, int *nvarsp, int *nattsp, int *unlimdimidp)
 Inquire about a file or group.
int nc_inq_nvars (int ncid, int *nvarsp)
int nc_inq_type (int ncid, nc_type xtype, char *name, size_t *size)
 Inquire about a type.
int NC_create (const char *path, int cmode, size_t initialsz, int basepe, size_t *chunksizehintp, int useparallel, void *mpi_info, int *ncidp)
int NC_open (const char *path, int cmode, int basepe, size_t *chunksizehintp, int useparallel, void *mpi_info, int *ncidp)
int nc__pseudofd (void)

Variables

size_t * NC_coord_zero
size_t * NC_coord_one

Detailed Description

File create and open functions.

These functions end up calling functions in one of the dispatch layers (netCDF-4, dap server, etc).

Copyright 2010 University Corporation for Atmospheric Research/Unidata. See COPYRIGHT file for more info.

Definition in file dfile.c.

 All Data Structures Files Functions Variables Typedefs Defines

Generated on Tue Aug 6 2013 11:40:57 for netCDF. NetCDF is a Unidata library.