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: curve_number_generator/metadata.txt
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,9 @@
6
6
name=Curve Number Generator
7
7
qgisMinimumVersion=3.18
8
8
description=Curve Number Generator plugin has multiple algorithms to generate the curve number layer for any area of interest using different datasets.
9
-
version=2.2.0
9
+
version=2.2.1
10
10
author=Abdul Raheem Siddiqui
11
-
email=ars.work.ce@gmail.com
11
+
email=ar-siddiqui@outlook.com
12
12
13
13
about=Curve Number Generator plugin has multiple algorithms to generate the curve number layer for any area of interest using different datasets.
<p>Generated Curve Number layer based on Land Cover and HSG values.</p>
490
-
<br><p align="right">Algorithm author: Abdul Raheem Siddiqui</p><p align="right">Help author: Abdul Raheem Siddiqui</p><p align="right">Algorithm version: {PLUGIN_VERSION}</p><p align="right">Contact email: ars.work.ce@gmail.com</p><p>Disclaimer: The curve numbers generated with this algorithm are high level estimates and should be reviewed in detail before being used for detailed modeling or construction projects.</p></body></html>"""
490
+
<br><p align="right">Algorithm author: Abdul Raheem Siddiqui</p><p align="right">Help author: Abdul Raheem Siddiqui</p><p align="right">Algorithm version: {PLUGIN_VERSION}</p><p align="right">Contact email: ar-siddiqui@outlook.com</p><p>Disclaimer: The curve numbers generated with this algorithm are high level estimates and should be reviewed in detail before being used for detailed modeling or construction projects.</p></body></html>"""
Copy file name to clipboardExpand all lines: curve_number_generator/processing/algorithms/global_esa_ornl/global_esa_ornl.py
+58-70Lines changed: 58 additions & 70 deletions
Original file line number
Diff line number
Diff line change
@@ -7,9 +7,9 @@
7
7
This plugin generates a Curve Number layer for the given Area of Interest within the contiguous United States. It can also download Soil, Land Cover, and Impervious Surface datasets for the same area.
8
8
Generated by Plugin Builder: http://g-sherman.github.io/Qgis-Plugin-Builder/
"Error getting Hydorologic Soil Group data from 'https://webmap.ornl.gov/'. Most probably because either their server is down or there is a certification issue.\nThis should be temporary. Try again later.\n",
lowercase alphanumeric characters only and no spaces or other
415
402
formatting characters.
416
403
"""
417
-
return"globalesaisric"
404
+
return"globalesaornl"
418
405
419
406
defdisplayName(self):
420
407
"""
421
408
Returns the translated algorithm name, which should be used for any
422
409
user-visible display of the algorithm name.
423
410
"""
424
-
returnself.tr("Curve Number Generator (Global) (ESA & ISRIC)")
411
+
returnself.tr("Curve Number Generator (Global) (ESA & ORNL)")
425
412
426
413
deficon(self):
427
414
icon=QIcon(os.path.join(cmd_folder, "icon.png"))
@@ -438,33 +425,34 @@ def shortHelpString(self):
438
425
msg
439
426
+f"""<html><body>
440
427
<h2>Algorithm description</h2>
441
-
<p>This algorithm generates a Curve Number layer for the given Area of Interest. It can also generate Hydrologic Soil Groups (HSG) raster from ISRIC clay dataset and download ESA Land Cover raster for the same area.
428
+
<p>This algorithm generates a Curve Number layer for the given Area of Interest. It can also generate Hydrologic Soil Groups (HSG) raster from ORNL Hydrologic Soil Group dataset (HYSOGs250m) and download ESA Land Cover 2021 raster for the same area.
442
429
443
-
For areas where the ISRIC dataset has no data such as urban areas, HSG D is assumed.</p>
430
+
For areas where the ORNL dataset has no data such as permanent water bodies, HSG D is assumed.</p>
444
431
<h2>Input parameters</h2>
445
432
<h3>Area of Interest</h3>
446
-
<p>Polygon layer representing an area of interest</p>
433
+
<p>Polygon layer representing an area of interest.</p>
447
434
<h3>Lookup Table [optional</h3>
448
-
<p>Optional Table to relate ESA Land Cover Value and HSG Value to a particular curve number. By default the algorithm uses pre defined tables. The table must have two columns 'grid_code' and 'cn'. grid_code is a concatenation of ESA Land Cover code and Hydrologic Soil Group. <a href="https://raw.githubusercontent.com/ar-siddiqui/curve_number_generator/v{PLUGIN_VERSION}/curve_number_generator/processing/algorithms/global_esa_isric/lookups/default_lookup_f_ii.csv">Template csv file to create custom table</a>.</p>
435
+
<p>Optional Table to relate ESA Land Cover Value and HSG Value to a particular curve number. By default the algorithm uses pre defined tables. The table must have two columns 'grid_code' and 'cn'. grid_code is a concatenation of ESA Land Cover code and Hydrologic Soil Group. <a href="https://raw.githubusercontent.com/ar-siddiqui/curve_number_generator/v{PLUGIN_VERSION}/curve_number_generator/processing/algorithms/global_esa_ornl/lookups/default_lookup_f_ii.csv">Template csv file to create custom table</a>.</p>
449
436
<h3>Hydrologic Condition [Ignored when custom lookup table is provided]</h3>
450
437
<p> Hydrologic condition is a parameter that represents combinations of factors that affect infiltration and runof. It can be Poor, Fair, or Good. (see <a href="https://directives.sc.egov.usda.gov/17758.wba">Table 9-1</a> for further description).
451
438
452
439
If unsure, use the default fair hydrologic conidtion which is the most common case in hydrologic studies.
453
440
<h3>Antecedent Runoff Condition [Ignored when custom lookup table is provided]</h3>
454
441
<p> Antecedent Runoff Condition (ARC) is the relative wetness or dryness index for the soil. I for dry, II for average, and III for wet conditions. (see <a href="https://directives.sc.egov.usda.gov/17752.wba">Table 10-1</a> for further understanding)</p>
442
+
443
+
If unsure, use the default ARC II which is the most common case in hydrologic studies.
455
444
<h2>Outputs</h2>
456
445
<h3>ESA World Cover</h3>
457
446
<p>ESA Land Cover 2021 raster.</p>
458
-
<h3>ISRIC Derived HSG</h3>
459
-
<p>Hydrologic Soil Groups raster derived from the ISRIC clay dataset.
460
-
461
-
Note: In dense urban areas, ISRIC soil raster has nodata cells, which are also reflected in the derived HSG raster.</p>
447
+
<h3>HSG</h3>
448
+
<p>ORNL Hydrologic Soil Groups (HYSOGs250m).</p>
462
449
<h3>Curve Number</h3>
463
450
<p>Generated Curve Number layer based on Land Cover and HSG values.</p>
464
451
<h3>Curve Number (Vectorized)</h3>
465
452
<p>Vector form of the generated Curve Number layer.</p>
466
-
<br><p align="right">Algorithm author: Abdullah Azzam</p><p align="right">Help author: Abdullah Azzam</p><p align="right">Algorithm version: {PLUGIN_VERSION}</p><p align="right">Contact email: ars.work.ce@gmail.com</p><p>Disclaimer: The curve numbers generated with this algorithm are high level estimates and should be reviewed in detail before being used for detailed modeling or construction projects.</p></body></html>"""
453
+
<br>
454
+
<p align="right">Algorithm science author: Abdullah Azzam</p><p align="right">Code author: Abdul Raheem Siddiqui</p><p align="right">Help author: Abdullah Azzam</p><p align="right">Algorithm version: {PLUGIN_VERSION}</p><p align="right">Contact email: ar-siddiqui@outlook.com</p><p>Disclaimer: The curve numbers generated with this algorithm are high level estimates and should be reviewed in detail before being used for detailed modeling or construction projects.</p></body></html>"""
0 commit comments