NOAA-MDL / grib2io

Python interface to the NCEP G2C Library for reading and writing GRIB2 messages.
https://noaa-mdl.github.io/grib2io
MIT License
33 stars 12 forks source link

Clean up date time attribute setting. #159

Closed EricEngle-NOAA closed 1 month ago

EricEngle-NOAA commented 1 month ago

This commit cleans up code for setting refDate, leadTime, and duration Grib2Message attributes.

The xarray backend now ignore those attrs when calling the grib2io.update_attrs() accessor method for DataArrays.

This commit references NOAA-MDL/grib2io#158