Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor fixes, mostly precision misspelled #736

Merged
merged 1 commit into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion QRiS/metrics/active_channel_count.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"description": "The total number of active channels (primary and non-primary) within the riverscape sample frame",
"metadata": {
"min_value": 0,
"precison": 2
"precision": 1
},
"metric_params": {
"layers": [
Expand Down
2 changes: 1 addition & 1 deletion QRiS/metrics/channel_head_count.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"description": "The number of channel heads in containing sample frame",
"metadata": {
"min_value": 0,
"precison": 2
"precision": 1
},
"metric_params": {
"layers": [
Expand Down
2 changes: 1 addition & 1 deletion QRiS/metrics/channel_head_density.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"description": "The number of channel heads per km of riverscape",
"metadata": {
"min_value": 0,
"precison": 2
"precision": 3
},
"metric_params": {
"layers": [
Expand Down
2 changes: 1 addition & 1 deletion QRiS/metrics/confluence_count.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"description": "The number of channel confluences in containing sample frame",
"metadata": {
"min_value": 0,
"precison": 2
"precision": 1
},
"metric_params": {
"layers": [
Expand Down
2 changes: 1 addition & 1 deletion QRiS/metrics/confluence_density.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"description": "The number of channel confluences per km of riverscape",
"metadata": {
"min_value": 0,
"precison": 2
"precision": 3
},
"metric_params": {
"layers": [
Expand Down
2 changes: 1 addition & 1 deletion QRiS/metrics/dam_count.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"description": "The number of dams in each sample frame",
"metadata": {
"min_value": 0,
"precision": 2
"precision": 1
},
"metric_params": {
"layers": [
Expand Down
2 changes: 1 addition & 1 deletion QRiS/metrics/dam_density.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"description": "The number of beaver dams per km of riverscape ",
"metadata": {
"min_value": 0,
"precision": 2
"precision": 3
},
"metric_params": {
"layers": [
Expand Down
2 changes: 1 addition & 1 deletion QRiS/metrics/diffluence_count.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"description": "The number of channel diffluences in the containing sample frame",
"metadata": {
"min_value": 0,
"precision": 2
"precision": 1
},
"metric_params": {
"layers": [
Expand Down
2 changes: 1 addition & 1 deletion QRiS/metrics/diffluence_density.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"description": "The number of channel diffluences per km of riverscape",
"metadata": {
"min_value": 0,
"precision": 2
"precision": 3
},
"metric_params": {
"layers": [
Expand Down
2 changes: 1 addition & 1 deletion QRiS/metrics/flow_length.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"description": "The sum of all channel lengths in a sample frame",
"metadata": {
"min_value": 0,
"precison": 2
"precision": 2
},
"metric_params": {
"layers": [
Expand Down
11 changes: 10 additions & 1 deletion QRiS/metrics/jam_count.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"description": "The number of jams in each sample frame",
"metadata": {
"min_value": 0,
"precision": 2
"precision": 1
},
"metric_params": {
"layers": [
Expand All @@ -22,6 +22,15 @@
"Jam Complex"
]
}
},
{
"layer_name": "structural_elements_areas",
"attribute_filter": {
"field_name": "Type",
"values": [
"Jam"
]
}
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion QRiS/metrics/jam_density.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"description": "The number of jams per km of riverscape",
"metadata": {
"min_value": 0,
"precision": 2
"precision": 3
},
"metric_params": {
"layers": [
Expand Down
2 changes: 1 addition & 1 deletion QRiS/metrics/mid_channel_bar_area.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"description": "The area of of mid channel bars in containing sample frame",
"metadata": {
"min_value": 0,
"precison": 2
"precision": 2
},
"metric_params": {
"layers": [
Expand Down
2 changes: 1 addition & 1 deletion QRiS/metrics/mid_channel_bar_count.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"description": "The number of mid channel bars in containing sample frame",
"metadata": {
"min_value": 0,
"precison": 2
"precision": 1
},
"metric_params": {
"layers": [
Expand Down
2 changes: 1 addition & 1 deletion QRiS/metrics/mid_channel_bar_density.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"description": "The number of mid channel bars per km of riverscape",
"metadata": {
"min_value": 0,
"precison": 2
"precision": 3
},
"metric_params": {
"layers": [
Expand Down
2 changes: 1 addition & 1 deletion QRiS/metrics/percent_free_flowing.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"description": "The percent of the inundation extents that is free flowing",
"metadata": {
"min_value": 0,
"precison": 2
"precision": 2
},
"metric_params": {
"layers": [
Expand Down
2 changes: 1 addition & 1 deletion QRiS/metrics/percent_ponded.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"description": "The percent of the inundation extents that is backwater/ponded",
"metadata": {
"min_value": 0,
"precison": 2
"precision": 2
},
"metric_params": {
"layers": [
Expand Down
2 changes: 1 addition & 1 deletion QRiS/metrics/pool_area.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"description": "The area of pools in containing sample frame",
"metadata": {
"min_value": 0,
"precison": 2
"precision": 2
},
"metric_params": {
"layers": [
Expand Down
2 changes: 1 addition & 1 deletion QRiS/metrics/pool_count.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"description": "The number of pools in containing sample frame",
"metadata": {
"min_value": 0,
"precison": 2
"precision": 1
},
"metric_params": {
"layers": [
Expand Down
2 changes: 1 addition & 1 deletion QRiS/metrics/pool_density.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"description": "The number of pools per km of riverscape",
"metadata": {
"min_value": 0,
"precison": 2
"precision": 3
},
"metric_params": {
"layers": [
Expand Down
3 changes: 2 additions & 1 deletion QRiS/metrics/primary_channel_length.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"default_level": "Metric",
"description": "Length of the primary channel within the riverscape sample frame",
"metadata": {
"min_value": 0
"min_value": 0,
"precison": 2
},
"metric_params": {
"layers": [
Expand Down
2 changes: 1 addition & 1 deletion QRiS/metrics/relative_flow_length.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"description": "The sum of all channel lengths per km of riverscape",
"metadata": {
"min_value": 0,
"precison": 2
"precision": 2
},
"metric_params": {
"layers": [
Expand Down
2 changes: 1 addition & 1 deletion QRiS/metrics/riffle_area.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"description": "The area of riffles in containing sample frame",
"metadata": {
"min_value": 0,
"precison": 2
"precision": 2
},
"metric_params": {
"layers": [
Expand Down
2 changes: 1 addition & 1 deletion QRiS/metrics/riffle_count.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"description": "The number of riffles in containing sample frame",
"metadata": {
"min_value": 0,
"precison": 2
"precision": 1
},
"metric_params": {
"layers": [
Expand Down
2 changes: 1 addition & 1 deletion QRiS/metrics/riffle_density.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"description": "The number of riffles per km of riverscape",
"metadata": {
"min_value": 0,
"precison": 2
"precision": 3
},
"metric_params": {
"layers": [
Expand Down
23 changes: 23 additions & 0 deletions QRiS/metrics/riverscape_area.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"$schema": "../qris_metrics.schema.json",
"calculation_name": "area",
"default_level": "Metric",
"description": "Area of the Riverscape Valley Bottom within the sample frame",
"machine_name": "riverscape_area",
"definition_url": "none",
"units":"",
"metadata": {
"min_value": 0,
"precision": 3
},
"metric_params": {
"layers": [
{
"layer_name": "valley_bottom",
"layer_source": "inputs"
}
]
},
"name": "Riverscape Area",
"version": 1
}
23 changes: 23 additions & 0 deletions QRiS/metrics/riverscape_length.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"$schema": "../qris_metrics.schema.json",
"calculation_name": "length",
"default_level": "Metric",
"description": "Length of the riverscape centerline within the sample frame",
"machine_name": "riverscape_length",
"definition_url": "none",
"units": "",
"metadata": {
"min_value": 0,
"precision": 3
},
"metric_params": {
"layers": [
{
"layer_name": "centerline",
"layer_source": "inputs"
}
]
},
"name": "Riverscape Length",
"version": 1
}
5 changes: 3 additions & 2 deletions QRiS/metrics/secondary_channel_length.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"$schema": "../qris_metrics.schema.json",
"name": "Primary Channel Length",
"name": "Secondary Channel Length",
"machine_name": "secondary_channel_length",
"version": 1,
"calculation_name": "length",
"default_level": "Metric",
"description": "Length of the secondary channels within the riverscape sample frame",
"metadata": {
"min_value": 0
"min_value": 0,
"precison": 2
},
"metric_params": {
"layers": [
Expand Down
Loading