diff --git a/GEOAkaze/GEOAkaze_mod.py b/GEOAkaze/GEOAkaze_mod.py index c62525d..6e0358d 100644 --- a/GEOAkaze/GEOAkaze_mod.py +++ b/GEOAkaze/GEOAkaze_mod.py @@ -26,7 +26,7 @@ def __init__(self,slavefile,masterfile,gridsize,typesat_slave,typesat_master,dis 2: Landsat(nc) 3: MSI(jp2) 4: MSI(nc) - 5: Landsat (nc) (old version) + dist_thr (int): a threshold used for filtering bad matches is_destriping (bool): whether to remove strips bandindex_slave and bandindex_master (int): the index for reading bands in @@ -138,7 +138,7 @@ def read_rad(self,fname,typesat,bandindex=None,w1=None,w2=None): 2: Landsat(nc) 3: MSI(jp2) 4: MSI(nc) - 5: Landsat (nc) (old version) + bandindex (int): the index of band (e.g., =1 for O2) w1,w2 (int): the range of wavelength indices for averaging OUT: @@ -174,10 +174,7 @@ def read_rad(self,fname,typesat,bandindex=None,w1=None,w2=None): rad = self.read_netcdf(fname,'MSI_clim') lat = self.read_netcdf(fname,'lat') lon = self.read_netcdf(fname,'lon') - elif typesat == 4: - rad = self.read_netcdf(fname,'landsat_gray') - lat = self.read_netcdf(fname,'lat_landsat') - lon = self.read_netcdf(fname,'lon_landsat') + return rad,lat,lon def readslave(self):