writeXR

astraeus.xarrayIO.writeXR(filename, ds, verbose=True, append=False)

Save Xarray Dataset to an HDF5 file.

Parameters

filename: str

File name to save data, with our without extension

ds: object

Xarray Dataset to be saved

verbose: boolean

Set True to enable print statements declaring success/failure, and optional error message

append: boolean

Set True to add parameters to existing dataset. Concatenation of existing parameters is not supported.

Returns

success: boolean

Return True is file was saved successfully