OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
hdf5utils.h File Reference
#include <sstream>
#include "hdf5.h"
Include dependency graph for hdf5utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Hdf
 

Macros

#define DIFF1980_1970   315532800
 
#define DIFFJAN0680_1970   (315532800 + 432000)
 
#define DIFF2000_1980   631152000
 
#define DIFF2000_JAN0680   (631152000 - 432000)
 

Functions

int32_t get_millisec (string *ydhmsf_str)
 
double get_tai (int32_t year, int32_t doy, double millisec)
 
double get_tai (char *orbString)
 
double gpstai2utc2000 (double gpstai)
 
double gpstai2unix (double gpstai)
 
double unix2gpstai (double unixtime)
 
int CreateH5D (hid_t grp, const char *sname, const char *lname, const char *units, double low, double high, float slope, float offset, hid_t nt, int rank, int32_t d0, int32_t d1, int32_t d2, int32_t d3, int32_t d4, int32_t d5, const char *dn0, const char *dn1, const char *dn2, const char *dn3, const char *dn4, const char *dn5, hid_t plist)
 
int CreateH5D (hid_t grp, const char *sname, const char *lname, const char *stdname, const char *units, double low, double high, float slope, float offset, float fillvalue, hid_t nt, int rank, int32_t d0, int32_t d1, int32_t d2, int32_t d3, int32_t d4, int32_t d5, const char *dn0, const char *dn1, const char *dn2, const char *dn3, const char *dn4, const char *dn5, hid_t plist)
 
int h5a_set (hid_t dataset, const char *nam, hid_t typ, hid_t cnt, void *data)
 
hid_t h5d_create (hid_t grp, const char *nam, hid_t typ, int rank, hsize_t d0, hsize_t d1, hsize_t d2, hsize_t d3, hsize_t d4, hsize_t d5, hid_t *dataset, hid_t *dataspace, hid_t plist)
 
herr_t h5d_read (hid_t id, const char *name, void *data, hsize_t rank, hsize_t s[6], hsize_t e[6])
 
herr_t h5d_write (hid_t id, const char *name, void *data, hsize_t rank, hsize_t s[6], hsize_t e[6])
 
int SetScalarH5A (hid_t id, const char *name, hid_t type, const void *value)
 

Macro Definition Documentation

◆ DIFF1980_1970

#define DIFF1980_1970   315532800

Definition at line 13 of file hdf5utils.h.

◆ DIFF2000_1980

#define DIFF2000_1980   631152000

Definition at line 15 of file hdf5utils.h.

◆ DIFF2000_JAN0680

#define DIFF2000_JAN0680   (631152000 - 432000)

Definition at line 16 of file hdf5utils.h.

◆ DIFFJAN0680_1970

#define DIFFJAN0680_1970   (315532800 + 432000)

Definition at line 14 of file hdf5utils.h.

Function Documentation

◆ get_millisec()

int32_t get_millisec ( string ydhmsf_str)

Definition at line 19 of file hdf5util.cpp.

◆ get_tai() [1/2]

double get_tai ( char *  orbString)

◆ get_tai() [2/2]

double get_tai ( int32_t  year,
int32_t  doy,
double  millisec 
)

◆ gpstai2unix()

double gpstai2unix ( double  gpstai)

◆ gpstai2utc2000()

double gpstai2utc2000 ( double  gpstai)

◆ unix2gpstai()

double unix2gpstai ( double  unixtime)