class PVGeoLandsatReader(LandsatReader): def __init__(self): LandsatReader.__init__(self) #### Seters and Geters #### @smproperty.xml( _helpers.get_file_reader_xml( LandsatReader.extensions, reader_description=LandsatReader.description)) def AddFileName(self, filename): LandsatReader.AddFileName(self, filename) @smproperty.dataarrayselection(name="Available Bands") def GetDataSelection(self): return LandsatReader.GetDataSelection(self) @smproperty.xml( _helpers.get_property_xml( name='Cast Data Type', command='set_cast_data_type', default_values=True, help= 'A boolean to set whether to cast the data arrays so invalid points are filled nans.', panel_visibility='advanced', )) def set_cast_data_type(self, flag): LandsatReader.set_cast_data_type(self, flag) @smproperty.xml( _helpers.get_drop_down_xml( name='Color Scheme', command='set_color_scheme', labels=LandsatReader.get_color_scheme_names(), help='Set a color scheme to use.', )) def set_color_scheme(self, scheme): LandsatReader.set_color_scheme(self, scheme)
def set_color_scheme(self, scheme): LandsatReader.set_color_scheme(self, scheme)
def set_cast_data_type(self, flag): LandsatReader.set_cast_data_type(self, flag)
def GetDataSelection(self): return LandsatReader.GetDataSelection(self)
def AddFileName(self, filename): LandsatReader.AddFileName(self, filename)
def __init__(self): LandsatReader.__init__(self)