Skip to content

Commit

Permalink
Merge pull request #2840 from pllim/cubeviz-moar-extnames
Browse files Browse the repository at this point in the history
Cubeviz should recognize ERROR and DATA_QUALITY extension names
  • Loading branch information
pllim authored May 1, 2024
2 parents 720edcc + d6d0cc4 commit 5d00b97
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ API Changes
Cubeviz
^^^^^^^

- ERROR and DATA_QUALITY extension names are now recognized as
uncertainty and mask, respectively. [#2840]

Imviz
^^^^^

Expand Down
4 changes: 2 additions & 2 deletions jdaviz/configs/cubeviz/plugins/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
__all__ = ['parse_data']

EXT_TYPES = dict(flux=['flux', 'sci', 'data'],
uncert=['ivar', 'err', 'var', 'uncert'],
mask=['mask', 'dq', 'quality'])
uncert=['ivar', 'err', 'error', 'var', 'uncert'],
mask=['mask', 'dq', 'quality', 'data_quality'])


@data_parser_registry("cubeviz-data-parser")
Expand Down

0 comments on commit 5d00b97

Please # to comment.