-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cubeviz to use wcs1d-fits from specutils to write out fitted cube #2094
Conversation
@pllim astropy/specutils#1051 has now passed all tests, so you might try it for the bool mask here. |
This comment was marked as resolved.
This comment was marked as resolved.
619cd58
to
1fba94e
Compare
1fba94e
to
e16a5d5
Compare
e16a5d5
to
d75de7a
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
d75de7a
to
3b00e22
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2094 +/- ##
==========================================
- Coverage 88.93% 88.88% -0.06%
==========================================
Files 112 112
Lines 17411 17391 -20
==========================================
- Hits 15485 15458 -27
- Misses 1926 1933 +7 ☔ View full report in Codecov by Sentry. |
I think at long last, this PR is finally ready because upstream fix has been released since. |
Not sure why RTD status report is stuck (PR too old? lol) but the build was successful: https://readthedocs.org/projects/jdaviz/builds/25146976/ |
Hm, this works for writing out a model fit cube, but interestingly, it fails if you try to write out the original data cube that was loaded into Cubeviz (at least that's what I'm seeing with the example notebook). That also fails to write on |
Pretty sure that was a separate ticket. I don't think we support complete I/O roundtripping anywhere yet. |
In that case I'll go ahead and approve this. |
to write out fitted cube. This uses astropy/specutils#1051
3b00e22
to
9d46233
Compare
Rebased to see if RTD would report back this time. Thanks for the review! |
Description
This pull request is to remove the unreleased
jdaviz-cube
writer we added in #2012 and use the improved specutilswcs1d-fits
writer that Derek modifed in astropy/specutils#1009 .Close #2044
Blocked by
wcs1d-fits
encounters error with bool mask, so need Support write and read of boolean masks inwcs1d-fits
astropy/specutils#1051wcs1d-fits
astropy/specutils#1051 is released (>1.10)wcs1d-fits
loader for multi-D WCS astropy/specutils#1009 and the fix above need to be released and then we have to update minversion pin for specutils.Change log entry
CHANGES.rst
? If you want to avoid merge conflicts,list the proposed change log here for review and add to
CHANGES.rst
before merge. If no, maintainershould add a
no-changelog-entry-needed
label.Checklist for package maintainer(s)
This checklist is meant to remind the package maintainer(s) who will review this pull request of some common things to look for. This list is not exhaustive.
trivial
label.