[casacore] r21171 committed - Change capitalization of FITS units (fix by Peter Williams, Berkeley)

0 views
Skip to first unread message

casa...@googlecode.com

unread,
Jan 4, 2012, 7:53:45 AM1/4/12
to casacor...@googlegroups.com
Revision: 21171
Author: gervandiepen
Date: Wed Jan 4 04:53:30 2012
Log: Change capitalization of FITS units (fix by Peter Williams,
Berkeley)

http://code.google.com/p/casacore/source/detail?r=21171

Modified:
/trunk/coordinates/Coordinates/SpectralCoordinate.cc

=======================================
--- /trunk/coordinates/Coordinates/SpectralCoordinate.cc Tue Oct 18
00:39:05 2011
+++ /trunk/coordinates/Coordinates/SpectralCoordinate.cc Wed Jan 4
04:53:30 2012
@@ -1847,11 +1847,11 @@
if (cunit.nelements() > 0) {
if (Ctype.contains("VELO") || Ctype.contains("FELO")||
Ctype.contains("VRAD")|| Ctype.contains("VOPT")) {
- cunit(whichAxis) = "M/S";
+ cunit(whichAxis) = "m/s";
} else if (Ctype.contains("FREQ")) {
- cunit(whichAxis) = "HZ";
+ cunit(whichAxis) = "Hz";
} else if (Ctype.contains("WAVE")|| Ctype.contains("AWAV")) {
- cunit(whichAxis) = "M";
+ cunit(whichAxis) = "m";
} else {
AlwaysAssert(0, AipsError); // NOTREACHED
}

Reply all
Reply to author
Forward
0 new messages