def get_astral_location(self) -> Location: """ ASTRAL_LOCATION is a comma separated string in the format of Astral's LocationInfo name,region,timezone,latitude,longitude eg: 'London,England,Europe/London,51°30'N,00°07'W' name and country are purely for labelling, can anything lat/long can be either in degrees and minutes or as a float (positive = North/East) elevation is in metres :return: """ location_tuple = os.environ["ASTRAL_LOCATION"].split(",") location_info = LocationInfo(*location_tuple) location = Location(location_info) return location