Skip to content

Commit

Permalink
Changes to metric definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
Jdgilby authored and KellyMWhitehead committed Jul 2, 2024
1 parent 4bd5857 commit 1c061b3
Show file tree
Hide file tree
Showing 17 changed files with 54 additions and 103 deletions.
5 changes: 3 additions & 2 deletions QRiS/metrics/active_channel_count.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
"version": 1,
"calculation_name": "count",
"default_level": "Metric",
"description": "",
"description": "The total number of active channels (primary and non-primary) within the riverscape sample frame",
"metadata": {
"min_value": 0
"min_value": 0,
"precison": 2
},
"metric_params": {
"layers": [
Expand Down
16 changes: 4 additions & 12 deletions QRiS/metrics/bar_density.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
{

"$schema": "../qris_metrics.schema.json",
"name": "Bar Density",
"name": "Mid Channel Bar Density",
"machine_name": "bar_density",
"version": 1,
"calculation_name": "count",
"default_level": "Metric",
"description": "",
"description": "The number of mid-channel bars per km of riverscape",
"metadata": {
"min_value": 0
"min_value": 0,
"precision": 2
},
"metric_params": {
"layers": [
Expand All @@ -20,15 +21,6 @@
"Mound"
]
}
},
{
"layer_name": "geomorphic_unit_extents",
"attribute_filter": {
"field_name": "Type 2 Tier",
"values": [
"Mound"
]
}
}
],
"normalization": "centerline"
Expand Down
5 changes: 3 additions & 2 deletions QRiS/metrics/channel_head_density.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
"version": 1,
"calculation_name": "count",
"default_level": "Metric",
"description": "",
"description": "The number of channel heads per km of riverscape",
"metadata": {
"min_value": 0
"min_value": 0,
"precison": 2
},
"metric_params": {
"layers": [
Expand Down
5 changes: 3 additions & 2 deletions QRiS/metrics/channel_sinuosity.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
"version": 1,
"calculation_name": "sinuosity",
"default_level": "Metric",
"description": "",
"description": "The sinuosity of the primary channel in the riverscape sample frame",
"metadata": {
"min_value": 0
"min_value": 0,
"precision": 3
},
"metric_params": {
"layers": [
Expand Down
5 changes: 3 additions & 2 deletions QRiS/metrics/confluence_density.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
"version": 1,
"calculation_name": "count",
"default_level": "Metric",
"description": "",
"description": "The number of channel confluences per km of riverscape",
"metadata": {
"min_value": 0
"min_value": 0,
"precison": 2
},
"metric_params": {
"layers": [
Expand Down
29 changes: 6 additions & 23 deletions QRiS/metrics/dam_density.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@
"version": 1,
"calculation_name": "count",
"default_level": "Metric",
"description": "",
"metadata": {},
"description": "The number of beaver dams per km of riverscape ",
"metadata": {
"min_value": 0,
"precision": 2
},
"metric_params": {
"layers": [
{
Expand All @@ -19,27 +22,7 @@
"Dam",
"Dam Complex"
]
}
},
{
"layer_name": "structural_elements_lines",
"attribute_filter": {
"field_name": "Type",
"values": [
"Dam",
"Dam Complex"
]
}
},
{
"layer_name": "structural_elements_areas",
"attribute_filter": {
"field_name": "Type",
"values": [
"Dam",
"Dam Complex"
]
}
}
}
],
"normalization": "centerline",
Expand Down
5 changes: 3 additions & 2 deletions QRiS/metrics/diffluence_density.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
"version": 1,
"calculation_name": "count",
"default_level": "Metric",
"description": "",
"description": "The number of channel diffluences per km of riverscape",
"metadata": {
"min_value": 0
"min_value": 0,
"precision": 2
},
"metric_params": {
"layers": [
Expand Down
25 changes: 3 additions & 22 deletions QRiS/metrics/jam_density.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
"version": 1,
"calculation_name": "count",
"default_level": "Metric",
"description": "",
"description": "The number of jams per km of riverscape",
"metadata": {
"min_value": 0
"min_value": 0,
"precision": 2
},
"metric_params": {
"layers": [
Expand All @@ -21,26 +22,6 @@
"Jam Complex"
]
}
},
{
"layer_name": "structural_elements_lines",
"attribute_filter": {
"field_name": "Type",
"values": [
"Jam",
"Jam Complex"
]
}
},
{
"layer_name": "structural_elements_areas",
"attribute_filter": {
"field_name": "Type",
"values": [
"Jam",
"Jam Complex"
]
}
}
],
"normalization": "centerline"
Expand Down
5 changes: 3 additions & 2 deletions QRiS/metrics/percent_free_flowing.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
"version": 1,
"calculation_name": "area_proportion",
"default_level": "Metric",
"description": "",
"description": "The percent of the inundation extents that is free flowing",
"metadata": {
"min_value": 0
"min_value": 0,
"precison": 2
},
"metric_params": {
"layers": [
Expand Down
5 changes: 3 additions & 2 deletions QRiS/metrics/percent_inundated.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
"version": 1,
"calculation_name": "area_proportion",
"default_level": "Metric",
"description": "",
"description": "The percent of the riverscape that is inundated at baseflow",
"metadata": {
"min_value": 0
"min_value": 0,
"precision": 2
},
"metric_params": {
"layers": [
Expand Down
5 changes: 3 additions & 2 deletions QRiS/metrics/percent_overflow.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
"version": 1,
"calculation_name": "area_proportion",
"default_level": "Metric",
"description": "",
"description": "The percent of the inundation extents that is overflow",
"metadata": {
"min_value": 0
"min_value": 0,
"precision": 2
},
"metric_params": {
"layers": [
Expand Down
7 changes: 4 additions & 3 deletions QRiS/metrics/percent_ponded.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"$schema": "../qris_metrics.schema.json",
"name": "% Ponded",
"name": "% Backwater/Ponded",
"machine_name": "percent_ponded",
"version": 1,
"calculation_name": "area_proportion",
"default_level": "Metric",
"description": "",
"description": "The percent of the inundation extents that is backwater/ponded",
"metadata": {
"min_value": 0
"min_value": 0,
"precison": 2
},
"metric_params": {
"layers": [
Expand Down
5 changes: 3 additions & 2 deletions QRiS/metrics/percent_riparian_vegetation.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
"version": 1,
"calculation_name": "area_proportion",
"default_level": "Metric",
"description": "",
"description": "The percent of the riverscape that is riparian vegetation",
"metadata": {
"min_value": 0
"min_value": 0,
"precision": 2
},
"metric_params": {
"layers": [
Expand Down
14 changes: 3 additions & 11 deletions QRiS/metrics/pool_density.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
"version": 1,
"calculation_name": "count",
"default_level": "Metric",
"description": "",
"description": "The number of pools per km of riverscape",
"metadata": {
"min_value": 0
"min_value": 0,
"precison": 2
},
"metric_params": {
"layers": [
Expand All @@ -19,15 +20,6 @@
"Bowl"
]
}
},
{
"layer_name": "geomorphic_unit_extents",
"attribute_filter": {
"field_name": "Type 2 Tier",
"values": [
"Bowl"
]
}
}
],
"normalization": "centerline"
Expand Down
2 changes: 1 addition & 1 deletion QRiS/metrics/primary_channel_length.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"version": 1,
"calculation_name": "length",
"default_level": "Metric",
"description": "",
"description": "Length of the primary channel within the riverscape sample frame",
"metadata": {
"min_value": 0
},
Expand Down
5 changes: 3 additions & 2 deletions QRiS/metrics/relative_flow_length.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
"version": 1,
"calculation_name": "length",
"default_level": "Metric",
"description": "",
"description": "The sum of all channel lengths per km of riverscape",
"metadata": {
"min_value": 0
"min_value": 0,
"precison": 2
},
"metric_params": {
"layers": [
Expand Down
14 changes: 3 additions & 11 deletions QRiS/metrics/riffle_density.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
"version": 1,
"calculation_name": "count",
"default_level": "Metric",
"description": "",
"description": "The number of riffles per km of riverscape",
"metadata": {
"min_value": 0
"min_value": 0,
"precison": 2
},
"metric_params": {
"layers": [
Expand All @@ -19,15 +20,6 @@
"Saddle"
]
}
},
{
"layer_name": "geomorphic_unit_extents",
"attribute_filter": {
"field_name": "Type 2 Tier",
"values": [
"Saddle"
]
}
}
],
"normalization": "centerline"
Expand Down

0 comments on commit 1c061b3

Please sign in to comment.