Skip to content

Commit 7117b1b

Browse files
authored
Update README.rst
1 parent 1803bc3 commit 7117b1b

File tree

1 file changed

+36
-27
lines changed

1 file changed

+36
-27
lines changed

README.rst

Lines changed: 36 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,15 @@ Folder structure
3030

3131
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.
3232

33+
**NOTE**: Please unzip all compressed folders before running InfeRes. The folder directories and their paths should be as follows after the unzip:
34+
35+
1. **Folder containing InfeRes modules**: *D:/My Drive/InfeRes_v0.2/*
36+
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+
3342
Dependencies
3443
----------------
3544

@@ -69,20 +78,20 @@ Usage Instructions
6978

7079
Inputs required (variable name):
7180

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.
7584

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.
7786

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/*.
8089

8190
2. **DataDownload_GEE_GoogleColab.py**
8291

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.
8493

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.
8695

8796
3. **PREPROCESSING.py**
8897

@@ -95,11 +104,11 @@ Usage Instructions
95104

96105
Inputs required (variable name):
97106

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]
102-
- Reservoir's bounding box coordinates (boundary) = [-58.204045, -30.379470, -57.417353, -31.371091]
107+
- Name of the reservoir (res_name) = AyunHa
108+
- Year of commission (res_built_year) = 1997
109+
- Maximum water level in meter (max_wl) = 211
110+
- A point coordinates on the reservoir (point) = [108.232, 13.638]
111+
- Reservoir's bounding box coordinates (boundary) = [108.155, 13.700, 108.300, 13.575]
103112

104113
4. **CURVE.py**
105114

@@ -109,24 +118,24 @@ Usage Instructions
109118

110119
a. If reservoir has built before the acquisition of DEM (i.e. year 2000, as we are using SRTM DEM):
111120

112-
- Name of the reservoir (res_name) = Salto
113-
- Identification number of the reservoir in the GRanD v1.3 database (grandID) = 230
114-
- Maximum water level in meter (max_wl) = 43
115-
- A point coordinates on the reservoir (point) = [-57.913791, -30.943991]
116-
- Reservoir's bounding box coordinates (boundary) = [-58.204045, -30.379470, -57.417353, -31.371091]
121+
- Name of the reservoir (res_name) = AyunHa
122+
- Identification number of the reservoir in the GRanD v1.3 database (grandID) = 7153
123+
- Maximum water level in meter (max_wl) = 211
124+
- A point coordinates on the reservoir (point) = [108.232, 13.638]
125+
- Reservoir's bounding box coordinates (boundary) = [108.155, 13.700, 108.300, 13.575]
117126

118127
b. If reservoir has built after the acquisition of DEM (i.e. year 2000, as we are using SRTM DEM):
119128

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
122131

123132
6. **WSA.py**
124133

125134
``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.
126135

127136
Inputs required (variable name):
128137

129-
- Name of the reservoir (res_name) = Salto
138+
- Name of the reservoir (res_name) = AyunHa
130139

131140
How to Run?
132141
---------------------
@@ -142,12 +151,12 @@ How to Run?
142151

143152
**inputs_InfeRes.csv** contains:
144153

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]
150-
* Reservoir's bounding box coordinates (boundary) = [-58.204045, -30.379470, -57.417353, -31.371091]
154+
* Name of the reservoir (res_name) = AyunHa
155+
* Year of commission (res_built_year) = 1997
156+
* Maximum water level in meter (max_wl) = 211
157+
* GRanD ID = 7153 (if GRanD ID is not available, put 0)
158+
* A point coordinates on the reservoir (point) = [108.232, 13.638]
159+
* Reservoir's bounding box coordinates (boundary) = [108.155, 13.700, 108.300, 13.575]
151160
* Run the ``main.py``
152161

153162
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

Comments
 (0)