diff --git a/CHANGELOG.md b/CHANGELOG.md index 088d1e0..15928fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +2025-04-28 v0.4.2: +* Fixed TFLAG attrs to be consistent with IOAPI output. + 2024-11-19 v0.4.1: * Dramatically improved documentation. * Fixed CMAQ date issue when just one time is available. diff --git a/cmaqsatproc/__init__.py b/cmaqsatproc/__init__.py index 6de5e1b..16a1584 100644 --- a/cmaqsatproc/__init__.py +++ b/cmaqsatproc/__init__.py @@ -70,7 +70,7 @@ from . import cmaq from . import drivers -__version__ = '0.4.1' +__version__ = '0.4.2' reader_dict = readers.reader_dict open_ioapi = cmaq.open_ioapi diff --git a/cmaqsatproc/cmaq.py b/cmaqsatproc/cmaq.py index c1d1b82..1c0a8e0 100644 --- a/cmaqsatproc/cmaq.py +++ b/cmaqsatproc/cmaq.py @@ -418,8 +418,8 @@ def to_ioapi(self, reset_index=True, drop=True): tflag = xr.DataArray( tflag, dims=('TSTEP', 'VAR', 'DATE-TIME',), attrs=dict( - units='', long_name='TFLAG'.ljust(16), - var_desc='TFLAG'.ljust(80), + units='', long_name='TFLAG'.ljust(16), + var_desc='Timestep-valid flags: (1) YYYYDDD or (2) HHMMSS'.ljust(80), ) ) if outf.sizes['TSTEP'] > 1: