Can people let me know if they come across data files containing units
strings which do not conform to the FITS standard. Pedro has a point in
saying that requiring FITS conformity is a bit of an imposition on data
providers. I can see that there will be many common variants which AST
could easily interpret, rather than reporting an error. Obviously,
"angstrom" could be treated like "Angstrom, "hz" like "Hz", "micron"
like "um", etc. "A" could probably be treated like "Angstrom" since it is
unlikely that an astronomcal data file will refer to units of Amperes!
Unfortunately, "a" is a common (in fact IAU) unit for year.
So maybe I should add some flexibility to the AST unit interpretation to
cover these cases.
David
|