Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Allow to set bits_per_value #117

Merged
merged 1 commit into from
Feb 27, 2024
Merged

Allow to set bits_per_value #117

merged 1 commit into from
Feb 27, 2024

Conversation

cfkanesan
Copy link
Collaborator

Purpose

Expose the bit_per_value when writing back to grib. This option overrides the value in the GRIB metadata and is set to a default of 16 in the earthkit.data lib.

Code changes:

  • Added bits_per_value option to the grib_decoder.save function

Copy link
Collaborator

@victoria-cherkas victoria-cherkas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great! thanks for finding the solution

@cfkanesan cfkanesan merged commit b3946f3 into main Feb 27, 2024
2 checks passed
@cfkanesan cfkanesan deleted the bits-per-value branch February 27, 2024 16:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants