Skip to content
Snippets Groups Projects
Commit 988d7a39 authored by Jan David Mol's avatar Jan David Mol
Browse files

Merge branch 'L2SS-413_2021-09-30-branched_from_master-optimise-hdf5-file-size' into 'master'

Resolve L2SS-413 "2021 09 30 branched from master optimise hdf5 file size"

Closes L2SS-413

See merge request !140
parents c64692aa d0635c4a
No related branches found
No related tags found
1 merge request!140Resolve L2SS-413 "2021 09 30 branched from master optimise hdf5 file size"
......@@ -144,11 +144,11 @@ class hdf5_writer:
def write_sst_matrix(self, current_group):
# store the SST values
current_group.create_dataset(name="sst_values", data=self.current_matrix.parameters["sst_values"])
current_group.create_dataset(name="sst_values", data=self.current_matrix.parameters["sst_values"].astype(numpy.float32), compression="gzip")
def write_xst_matrix(self, current_group):
# requires a function call to transform the xst_blocks in to the right structure
current_group.create_dataset(name="xst_values", data=self.current_matrix.xst_values())
current_group.create_dataset(name="xst_values", data=self.current_matrix.xst_values().astype(numpy.cfloat), compression="gzip")
def write_bst_matrix(self, current_group):
raise NotImplementedError("BST values not implemented")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment