Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, channels, area, time_slot,
mode="L", crange=None, fill_value=None, palette=None):
self.area = area
self.time_slot = time_slot
self.tags = {}
self.gdal_options = {}
Image.__init__(self, channels, mode, crange,
fill_value, palette)
def __init__(self, channels, area, start_time, copy=True,
mode="L", crange=None, fill_value=None, palette=None, **kwargs):
self.area = area
# FIXME: Should we be concerned with start time and end time?
self.time_slot = start_time
self.tags = {}
self.gdal_options = {}
Image.__init__(self,
channels=channels,
mode=mode,
color_range=crange,
fill_value=fill_value,
palette=palette,
copy=copy)