diff --git a/curve_number_generator/metadata.txt b/curve_number_generator/metadata.txt index ffafbb5..adcd9ec 100644 --- a/curve_number_generator/metadata.txt +++ b/curve_number_generator/metadata.txt @@ -6,7 +6,7 @@ name=Curve Number Generator qgisMinimumVersion=3.18 description=Curve Number Generator plugin has multiple algorithms to generate the curve number layer for any area of interest using different datasets. -version=2.1.3 +version=2.2.0 author=Abdul Raheem Siddiqui email=ars.work.ce@gmail.com @@ -21,7 +21,9 @@ repository=https://github.com/ar-siddiqui/curve_number_generator hasProcessingProvider=yes # Uncomment the following line and add your changelog: -changelog= Version 2.1.3 - 2023-10-17 +changelog= Version 2.2.0 - 2024-04-16 + - Add a new global algorithm utilizing ESA and ISRIC datasets + Version 2.1.3 - 2023-10-17 - Change NLCD Land Cover and Impervious layer to 2021 dataset Version 2.1.2 - 2023-05-24 - conus_nlcd_ssurgo: Fix missing data on corners of a rectangle AOI @@ -44,7 +46,7 @@ homepage=https://github.com/ar-siddiqui/curve_number_generator category=Analysis icon=icon.png # experimental flag -experimental=False +experimental=True # deprecated flag (applies to the whole plugin, not just a single version) deprecated=False diff --git a/curve_number_generator/processing/algorithms/conus_nlcd_ssurgo/conus_nlcd_ssurgo.py b/curve_number_generator/processing/algorithms/conus_nlcd_ssurgo/conus_nlcd_ssurgo.py index ad7acfb..e54c1f0 100644 --- a/curve_number_generator/processing/algorithms/conus_nlcd_ssurgo/conus_nlcd_ssurgo.py +++ b/curve_number_generator/processing/algorithms/conus_nlcd_ssurgo/conus_nlcd_ssurgo.py @@ -469,9 +469,9 @@ def shortHelpString(self):

This algorithm generates 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.

Input parameters

Area of Interest

-

Polygon layer representing area of interest

+

Polygon layer representing area of interest.

Lookup Table [optional]

-

Optional Table to relate NLCD Land Use Value and HSG Value to a particular curve number. By default the algorithm uses pre defined table. The table must have two columns 'grid_code' and 'cn'. grid_code is concatenation of NLCD Land Use code and Hydrologic Soil Group. Template csv file to create custom table (add an optional `.csvt` file to control column data types).

+

Optional Table to relate NLCD Land Cover Value and HSG Value to a particular curve number. By default the algorithm uses pre defined table. The table must have two columns 'grid_code' and 'cn'. grid_code is concatenation of NLCD Land Use code and Hydrologic Soil Group (HSG). Template csv file to create custom table (add an optional `.csvt` file to control column data types).

Drained Soils? [leave unchecked if not sure]

Certain Soils are categorized as dual category in SSURGO dataset. They have Hydrologic Soil Group D for Undrained Conditions and Hydrologic Soil Group A/B/C for Drained Conditions. @@ -486,7 +486,7 @@ def shortHelpString(self):

Soils

SSURGO Extended Soil Dataset

Curve Number

-

Generated Curve Number Layer based on Land Cover and HSG values.

+

Generated Curve Number layer based on Land Cover and HSG values.


Algorithm author: Abdul Raheem Siddiqui

Help author: Abdul Raheem Siddiqui

Algorithm version: {PLUGIN_VERSION}

Contact email: ars.work.ce@gmail.com

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.

""" ) diff --git a/curve_number_generator/processing/algorithms/custom/custom.py b/curve_number_generator/processing/algorithms/custom/custom.py index d53e101..d945f46 100644 --- a/curve_number_generator/processing/algorithms/custom/custom.py +++ b/curve_number_generator/processing/algorithms/custom/custom.py @@ -208,12 +208,12 @@ def shortHelpString(self): return ( msg - + f"""Video Tutorial + + f"""

Algorithm description

This algorithm generates Curve Number layer for the given Area of Interest given a Land Cover Raster, Soil Layer, and a Lookup Table.

Input parameters

Area of Interest

-

Polygon layer representing area of interest

+

Polygon layer representing area of interest.

Land Cover Raster

Raster representing land cover values of the AOI

Soils Layer

diff --git a/curve_number_generator/processing/config.py b/curve_number_generator/processing/config.py index 070327f..09bfe06 100644 --- a/curve_number_generator/processing/config.py +++ b/curve_number_generator/processing/config.py @@ -1,7 +1,9 @@ # Constants -PLUGIN_VERSION = "2.1.3" +PLUGIN_VERSION = "2.2.0" -REGISTRATION_FORM_LINK = "https://docs.google.com/forms/d/e/1FAIpQLSe-X-OR6tFvULP6oiiPK3M49-v07sjtxTu8md9XAuBOwxk7Xg/formResponse" +REGISTRATION_FORM_LINK = ( + "https://docs.google.com/forms/d/e/1FAIpQLSe-X-OR6tFvULP6oiiPK3M49-v07sjtxTu8md9XAuBOwxk7Xg/formResponse" +) REGISTRATION_FORM_ENRIES = { "name": "entry.1135373624", @@ -19,9 +21,7 @@ "SSURGO_Soil": "https://sdmdataaccess.sc.egov.usda.gov/Spatial/SDMWGS84GEOGRAPHIC.wfs?SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=mapunitpolyextended&SRSNAME=EPSG:4326&BBOX={}", } -GLOBAL_ESA_ISRIC = { - "ISRIC_CLAY": "/vsicurl/https://files.isric.org/soilgrids/latest/data/clay/clay_0-5cm_mean.vrt" -} +GLOBAL_ESA_ISRIC = {"ISRIC_CLAY": "/vsicurl/https://files.isric.org/soilgrids/latest/data/clay/clay_0-5cm_mean.vrt"} MESSAGE_URL = "https://gist.githubusercontent.com/ar-siddiqui/2260461cfd0107150840ab6fb4f83516/raw"