consume_bits would crash with a MatchError when the remaining bitstring had fewer bits than the group width. Added a guard clause to stop consuming when insufficient bits remain, matching how wgrib2 handles trailing padding in packed data sections. |
||
|---|---|---|
| .. | ||
| grib2 | ||
| hrrr_client.ex | ||
| hrrr_profile.ex | ||
| iem_client.ex | ||
| solar_client.ex | ||
| solar_index.ex | ||
| sounding.ex | ||
| sounding_params.ex | ||
| station.ex | ||
| surface_observation.ex | ||