Skip to content

Commit

Permalink
reversing
Browse files Browse the repository at this point in the history
  • Loading branch information
Amir Souri committed Oct 7, 2021
1 parent 37d48b1 commit 4d539ea
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions GEOAkaze/GEOAkaze_mod.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 4d539ea

Please sign in to comment.