Skip to content

Commit

Permalink
fix: amend AddObservationEntry to correctly set EPOCH values in @obse…
Browse files Browse the repository at this point in the history
…rverly/iris

fix: amend AddObservationEntry to correctly set EPOCH values in @observerly/iris
  • Loading branch information
michealroberts committed Nov 28, 2024
1 parent feb62b4 commit 913fda2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/fits/fits.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,10 @@ func (f *FITSImage) AddObservationEntry(observation *FITSObservation) *FITSImage
f.Header.Set("MJD-OBS", observation.MJDObs, "Modified Julian Date of the observation")

// Set the Equinox of the Observation:
f.Header.Set("EQUINOX", fmt.Sprintf("%.1f", observation.Equinox), "Equinox of observation e.g., J2000.0")
f.Header.Set("EQUINOX", observation.Equinox, "Equinox of observation e.g., J2000.0")

// Set the Epoch of the Observation:
f.Header.Set("EPOCH", fmt.Sprintf("%.1f", observation.Epoch), "Epoch of observation")
f.Header.Set("EPOCH", observation.Epoch, "Epoch of observation")

// Set the astrometric reference frame or celestial coordinate system used for the celestial coordinates:
f.Header.Set("RADESYS", "ICRS", "International Celestial Reference System")
Expand Down

0 comments on commit 913fda2

Please sign in to comment.