Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion cmaqsatproc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions cmaqsatproc/cmaq.py
Original file line number Diff line number Diff line change
Expand Up @@ -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='<YYYYJJJ,HHMMSS>', long_name='TFLAG'.ljust(16),
var_desc='TFLAG'.ljust(80),
units='<YYYYDDD,HHMMSS>', long_name='TFLAG'.ljust(16),
var_desc='Timestep-valid flags: (1) YYYYDDD or (2) HHMMSS'.ljust(80),
)
)
if outf.sizes['TSTEP'] > 1:
Expand Down