python scripts for atNight maps