|
netCDF
4.2.1.1
|
The netCDF-4 file functions. More...
#include "nc4internal.h"#include "nc.h"#include <H5DSpublic.h>#include "nc4dispatch.h"Go to the source code of this file.
Defines | |
| #define | MIN_DEFLATE_LEVEL 0 |
| #define | MAX_DEFLATE_LEVEL 9 |
| #define | REFERENCE_LIST "REFERENCE_LIST" |
| #define | CLASS "CLASS" |
| #define | DIMENSION_LIST "DIMENSION_LIST" |
| #define | NAME "NAME" |
| #define | NUM_TYPES 12 |
| #define | MAGIC_NUMBER_LEN 4 |
| #define | NC_HDF5_FILE 1 |
| #define | NC_HDF4_FILE 2 |
| #define | CD_NELEMS_ZLIB 1 |
| #define | CD_NELEMS_SZIP 4 |
| #define | USE_ITERATE_CODE |
Functions | |
| int | nc4_free_global_hdf_string_typeid () |
| int | nc_set_chunk_cache (size_t size, size_t nelems, float preemption) |
| int | nc_get_chunk_cache (size_t *sizep, size_t *nelemsp, float *preemptionp) |
| int | nc_set_chunk_cache_ints (int size, int nelems, int preemption) |
| int | nc_get_chunk_cache_ints (int *sizep, int *nelemsp, int *preemptionp) |
| int | nc4typelen (nc_type type) |
| int | NC4_create (const char *path, int cmode, size_t initialsz, int basepe, size_t *chunksizehintp, int use_parallel, void *mpidata, NC_Dispatch *dispatch, NC **ncpp) |
| Create a netCDF-4/HDF5 file. | |
| int | NC4_open (const char *path, int mode, int basepe, size_t *chunksizehintp, int use_parallel, void *mpidata, NC_Dispatch *dispatch, NC **ncpp) |
| int | NC4_set_fill (int ncid, int fillmode, int *old_modep) |
| int | NC4_redef (int ncid) |
| int | NC4__enddef (int ncid, size_t h_minfree, size_t v_align, size_t v_minfree, size_t r_align) |
| int | NC4_sync (int ncid) |
| int | NC4_abort (int ncid) |
| int | NC4_close (int ncid) |
| int | NC4_inq (int ncid, int *ndimsp, int *nvarsp, int *nattsp, int *unlimdimidp) |
| int | nc4_enddef_netcdf4_file (NC_HDF5_FILE_INFO_T *h5) |
Variables | |
| size_t | nc4_chunk_cache_size = CHUNK_CACHE_SIZE |
| size_t | nc4_chunk_cache_nelems = CHUNK_CACHE_NELEMS |
| float | nc4_chunk_cache_preemption = CHUNK_CACHE_PREEMPTION |
| int | default_create_format |
The netCDF-4 file functions.
This file is part of netcdf-4, a netCDF-like interface for HDF5, or a HDF5 backend for netCDF, depending on your point of view.
Copyright 2003, University Corporation for Atmospheric Research. See COPYRIGHT file for copying and redistribution conditions.
Definition in file nc4file.c.
| int NC4_create | ( | const char * | path, |
| int | cmode, | ||
| size_t | initialsz, | ||
| int | basepe, | ||
| size_t * | chunksizehintp, | ||
| int | use_parallel, | ||
| void * | mpidata, | ||
| NC_Dispatch * | dispatch, | ||
| NC ** | ncpp | ||
| ) |
Create a netCDF-4/HDF5 file.
| path | The file name of the new file. |
| cmode | The creation mode flag. |
| initialsz | Ignored by this function. |
| basepe | Ignored by this function. |
| chunksizehintp | Ignored by this function. |
| use_parallel | 0 for sequential, non-zero for parallel I/O. |
| mpidata | pointer to struct holdind data for parallel I/O layer. Ignored if NULL. |
| dispatch | Pointer to the dispatch table for this file. |
| ncpp | Pointer to start of linked list of open files. |