Skip to content

Commit

Permalink
fix typos, add default for fnk_column
Browse files Browse the repository at this point in the history
  • Loading branch information
juleshaas committed Mar 25, 2024
1 parent 248ccf6 commit 0a38379
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
# % key: fnk_column
# % required: yes
# % label: Name of integer column containing FNK-code
# % answer: code_2020
# % guisection: Input
# %end

Expand All @@ -74,32 +75,32 @@
# %end

# %option
# % key: used_thesh
# % key: used_thresh
# % required: yes
# % multiple: no
# % label: Set if the percentile or the threshold of the NDVI should be used: ndvi_thres or ndvi_perc
# % options: ndvi_thres,ndvi_perc
# % answer: ndvi_thres
# % label: Set if the percentile or the threshold of the NDVI should be used: ndvi_thresh or ndvi_perc
# % options: ndvi_thresh,ndvi_perc
# % answer: ndvi_thresh
# % guisection: Parameters
# %end

# %option
# % key: ndvi_perc
# % key: ndvi_thresh
# % type: integer
# % required: no
# % multiple: no
# % label: NDVI percentile in vegetated areas to use for thresholding
# % answer: 5
# % label: Fix NDVI threshold (on a scale from 0-255) instead of estimated value from ndvi_perc and FNK
# % answer: 145
# % guisection: Parameters
# %end

# %option
# % key: ndvi_thresh
# % key: ndvi_perc
# % type: integer
# % required: no
# % multiple: no
# % label: Fix NDVI threshold (on a scale from 0-255) instead of estimated value from ndvi_perc and FNK
# % answer: 145
# % label: NDVI percentile in vegetated areas to use for thresholding
# % answer: 5
# % guisection: Parameters
# %end

Expand Down Expand Up @@ -134,10 +135,6 @@
# % guisection: Parameters
# %end

# %rules
# % exclusive: ndvi_perc, ndvi_thresh
# % required: ndvi_perc, ndvi_thresh
# %end

import atexit
import os
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,32 +90,32 @@
# %end

# %option
# % key: used_thesh
# % key: used_thresh
# % required: yes
# % multiple: no
# % label: Set if the percentile or the threshold of the Green-Blue-Ratio should be used: ndvi_thres or ndvi_perc
# % label: Set if the percentile or the threshold of the Green-Blue-Ratio should be used: gb_thresh or gb_perc
# % options: gb_thresh,gb_perc
# % answer: gb_thresh
# % guisection: Parameters
# %end

# %option
# % key: gb_perc
# % key: gb_thresh
# % type: integer
# % required: no
# % multiple: no
# % label: Green-Blue-Ratio percentile in green areas to use for thresholding
# % answer: 25
# % label: Fix Green-Blue-Ratio threshold (on a scale from 0-255)
# % answer: 145
# % guisection: Parameters
# %end

# %option
# % key: gb_thresh
# % key: gb_perc
# % type: integer
# % required: no
# % multiple: no
# % label: Fix Green-Blue-Ratio threshold (on a scale from 0-255)
# % answer: 145
# % label: Green-Blue-Ratio percentile in green areas to use for thresholding
# % answer: 25
# % guisection: Parameters
# %end

Expand Down

0 comments on commit 0a38379

Please sign in to comment.