2018-12-07 05:13:56 +08:00
|
|
|
/* Copyright 2018-2018 University Corporation for Atmospheric
|
2018-11-26 19:31:23 +08:00
|
|
|
Research/Unidata. */
|
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* @internal Includes for some HDF5 stuff needed by libhdf5 code and
|
|
|
|
* also some h5_test tests.
|
|
|
|
*
|
|
|
|
* @author Ed Hartnett
|
2019-02-19 21:10:30 +08:00
|
|
|
*/
|
2011-03-15 18:19:08 +08:00
|
|
|
|
2018-05-09 01:39:37 +08:00
|
|
|
#ifndef _NCDIMSCALE_H_
|
|
|
|
#define _NCDIMSCALE_H_
|
|
|
|
|
2019-05-22 21:50:12 +08:00
|
|
|
#ifdef USE_HDF5
|
2018-07-12 21:05:21 +08:00
|
|
|
#include <hdf5.h>
|
|
|
|
|
2018-11-26 19:31:23 +08:00
|
|
|
/* This is used to uniquely identify datasets, so we can keep track of
|
|
|
|
* dimscales. */
|
2019-02-19 21:10:30 +08:00
|
|
|
typedef struct hdf5_objid
|
2011-03-15 18:19:08 +08:00
|
|
|
{
|
2019-02-19 21:10:30 +08:00
|
|
|
unsigned long fileno[2]; /* file number */
|
|
|
|
haddr_t objno[2]; /* object number */
|
|
|
|
} HDF5_OBJID_T;
|
2019-05-22 21:50:12 +08:00
|
|
|
#endif /* USE_HDF5 */
|
2018-05-09 01:39:37 +08:00
|
|
|
|
|
|
|
#endif
|