A planetary code for atmospheric calculations using Antioch