Database interface for pytroll