You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+36-27Lines changed: 36 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,15 @@ Folder structure
30
30
31
31
Download **InfeRes package** from GitHub (`link <https://github.com/ssmahto/InfeRes_v0.2/>`_) and unzip it inside any directory. For instance, our InfeRes path is *D:/My Drive/InfeRes_v0.2/*. The another folder 'Reservoirs' (path *D:/My Drive/Reservoirs/*), where your satellite data will be downloaded. We have provided the example data for AyunHa reservoir for a quick setup and testing InfeRes as a casy study.
32
32
33
+
**NOTE**: Please unzip all compressed folders before running InfeRes. The folder directories and their paths should be as follows after the unzip:
2. **Folder containing reference GRanD curves**: *D:/My Drive/InfeRes_v0.2/GRAND_Curves/*
37
+
3. **Folder containing all reservoir's data**: *D:/My Drive/Reservoirs/*
38
+
4. **Folder containing data for (say) AyunHa reservoir**: *D:/My Drive/Reservoirs/AyunHa/*
39
+
5. **Folder containing raw satellite images for AyunHa reservoir**: *D:/My Drive/Reservoirs/AyunHa/AyunHa_RawData/*
40
+
6. **Folder containing supplementary satellite data for AyunHa reservoir**: *D:/My Drive/Reservoirs/AyunHa/AyunHa_Supporting/*
41
+
33
42
Dependencies
34
43
----------------
35
44
@@ -69,20 +78,20 @@ Usage Instructions
69
78
70
79
Inputs required (variable name):
71
80
72
-
- Name of the reservoir (res_name) = Salto
73
-
- Year of commission (res_built_year) = 1979
74
-
- Bounding box (boundary) = [-58.204045, -30.379470, -57.417353, -31.371091]. Where, (-58.204045, -30.379470) and (-57.417353, -31.371091) are the (longitude, latitude) of top-left and bottom-right points of the bounding box.
81
+
- Name of the reservoir (res_name) = AyunHa
82
+
- Year of commission (res_built_year) = 1997
83
+
- Bounding box (boundary) = [108.155, 13.700, 108.300, 13.575]. Where, (108.155, 13.700) and (108.300, 13.575) are the (longitude, latitude) of top-left and bottom-right points of the bounding box.
75
84
76
-
The data will be downloaded inside *D:/My Drive/Reservoirs/Salto/* in two different folders.
85
+
The data will be downloaded inside *D:/My Drive/Reservoirs/AyunHa/* in two different folders.
77
86
78
-
- Raw satellite data (Normalized Difference Water Index or NDWI in this case) will be at *D:/My Drive/Reservoirs/Salto/Salto_RawData/*.
79
-
- Supplementry data (DEM, Water frequency, Maximum reservoir extent in this case) will be at *D:/My Drive/Reservoirs/Salto/Salto_Supporting/*.
87
+
- Raw satellite data (Normalized Difference Water Index or NDWI in this case) will be at *D:/My Drive/Reservoirs/AyunHa/AyunHa_RawData/*.
88
+
- Supplementry data (DEM, Water frequency, Maximum reservoir extent in this case) will be at *D:/My Drive/Reservoirs/AyunHa/AyunHa_Supporting/*.
80
89
81
90
2. **DataDownload_GEE_GoogleColab.py**
82
91
83
-
``DataDownload_GEE_GoogleColab.py`` is an alternative of ``DataDownload_GEE.py``, which runs of web browser-based python environment such as Google Colab. It also takes the same set of inputs (i.e. Name of the reservoir, Year of commission, and Bounding box). However, in this case the data will be downloaded in next in your Google Drive, so the downloading path will be *D:/My Drive/Salto_RawData/* and *D:/My Drive/Salto_Supporting/* for raw satellite data and supplementry data, respectively.
92
+
``DataDownload_GEE_GoogleColab.py`` is an alternative of ``DataDownload_GEE.py``, which runs of web browser-based python environment such as Google Colab. It also takes the same set of inputs (i.e. Name of the reservoir, Year of commission, and Bounding box). However, in this case the data will be downloaded in next in your Google Drive, so the downloading path will be *D:/My Drive/AyunHa_RawData/* and *D:/My Drive/AyunHa_Supporting/* for raw satellite data and supplementry data, respectively.
84
93
85
-
Please note that you need to maintain the folder structure as *D:/My Drive/Reservoirs/Salto/Salto_RawData/* and *D:/My Drive/Reservoirs/Salto/Salto_Supporting/* before running the InfeRes modules. Therefore, you need to move the data to the correct folder arrangement once the downloading is completed.
94
+
Please note that you need to maintain the folder structure as *D:/My Drive/Reservoirs/AyunHa/AyunHa_RawData/* and *D:/My Drive/Reservoirs/AyunHa/AyunHa_Supporting/* before running the InfeRes modules. Therefore, you need to move the data to the correct folder arrangement once the downloading is completed.
86
95
87
96
3. **PREPROCESSING.py**
88
97
@@ -95,11 +104,11 @@ Usage Instructions
95
104
96
105
Inputs required (variable name):
97
106
98
-
- Name of the reservoir (res_name) = Salto
99
-
- Year of commission (res_built_year) = 1979
100
-
- Maximum water level in meter (max_wl) = 43
101
-
- A point coordinates on the reservoir (point) = [-57.913791, -30.943991]
b. If reservoir has built after the acquisition of DEM (i.e. year 2000, as we are using SRTM DEM):
119
128
120
-
- Name of the reservoir (res_name) = Salto
121
-
- Maximum water level in meter (max_wl) = 43
129
+
- Name of the reservoir (res_name) = AyunHa
130
+
- Maximum water level in meter (max_wl) = 211
122
131
123
132
6. **WSA.py**
124
133
125
134
``WSA.py`` estimates the area and storage time-series from the pre-preocessed time satellite images, which only takes intput as the name of the reservoir.
126
135
127
136
Inputs required (variable name):
128
137
129
-
- Name of the reservoir (res_name) = Salto
138
+
- Name of the reservoir (res_name) = AyunHa
130
139
131
140
How to Run?
132
141
---------------------
@@ -142,12 +151,12 @@ How to Run?
142
151
143
152
**inputs_InfeRes.csv** contains:
144
153
145
-
* Name of the reservoir (res_name) = Salto
146
-
* Year of commission (res_built_year) = 1979
147
-
* Maximum water level in meter (max_wl) = 43
148
-
* GRanD ID = 230 (if GRanD ID is not available, put 0)
149
-
* A point coordinates on the reservoir (point) = [-57.913791, -30.943991]
NOTE: ``main.py`` calls other modules in a sequential order (``PREPROCESSING.py`` -> ``CURVE.py`` -> ``WSA.py``) to get the desired outputs (i.e. reservoir's area, level, and storage in this case).
0 commit comments