def __init__(self, city=None, state=None, country=None, latitude=0, longitude=0,
                 time_zone=0, elevation=0, station_id=None, source=None):
        """Create a Ladybug location."""
        self.city = '-' if not city else str(city)
        self.state = '-' if not state else str(state)
        self.country = '-' if not country else str(country)
        self.latitude = latitude or 0
        self.longitude = longitude or 0
        self.time_zone = time_zone or 0
        self.elevation = elevation or 0
        self.station_id = None if not station_id else str(station_id)
        self.source = source
def __init__ ( self , city = None , state = None , country = None , latitude = 0 , longitude = 0 , time_zone = 0 , elevation = 0 , station_id = None , source = None ) : self . city = '-' if not city else str ( city ) self . state = '-' if not state else str ( state ) self . country = '-' if not country else str ( country ) self . latitude = latitude or 0 self . longitude = longitude or 0 self . time_zone = time_zone or 0 self . elevation = elevation or 0 self . station_id = None if not station_id else str ( station_id ) self . source = source
Create a Ladybug location.