Comment by chungy
2 years ago
Trying your examples, especially considering that the elliptical orbit of the earth likewise causes the Sun's angular diameter change depending on where our orbit is, I found that Units current has a buggy definition of moondist_min and moondist_max. It's defined in the definitions file as 356.371 km and 406.720 km respectively. These should be Mm! (Or remove the period, either will work)
Just to work around the bug, you can use a local definitions file to correct it:
cat > ~/.units <<EOF
moondist_min 356.371 Mm
moondist_max 406.720 Mm
EOF
interesting, looks like an effort to improve the precision resulted in a factor of 1000 error! `help moondist_max` shows me considerably less precise values:
Where are you typing help to get that output?
at the units prompt
then i scrolled up a few lines in less
2 replies →