0

what is the default value of the compression keyword argument of the function create_dataset in h5py, i.e. what value do I have to pass to get no compression?

I'm asking because I would like to have a flag which turns the compression on/off and I'd like to avoid to have a case switch every time I call the function, once with and once without the respective keyword.

obachtos
  • 977
  • 1
  • 12
  • 30

1 Answers1

0

As Ilja Everilä pointed out, the default compression keyword for no compression is None.

Community
  • 1
  • 1
NoDataDumpNoContribution
  • 10,591
  • 9
  • 64
  • 104