From 1c061b3364898f00a9ce8880f2d1c1f792573601 Mon Sep 17 00:00:00 2001 From: Joshua Gilbert Date: Tue, 25 Jun 2024 12:04:46 -0600 Subject: [PATCH] Changes to metric definitions --- QRiS/metrics/active_channel_count.json | 5 ++-- QRiS/metrics/bar_density.json | 16 +++------- QRiS/metrics/channel_head_density.json | 5 ++-- QRiS/metrics/channel_sinuosity.json | 5 ++-- QRiS/metrics/confluence_density.json | 5 ++-- QRiS/metrics/dam_density.json | 29 ++++--------------- QRiS/metrics/diffluence_density.json | 5 ++-- QRiS/metrics/jam_density.json | 25 ++-------------- QRiS/metrics/percent_free_flowing.json | 5 ++-- QRiS/metrics/percent_inundated.json | 5 ++-- QRiS/metrics/percent_overflow.json | 5 ++-- QRiS/metrics/percent_ponded.json | 7 +++-- QRiS/metrics/percent_riparian_vegetation.json | 5 ++-- QRiS/metrics/pool_density.json | 14 ++------- QRiS/metrics/primary_channel_length.json | 2 +- QRiS/metrics/relative_flow_length.json | 5 ++-- QRiS/metrics/riffle_density.json | 14 ++------- 17 files changed, 54 insertions(+), 103 deletions(-) diff --git a/QRiS/metrics/active_channel_count.json b/QRiS/metrics/active_channel_count.json index 02bd86b5..aa4d4f0b 100644 --- a/QRiS/metrics/active_channel_count.json +++ b/QRiS/metrics/active_channel_count.json @@ -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": [ diff --git a/QRiS/metrics/bar_density.json b/QRiS/metrics/bar_density.json index 0a53685e..ce10d551 100644 --- a/QRiS/metrics/bar_density.json +++ b/QRiS/metrics/bar_density.json @@ -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": [ @@ -20,15 +21,6 @@ "Mound" ] } - }, - { - "layer_name": "geomorphic_unit_extents", - "attribute_filter": { - "field_name": "Type 2 Tier", - "values": [ - "Mound" - ] - } } ], "normalization": "centerline" diff --git a/QRiS/metrics/channel_head_density.json b/QRiS/metrics/channel_head_density.json index 1ff021cd..e5b9678f 100644 --- a/QRiS/metrics/channel_head_density.json +++ b/QRiS/metrics/channel_head_density.json @@ -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": [ diff --git a/QRiS/metrics/channel_sinuosity.json b/QRiS/metrics/channel_sinuosity.json index 905c0302..641ce3bf 100644 --- a/QRiS/metrics/channel_sinuosity.json +++ b/QRiS/metrics/channel_sinuosity.json @@ -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": [ diff --git a/QRiS/metrics/confluence_density.json b/QRiS/metrics/confluence_density.json index ee59fc72..535418a2 100644 --- a/QRiS/metrics/confluence_density.json +++ b/QRiS/metrics/confluence_density.json @@ -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": [ diff --git a/QRiS/metrics/dam_density.json b/QRiS/metrics/dam_density.json index 607e0b03..b87b9980 100644 --- a/QRiS/metrics/dam_density.json +++ b/QRiS/metrics/dam_density.json @@ -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": [ { @@ -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", diff --git a/QRiS/metrics/diffluence_density.json b/QRiS/metrics/diffluence_density.json index 3c58386f..c05eaf05 100644 --- a/QRiS/metrics/diffluence_density.json +++ b/QRiS/metrics/diffluence_density.json @@ -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": [ diff --git a/QRiS/metrics/jam_density.json b/QRiS/metrics/jam_density.json index 7abc806c..b619ba34 100644 --- a/QRiS/metrics/jam_density.json +++ b/QRiS/metrics/jam_density.json @@ -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": [ @@ -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" diff --git a/QRiS/metrics/percent_free_flowing.json b/QRiS/metrics/percent_free_flowing.json index 991c324d..8a2358ce 100644 --- a/QRiS/metrics/percent_free_flowing.json +++ b/QRiS/metrics/percent_free_flowing.json @@ -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": [ diff --git a/QRiS/metrics/percent_inundated.json b/QRiS/metrics/percent_inundated.json index 05c69205..a22d13c6 100644 --- a/QRiS/metrics/percent_inundated.json +++ b/QRiS/metrics/percent_inundated.json @@ -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": [ diff --git a/QRiS/metrics/percent_overflow.json b/QRiS/metrics/percent_overflow.json index c81fef3f..8bef9267 100644 --- a/QRiS/metrics/percent_overflow.json +++ b/QRiS/metrics/percent_overflow.json @@ -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": [ diff --git a/QRiS/metrics/percent_ponded.json b/QRiS/metrics/percent_ponded.json index 560a3df0..6f889f5a 100644 --- a/QRiS/metrics/percent_ponded.json +++ b/QRiS/metrics/percent_ponded.json @@ -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": [ diff --git a/QRiS/metrics/percent_riparian_vegetation.json b/QRiS/metrics/percent_riparian_vegetation.json index fc61acf1..b10ce2d1 100644 --- a/QRiS/metrics/percent_riparian_vegetation.json +++ b/QRiS/metrics/percent_riparian_vegetation.json @@ -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": [ diff --git a/QRiS/metrics/pool_density.json b/QRiS/metrics/pool_density.json index 59f51b4c..4f3a7f65 100644 --- a/QRiS/metrics/pool_density.json +++ b/QRiS/metrics/pool_density.json @@ -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": [ @@ -19,15 +20,6 @@ "Bowl" ] } - }, - { - "layer_name": "geomorphic_unit_extents", - "attribute_filter": { - "field_name": "Type 2 Tier", - "values": [ - "Bowl" - ] - } } ], "normalization": "centerline" diff --git a/QRiS/metrics/primary_channel_length.json b/QRiS/metrics/primary_channel_length.json index 54ac8b94..0912c5e9 100644 --- a/QRiS/metrics/primary_channel_length.json +++ b/QRiS/metrics/primary_channel_length.json @@ -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 }, diff --git a/QRiS/metrics/relative_flow_length.json b/QRiS/metrics/relative_flow_length.json index fbb3609c..be213313 100644 --- a/QRiS/metrics/relative_flow_length.json +++ b/QRiS/metrics/relative_flow_length.json @@ -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": [ diff --git a/QRiS/metrics/riffle_density.json b/QRiS/metrics/riffle_density.json index f2e4fe67..35c76a1f 100644 --- a/QRiS/metrics/riffle_density.json +++ b/QRiS/metrics/riffle_density.json @@ -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": [ @@ -19,15 +20,6 @@ "Saddle" ] } - }, - { - "layer_name": "geomorphic_unit_extents", - "attribute_filter": { - "field_name": "Type 2 Tier", - "values": [ - "Saddle" - ] - } } ], "normalization": "centerline"