SWDatabase
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
Classes | Functions
common.module_hdf4 Namespace Reference

Classes

class  HDF4Dict
 Represent a HDF4 dimension or variable. More...
 
class  HDF4Error
 Error returned by module_hdf4. More...
 

Functions

def find_inlist
 Find a HDF4Dict by its name in a list of HDF4Dict objects. More...
 
def read
 Read an HDF4 file. More...
 
def write
 Write an HDF4 file. More...
 

Function Documentation

def common.module_hdf4.find_inlist (   dhf4dicts,
  name 
)

Find a HDF4Dict by its name in a list of HDF4Dict objects.

def common.module_hdf4.read (   filepath)

Read an HDF4 file.

Parameters
[in]filepath
[out]variables,:All variables. List of HDF4Dict objects
[out]datetimes,:list of datetime.datetime objects.
Todo:
Datetimes not processed yet (None for the moment)
def common.module_hdf4.write (   filepath,
  variables,
  datetimes 
)

Write an HDF4 file.

Parameters
[in]filepath
[in]variables,:All variables. List of HDF4Dict objects
[in]datetimes,:list of datetime.datetime objects.
Todo:
Datetimes not processed yet (None for the moment)