<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On Nov 4, 2014, at 2:48 PM, Phil Hodge <<a href="mailto:hodge@stsci.edu">hodge@stsci.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span style="font-family: GillSans; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;">I wouldn't use a FITS writer that changed my data.</span><br style="font-family: GillSans; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"></blockquote></div><div><br></div>Agreed. A FITS writer should not write an invalid FITS file or one that does not meet the spec. If a file does meet the spec, reading it in full and writing it back out should not change any data.<div><br></div><div>This does not preclude warning the user what is *preferred*.</div><div><br></div><div><blockquote type="cite"><span style="font-family: GillSans;">2. Angstrom and erg are </span><i style="font-family: GillSans;">deprecated in the IAU list</i></blockquote><div><br></div>Deprecated means (to me) that you should not be using feature X, but if you do (and you can) /don't be surprised if in the future if your file that uses feature X no longer works (which in this case could mean the file can be read but will not be written out the same way as above).</div><div><br></div><div>That said, I don't see why an updated FITS format can't attach any unit (e.g. anything defined in astropy.units) to any column (barring ambiguity of course).</div><div><br></div><div>Demitri<br><div><br><div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="color: rgb(0, 0, 0); font-family: 'Gill Sans'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">_________________________________________<br>Demitri Muna<br><br>Department of Astronomy<br>An Ohio State University<br><br><a href="http://trillianverse.org">http://trillianverse.org</a><br><span style="text-align: -webkit-auto;">http://scicoder.org</span><br><br><br></div></div></div>
</div>
<br></div></div></body></html>