Skip to content

Commit 70425f9

Browse files
authored
Merge pull request #116 from NOAA-OCM/features/gui_tweaks
Features/gui tweaks
2 parents aa159c6 + 8356290 commit 70425f9

2 files changed

Lines changed: 22 additions & 19 deletions

File tree

QNSPECT/processing/algorithms/run_analysis/run_erosion_analysis.py

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -626,15 +626,6 @@ def shortHelpString(self):
626626
<h3>Run Name</h3>
627627
<p>Name of the run. The algorithm will create a folder with this name and save all outputs and a configuration file in that folder.</p>
628628
629-
<h3>Elevation Raster</h3>
630-
<p>Elevation raster for the area of interest. The CRS can be in any units, but the <span style="color: #ff9800">elevation must be in meters</span>. The algorithm uses elevation data to calculate ratios, flow direction, and flow accumulation throughout a watershed.</p>
631-
632-
<h3>Hydrologic Soils Group Raster</h3>
633-
<p>Hydrologic Soil Group raster for the area of interest with following mapping {'A': 1, 'B': 2, 'C': 3, 'D':4, 'A/D':5, 'B/D':6, 'C/D':7, 'W':8, Null: 9}. The soil raster is used to generate runoff estimates using NRCS Curve Number method.</p>
634-
635-
<h3>K-factor Raster</h3>
636-
<p>Soil erodibility raster for the area of interest. The K-factor is used in RUSLE equation.</p>
637-
638629
<h3>Land Cover Raster</h3>
639630
<p>Land Cover/Classification raster for the area of interest. The algorithm uses Land Cover Raster and Lookup Table to determine each cell's erosion potential.</p>
640631
@@ -645,6 +636,18 @@ def shortHelpString(self):
645636
<p>Lookup table to relate each land cover class with Curve Number and C-Factor. The user can skip providing a lookup table if the land cover type is not custom; the algorithm will utilize the default lookup table for the land cover type selected in the previous option.</p>
646637
<p>To create a custom lookup table, use `Create Lookup Table Template` tool. The table must contain all land cover classes available in the land cover raster.</p>
647638
639+
<h3>Elevation Raster</h3>
640+
<p>Elevation raster for the area of interest. The CRS can be in any units, but the <span style="color: #ff9800">elevation must be in meters</span>. The algorithm uses elevation data to calculate ratios, flow direction, and flow accumulation throughout a watershed.</p>
641+
642+
<h3>R-Factor Raster</h3>
643+
<p>The rainfall-runoff erosivity factor (R-factor) quantifies the effects of raindrop impacts and reflects the amount and rate of runoff associated with the rain. R-factor raster data for the coterminous United States and six of the main Hawaiian Islands are available from the NOAA Office for Coastal Management. For areas not covered by these data, a method to calculate R-factor is described in chapter 2 of the USDA Handbook Number 703 (Wischmeier and Smith, 1978)<a href="https://www.ars.usda.gov/ARSUserFiles/64080530/RUSLE/AH_703.pdf">PDF, 21.4 MB</a>.</p>
644+
645+
<h3>Hydrologic Soils Group Raster</h3>
646+
<p>Hydrologic Soil Group raster for the area of interest with following mapping {'A': 1, 'B': 2, 'C': 3, 'D':4, 'A/D':5, 'B/D':6, 'C/D':7, 'W':8, Null: 9}. The soil raster is used to generate runoff estimates using NRCS Curve Number method.</p>
647+
648+
<h3>K-factor Raster</h3>
649+
<p>Soil erodibility raster for the area of interest. The K-factor is used in RUSLE equation.</p>
650+
648651
<h2>Advanced Parameters</h2>
649652
650653
<!--h3 >Use Multi Flow Direction [MFD] Routing</h3-->

QNSPECT/processing/algorithms/run_analysis/run_pollution_analysis.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -504,16 +504,6 @@ def shortHelpString(self):
504504
<h2>Input Parameters</h2>
505505
<h3>Run Name</h3>
506506
<p>Name of the run. The algorithm will create a folder with this name and save all outputs and a configuration file in that folder.</p>
507-
<h3>Elevation Raster</h3>
508-
<p>Elevation raster for the area of interest. This can be in any elevation unit. The algorithm only uses elevation data to calculate flow direction and flow accumulation throughout a watershed. </p>
509-
<h3>Soil Raster</h3>
510-
<p>Hydrologic Soil Group raster for the area of interest with following mapping <code>{'A': 1, 'B': 2, 'C': 3, 'D':4, 'A/D':5, 'B/D':6, 'C/D':7, 'W':8, Null: 9}</code>. The soil raster is used to generate runoff estimates using NRCS Curve Number method.</p>
511-
<h3>Precipitation Raster</h3>
512-
<p>Precipitation amounts in inches or millimeters for the area of interest. The precipitation values are used to calculate access runoff.</p>
513-
<h3>Precipitation Raster Units</h3>
514-
<p>Units of the precipitation raster, inches or millimeters.</p>
515-
<h3>Number of Raining Days</h3>
516-
<p>This field indicates the average number of days rain occurs in one year in the area of interest. A raining day is defined as a day on which there was enough rain to produce runoff. A higher number of raining days reduces runoff volume by increasing total retention. A value of 1 raining day can be used to simulate runoff from a single event. </p>
517507
<h3>Land Cover Raster</h3>
518508
<p>Land Cover/Classification raster for the area of interest. The algorithm uses Land Cover Raster and Lookup Table to determine each cell's runoff and pollution potential.</p>
519509
<h3>Land Cover Type</h3>
@@ -522,6 +512,16 @@ def shortHelpString(self):
522512
<p>Lookup table to relate each land cover class with Curve Number and pollutant load. The user can skip providing a lookup table if the land cover
523513
type is not custom; the algorithm will utilize the default lookup table for the land cover type selected in the previous option.
524514
To create a custom lookup table, use `Create Lookup Table Template` tool. The table must contain all land cover classes available in the land cover raster and all pollutants that have Output = Y in the `Pollutant Outputs` parameter.</p>
515+
<h3>Elevation Raster</h3>
516+
<p>Elevation raster for the area of interest. This can be in any elevation unit. The algorithm only uses elevation data to calculate flow direction and flow accumulation throughout a watershed. </p>
517+
<h3>Precipitation Raster</h3>
518+
<p>Precipitation amounts in inches or millimeters for the area of interest. The precipitation values are used to calculate access runoff.</p>
519+
<h3>Precipitation Raster Units</h3>
520+
<p>Units of the precipitation raster, inches or millimeters.</p>
521+
<h3>Number of Raining Days</h3>
522+
<p>This field indicates the average number of days rain occurs in one year in the area of interest. A raining day is defined as a day on which there was enough rain to produce runoff. A higher number of raining days reduces runoff volume by increasing total retention. A value of 1 raining day can be used to simulate runoff from a single event. </p>
523+
<h3>Soil Raster</h3>
524+
<p>Hydrologic Soil Group raster for the area of interest with following mapping <code>{'A': 1, 'B': 2, 'C': 3, 'D':4, 'A/D':5, 'B/D':6, 'C/D':7, 'W':8, Null: 9}</code>. The soil raster is used to generate runoff estimates using NRCS Curve Number method.</p>
525525
<h3>Pollutant Outputs</h3>
526526
<p>In addition to the runoff, the algorithm will output the following rasters for each pollutant added here with Output column as Y:
527527
- Local (per cell) pollutant load [mg]

0 commit comments

Comments
 (0)