Skip to content

Commit

Permalink
Merge pull request #123 from followthesheep/master
Browse files Browse the repository at this point in the history
Modified QLook2 so that it can load FITS files without correct image headers
  • Loading branch information
followthesheep committed Jul 22, 2023
2 parents 280019b + 288cf0b commit df6bf6e
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 9 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,19 @@
* [Testing the Pipeline](#testing-the-pipeline)
* [Citing the Pipeline](#citing-the-pipeline)


## Release Notes for v6.0.2
**2023-07-21**
- Modified QLook2 so that it can load FITS files without correct image headers without launching a dialog box that must be closed to continue. This helps to support saving all reads in up the ramp mode and visualizing it.

## Release Notes for v6.0.1
**2023-05-02**
- Small changes to the ``run_odrp`` and ``osirisDropDRF`` scripts to run better on more modern Linux environments.
- Added more instructions on how to install on Linux
- Added instructions on downloading test data for testing the pipeline



## Release Notes for v6.0
**2022-04-12**
- Update to the manual including: discussion of new imager, new tables of sensitivities for imager and spectrograph, updates on how to observe with the TRICK NIR TT sensor, discussion of the new exposure time calculator, new discussion of the OSIRIS imager reduction pipeline KAI.
Expand Down
2 changes: 1 addition & 1 deletion backbone/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.0.1
6.0.2
25 changes: 17 additions & 8 deletions ql2/cimwin__define.pro
Original file line number Diff line number Diff line change
Expand Up @@ -1723,11 +1723,11 @@ if (itime ne 0) then begin


endif else begin
print, ['Could not find the coadds keyword.', $
print, ['ERROR: Could not find the coadds keyword.', $
'No manipulation of the data']
endelse
endif else begin
print, ['Could not find the integration time keyword.', $
print, ['ERROR: Could not find the integration time keyword.', $
'No manipulation of the data']
endelse

Expand Down Expand Up @@ -2918,14 +2918,23 @@ pro CImWin::DisplayAsDN, no_rescale=no_rescale
itime=sxpar(hd, itime_kw, count=itime_count)
coadds=sxpar(hd, coadds_kw, count=coadd_count)
if itime_count eq 0 then begin
message=['Could not find the coadds keyword.', $
'No manipulation of the data']
answer=dialog_message(message, dialog_parent=self.BaseId, /error)
message=['ERROR: Could not find the coadds keyword.', $
'No manipulation of the data']
;; commented this out so that it can display images of
;; individual reads which do not have headers.
;;answer=dialog_message(message, dialog_parent=self.BaseId, /error)

;; instead, print out to the terminal
print, message
endif
if coadd_count eq 0 then begin
message=['Could not find the integration time keyword.', $
'No manipulation of the data']
answer=dialog_message(message, dialog_parent=self.BaseId, /error)
message=['ERROR Could not find the integration time keyword.', $
'No manipulation of the data']
;; commented this out so that it can display images of
;; individual reads which do not have headers.

;; answer = dialog_message(message, dialog_parent = self.BaseId, /error)
print, message
endif

print, "Integration time was ", itime
Expand Down

0 comments on commit df6bf6e

Please sign in to comment.