convert
Utilities for converting ICESat-2 HDF5 files into different formats
General Methods
- class icesat2_toolkit.convert.convert(filename=None, reformat=None)[source]
- file_converter(**kwds)[source]
Convert a HDF5 file to another format
- Parameters
- **kwds: dict
keyword arguments for output converter
- HDF5_to_zarr(**kwds)[source]
convert a HDF5 file to zarr copying all file data
- Parameters
- **kwds: dict
keyword arguments for output zarr converter
- HDF5_to_HDF5(**kwds)[source]
rechunk a HDF5 file copying all file data
- Parameters
- **kwds: dict
keyword arguments for output HDF5 converter
- copy_from_HDF5(source, dest, name=None, **kwds)[source]
Copy a named variable from the
source
HDF5 into thedest
file- Parameters
- source: obj
open file object for input
- dest: obj
open file object for output
- name: str or NoneType, default None
variable or group name
- chunks: int
chunk size for output
- HDF5_to_ascii(**kwds)[source]
Convert a HDF5 file to beam-level ascii files copying reduced sets of data
- Parameters
- **kwds: dict
keyword arguments for output ascii converter