![]() |
NetCDF 4.9.3
|
#include "config.h"#include "nc4internal.h"#include "hdf5internal.h"#include "nc_provenance.h"#include "nclist.h"#include "ncbytes.h"Go to the source code of this file.
Macros | |
| #define | ESCAPECHARS "\\=|," |
| #define | HCHECK(expr) |
| #define | HDF5_MAX_NAME 1024 |
| HDF5 max name. | |
| #define | NCHECK(expr) |
| #define | NCPROPS_MAX_NAME 1024 /* max key name size */ |
| #define | NCPROPS_MAX_VALUE 1024 /* max value size */ |
Functions | |
| int | NC4_clear_provenance (NC4_Provenance *prov) |
| int | NC4_new_provenance (NC_FILE_INFO_T *file) |
| int | NC4_provenance_finalize (void) |
| int | NC4_provenance_init (void) |
| static int | NC4_read_ncproperties (NC_FILE_INFO_T *h5, char **propstring) |
| int | NC4_read_provenance (NC_FILE_INFO_T *file) |
| static int | NC4_write_ncproperties (NC_FILE_INFO_T *h5) |
| int | NC4_write_provenance (NC_FILE_INFO_T *file) |
| void | ncprintprovenance (NC4_Provenance *info) |
Variables | |
| static int | globalpropinitialized = 0 |
| static NC4_Provenance | globalprovenance |
Add provenance info for netcdf-4 files.
Copyright 2018, UCAR/Unidata See netcdf/COPYRIGHT file for copying and redistribution conditions.
Definition in file nc4info.c.
| #define HCHECK | ( | expr | ) |
Check HDF5 return code.
| #define NCHECK | ( | expr | ) |
Check NetCDF return code.
| int NC4_clear_provenance | ( | NC4_Provenance * | prov | ) |
| int NC4_new_provenance | ( | NC_FILE_INFO_T * | file | ) |
Construct the provenance information for a newly created file. Note that creation of the _NCProperties attribute is deferred to the sync_netcdf4_file function.
| file | Pointer to file object. |
| int NC4_provenance_finalize | ( | void | ) |
| int NC4_provenance_init | ( | void | ) |
|
static |
| int NC4_read_provenance | ( | NC_FILE_INFO_T * | file | ) |
|
static |
| int NC4_write_provenance | ( | NC_FILE_INFO_T * | file | ) |