Skip to content

Commit 72e86e2

Browse files
committed
initial commit
1 parent 696f7f9 commit 72e86e2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

InfeRes_package/MASK.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def mask(res_name, yearOFcommission, max_wl, point, boundary, dem_file_path, res
105105
print("Estimating cloud fraction...")
106106
class_count = 0
107107
cloud_threshold = 80
108-
#L8band_quality_threshold= 22280 # See user guide for more information
108+
#L8band_quality_threshold= 22280 # See supplemental folder (Landsat documentation) for more information
109109
#L7band_quality_threshold= 5896
110110
#L5band_quality_threshold= 5896
111111
os.chdir(res_directory + "/Outputs")

InfeRes_package/WSA.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def wsa(res_name, res_directory):
159159
qual = 1
160160
print(" Final area: "+str(round(fn_area,3))+" km2")
161161
print(" ")
162-
results = np.append(results, [[str(filename[8]), str(filename[11]),filename[18:28],
162+
results = np.append(results, [[str(filename[8]), str(filename[10:12]),filename[18:28],
163163
round(threshold,3), round(ratio[49],3),
164164
int(N_10), int(s_index), int(qual),
165165
round(bf_area,3), round(af_area,3),

InfeRes_package/data_processing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
############+++++++++++ PLEASE MAKE SURE OF THE FOLLOWING POINTS BEFORE RUNNING THE CODE +++++++++++############
22
# [1]. Data are already downloaded (Satellite images and DEM)
33
# [2]. DEM should be in the projected coordinate system (unit: meters)
4-
# [3]. Use the same coordinates that you have used in "first_script_data_download.py"
4+
# [3]. Use the same coordinates that you have used in "data_download.py"
55
# [4]. All the python(scripts) files are inside ".../ReservoirExtraction/codes"
66
# [5]. "Number_of_tiles" = Number of Landsat tiles to cover the entire reservoir. It is recommended to download the Landsat tile covering the maximum reservoir area
77
############++++++++++++++++++++++++++++++++++++++++ END ++++++++++++++++++++++++++++++++++++++++#############

0 commit comments

Comments
 (0)