Almanac
Mother maintains a list of all grids in the world running Mother that are connected via an antenna network. The Almanac is used to track grid locations, status, and other information. It is automatically generated during boot, and updates as a result of certain interactions with other grids.
Note
Grids running Mother will periodically communicate, at which time the Almanac is updated with details specific to each grid.
To immediately refresh the Almanac, you can run the ping command.
Tips
Check out the Almanac in action using the Map display in the Mother Autopilot System.
Why Do We Have It?
In order for grids to interoperate seamlessly, it is important for them to store key information about each other. This includes properties like their id, position and speed. Other modules can make use of this for communication and navigation.
Storing Information
By default, the Almanac uses LocalStorage to ensure the positions and information of grids and waypoints are not lost when Mother encounters an error, or the script is rebooted/recompiled. This means that the Almanac is persistent across reboots of the Programmable Block, preventing the loss of important data over time.
Refreshing the Almanac
Sometimes we rename our grids and this doesn't persist correctly (Why is my ship still Static Grid 1234 on the map?) Your best course of action is to purge the local Almanac and load fresh names.
purge almanac --force;
