nInitCompress.bitsFromOptions
Map CompressionOptions.numericLevel to the UNIX .Z bits parameter used by the ncompress codec.
Mapping rules:
numericLevel <= 0→ 0 (meaning "use codec default", which is 16 in the ncompress implementation).- Any positive value in
[unixZMinBits, unixZMaxBits]is used verbatim. - Positive values outside that range are clamped to the nearest bound (9 or 16).
Parameters
optsCompression options from the ddn API. Returns
A value suitable for