Skip to content
This repository has been archived by the owner on Jan 20, 2025. It is now read-only.

Commit

Permalink
Merge pull request #21 from mundialis/typo
Browse files Browse the repository at this point in the history
Fix whitespaces
  • Loading branch information
mmacata authored Oct 30, 2024
2 parents 4861b14 + 8b5d0da commit b27f2df
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 33 deletions.
8 changes: 4 additions & 4 deletions r.slopeunits.clean/r.slopeunits.clean.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,25 +25,25 @@
# %option G_OPT_R_INPUT
# % key: demmap
# % description: Input digital elevation model
# % required : yes
# % required: yes
# %end

# %option G_OPT_R_INPUT
# % key: plainsmap
# % description: Input raster map of alluvial plains
# % required : no
# % required: no
# %end

# %option G_OPT_R_OUTPUT
# % key: slumap
# % description: Output Slope Units layer (the main output)
# % required : yes
# % required: yes
# %end

# %option G_OPT_R_OUTPUT
# % key: slumapclean
# % description: Output Slope Units layer, cleaned (the main output)
# % required : no
# % required: no
# %end

# %option
Expand Down
20 changes: 10 additions & 10 deletions r.slopeunits.create/r.slopeunits.create.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@
# %option G_OPT_R_INPUT
# % key: demmap
# % description: Input digital elevation model
# % required : yes
# % required: yes
# %end

# %option G_OPT_R_INPUT
# % key: plainsmap
# % description: Input raster map of alluvial plains
# % required : no
# % required: no
# %end

# %option G_OPT_R_OUTPUT
# % key: slumap
# % description: Output Slope Units layer (the main output)
# % required : yes
# % required: yes
# %end

# %option G_OPT_V_OUTPUT
Expand All @@ -47,48 +47,48 @@
# %option G_OPT_R_OUTPUT
# % key: circvarmap
# % description: Output Circular Variance layer
# % required : no
# % required: no
# %end

# %option G_OPT_R_OUTPUT
# % key: areamap
# % description: Output Area layer; values in square meters
# % required : no
# % required: no
# %end

# %option
# % key: thresh
# % type: double
# % description: Initial threshold (m^2).
# % required : yes
# % required: yes
# %end

# %option
# % key: areamin
# % type: double
# % description: Minimum area (m^2) below which the slope unit is not further segmented
# % required : yes
# % required: yes
# %end

# %option
# % key: areamax
# % type: double
# % description: Maximum area (m^2) above which the slope unit is segmented irrespective of aspect
# % required : no
# % required: no
# %end

# %option
# % key: cvmin
# % type: double
# % description: Minimum value of the circular variance (0.0-1.0) below which the slope unit is not further segmented
# % required : yes
# % required: yes
# %end

# %option
# % key: rf
# % type: integer
# % description: Factor used to iterativelly reduce initial threshold: newthresh=thresh-thresh/reductionfactor
# % required : yes
# % required: yes
# %end

# %option
Expand Down
12 changes: 6 additions & 6 deletions r.slopeunits.metrics/r.slopeunits.metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@
# %option G_OPT_R_INPUT
# % key: demmap
# % description: Input digital elevation model
# % required : yes
# % required: yes
# %end

# %option G_OPT_R_OUTPUT
# % key: slumapclean
# % description: Output Slope Units layer, cleaned (the main output)
# % required : yes
# % required: yes
# %end

# %option
Expand All @@ -51,27 +51,27 @@
# % key: areamin
# % type: double
# % description: Minimum area (m^2) below whitch the slope unit is not further segmented
# % required : yes
# % required: yes
# %end

# %option
# % key: cvmin
# % type: double
# % description: Minimum value of the circular variance (0.0-1.0) below whitch the slope unit is not further segmented
# % required : yes
# % required: yes
# %end

# %option
# % key: resolution
# % type: double
# % description: Resolution
# % required : yes
# % required: yes
# %end

# %option G_OPT_F_OUTPUT
# % key: outfile
# % description: Output file with metrics
# % required : no
# % required: no
# %end

import atexit
Expand Down
26 changes: 13 additions & 13 deletions r.slopeunits.optimize/r.slopeunits.optimize.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
# %option G_OPT_R_INPUT
# % key: demmap
# % description: Input digital elevation model
# % required : yes
# % required: yes
# %end

# %option G_OPT_R_INPUT
# % key: plainsmap
# % description: Input raster map of alluvial plains
# % required : yes
# % required: yes
# %end

# %option G_OPT_V_INPUT
Expand All @@ -42,36 +42,36 @@
# %option G_OPT_R_OUTPUT
# % key: slumap
# % description: Slope Units layer (the main output of r.slopeunits.create)
# % required : yes
# % required: yes
# % answer: su_tmp
# %end

# %option G_OPT_R_OUTPUT
# % key: slumapclean
# % description: Slope Units layer, cleaned (the main output of r.slopeunits.clean)
# % required : no
# % required: no
# % answer: su_tmp_cl
# %end

# %option
# % key: thresh
# % type: double
# % description: Initial threshold (m^2)
# % required : yes
# % required: yes
# %end

# %option
# % key: rf
# % type: integer
# % description: Factor used to iterativelly reduce initial threshold
# % required : yes
# % required: yes
# %end

# %option
# % key: maxiteration
# % type: integer
# % description: maximum number of iteration to do before stopped
# % required : yes
# % required: yes
# %end

# %option
Expand All @@ -87,19 +87,19 @@
# % type: double
# % answer: 0.05,0.25
# % description: Start search with these initial minimum and maximum values of the circular variance (0.0-1.0) below which the slope unit is not further segmented
# % multiple : no
# % key_desc : min,max
# % required : yes
# % multiple: no
# % key_desc: min,max
# % required: yes
# %end

# %option
# % key: areamin
# % type: double
# % answer: 50000.0,200000.0
# % description: Start search with these initial minimum and maximum values of the area (m^2) below which the slope unit is not further segmented
# % multiple : no
# % key_desc : min,max
# % required : yes
# % multiple: no
# % key_desc: min,max
# % required: yes
# %end

# %option
Expand Down

0 comments on commit b27f2df

Please sign in to comment.