AllskyTeam / allsky

A Raspberry Pi operated Wireless Allsky Camera
MIT License
1.12k stars 174 forks source link

[ENHANCEMENT] Remove units from Overlay variables #3688

Open EricClaeys opened 3 weeks ago

EricClaeys commented 3 weeks ago

Many Overlay variables include both a value and the unit, e.g., AS_DISKFREE has the amount of GB free and a trailing "G", e.g., 45.31G. Including the unit makes it impossible to format the numeric value since the field is "text".

A partial list is (ADD TO THE LIST AS YOU FIND MORE EXAMPLES):

AS_DISKFREE, AS_DISKSIZE, AS_DISKUSAGE (e.g., 45.31G).  I suggest adding an "AS_DISKUNIT" variable with the value "G".
25544ALT, 25544AZ (ISS), AS_MOON_AZIMUTH, AS_MOON_ELEVATION (SUN_* are ok).