HDF4
- class typhon.files.handlers.common.HDF4(info=None)[source]
File handler that can read data from a HDF4 file
- __init__(info=None)[source]
Initializes a CSV file handler class.
- Parameters:
info – A function that returns a
FileInfo
object of a given file.
Methods
__init__
([info])Initializes a CSV file handler class.
get_info
(filename, **kwargs)Return a
FileInfo
object with parameters about the file content.read
(file_info[, fields, mapping])Read and parse HDF4 files and load them to a xarray.Dataset
write
(data, filename, **kwargs)Store a data object to a file.