Skip to content

Commit

Permalink
inital qris metric definition files
Browse files Browse the repository at this point in the history
  • Loading branch information
KellyMWhitehead committed Jun 13, 2024
1 parent 366ed50 commit 1cc4897
Show file tree
Hide file tree
Showing 18 changed files with 463 additions and 6 deletions.
19 changes: 19 additions & 0 deletions QRiS/metrics/active_channel_count.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"$schema": "../qris_metrics.schema.json",
"name": "Number of Active Channels",
"machine_name": "active_channel_count",
"version": 1,
"calculation_name": "count",
"default_level": "METRIC",
"description": "",
"metadata": {
"min_value": 0
},
"metric_params": {
"layers": [
{
"layer_name": "centerlines"
}
]
}
}
36 changes: 36 additions & 0 deletions QRiS/metrics/bar_density.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{

"$schema": "../qris_metrics.schema.json",
"name": "Bar Density",
"machine_name": "bar_density",
"version": 1,
"calculation_name": "count",
"default_level": "METRIC",
"description": "",
"metadata": {
"min_value": 0
},
"metric_params": {
"layers": [
{
"layer_name": "geomorphic_units",
"attribute_filter": {
"field_name": "Type 2 Tier",
"values": [
"Mound"
]
}
},
{
"layer_name": "geomorphic_unit_extents",
"attribute_filter": {
"field_name": "Type 2 Tier",
"values": [
"Mound"
]
}
}
],
"normalization": "centerline"
}
}
26 changes: 26 additions & 0 deletions QRiS/metrics/channel_head_density.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"$schema": "../qris_metrics.schema.json",
"name": "Floodplain Channel Head Density",
"machine_name": "channel_head_density",
"version": 1,
"calculation_name": "count",
"default_level": "METRIC",
"description": "",
"metadata": {
"min_value": 0
},
"metric_params": {
"layers": [
{
"layer_name": "channel_junctions",
"attribute_filter": {
"field_name": "Type",
"values": [
"Channel Head"
]
}
}
],
"normalization": "centerline"
}
}
26 changes: 26 additions & 0 deletions QRiS/metrics/channel_sinuosity.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"$schema": "../qris_metrics.schema.json",
"name": "Channel Sinuosity",
"machine_name": "channel_sinuosity",
"version": 1,
"calculation_name": "sinuosity",
"default_level": "METRIC",
"description": "",
"metadata": {
"min_value": 0
},
"metric_params": {
"layers": [
{
"layer_name": "centerlines",
"attribute_filter": {
"field_name": "Type",
"values": [
"Primary"

]
}
}
]
}
}
27 changes: 27 additions & 0 deletions QRiS/metrics/confluence_density.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"$schema": "../qris_metrics.schema.json",
"name": "Confluence Density",
"machine_name": "confluence_density",
"version": 1,
"calculation_name": "count",
"default_level": "METRIC",
"description": "",
"metadata": {
"min_value": 0
},
"metric_params": {
"layers": [
{
"layer_name": "channel_junctions",
"attribute_filter": {
"field_name": "Type",
"values": [
"Confluence (Anabranch)",
"Confluence (Tributary)"
]
}
}
],
"normalization": "centerline"
}
}
9 changes: 4 additions & 5 deletions QRiS/metrics/dam_density.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
{
"$schema": "../qris_metrics.schema.json",
"name": "Dam Density",
"machine_name": "dam_density",
"machine_name": "dam_density",
"version": 1,
"calculation_name": "count",
"default_level": "METRIC",
"units": "meters",
"description": "The number of dams per square kilometer.",
"definition_url": "https://whatever.com",
"description": "",
"metadata": {},
"metric_params": {
"layers": [
Expand Down Expand Up @@ -43,7 +42,7 @@
}
}
],
"normalization": "CENTERLINE",
"normalization": "centerline",
"surfaces": [
{
"surface_name": "dem",
Expand Down
26 changes: 26 additions & 0 deletions QRiS/metrics/diffluence_density.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"$schema": "../qris_metrics.schema.json",
"name": "Diffluence Density",
"machine_name": "diffluence_density",
"version": 1,
"calculation_name": "count",
"default_level": "METRIC",
"description": "",
"metadata": {
"min_value": 0
},
"metric_params": {
"layers": [
{
"layer_name": "channel_junctions",
"attribute_filter": {
"field_name": "Type",
"values": [
"Diffluence"
]
}
}
],
"normalization": "centerline"
}
}
48 changes: 48 additions & 0 deletions QRiS/metrics/jam_density.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"$schema": "../qris_metrics.schema.json",
"name": "Jam Density",
"machine_name": "jam_density",
"version": 1,
"calculation_name": "count",
"default_level": "METRIC",
"description": "",
"metadata": {
"min_value": 0
},
"metric_params": {
"layers": [
{
"layer_name": "structural_elements_points",
"count_field": "Structure Count",
"attribute_filter": {
"field_name": "Type",
"values": [
"Jam",
"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"
}
}
30 changes: 30 additions & 0 deletions QRiS/metrics/percent_free_flowing.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"$schema": "../qris_metrics.schema.json",
"name": "% Free Flowing",
"machine_name": "percent_free_flowing",
"version": 1,
"calculation_name": "area_proportion",
"default_level": "METRIC",
"description": "",
"metadata": {
"min_value": 0
},
"metric_params": {
"layers": [
{
"layer_name": "inundation_extents",
"usage": "numerator",
"attribute_filter": {
"field_name": "Extent Type",
"values": [
"Free Flowing"
]
}
},
{
"layer_name":"inundation_extents",
"usage": "denominator"
}
]
}
}
20 changes: 20 additions & 0 deletions QRiS/metrics/percent_inundated.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"$schema": "../qris_metrics.schema.json",
"name": "% Inundated",
"machine_name": "percent_inundated",
"version": 1,
"calculation_name": "area_proportion",
"default_level": "METRIC",
"description": "",
"metadata": {
"min_value": 0
},
"metric_params": {
"layers": [
{
"layer_name": "inundation_extents",
"usage": "numerator"
}
]
}
}
30 changes: 30 additions & 0 deletions QRiS/metrics/percent_overflow.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"$schema": "../qris_metrics.schema.json",
"name": "% Overflow",
"machine_name": "percent_overflow",
"version": 1,
"calculation_name": "area_proportion",
"default_level": "METRIC",
"description": "",
"metadata": {
"min_value": 0
},
"metric_params": {
"layers": [
{
"layer_name": "inundation_extents",
"usage": "numerator",
"attribute_filter": {
"field_name": "Extent Type",
"values": [
"Overflow"
]
}
},
{
"layer_name":"inundation_extents",
"usage": "denominator"
}
]
}
}
30 changes: 30 additions & 0 deletions QRiS/metrics/percent_ponded.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"$schema": "../qris_metrics.schema.json",
"name": "% Ponded",
"machine_name": "percent_ponded",
"version": 1,
"calculation_name": "area_proportion",
"default_level": "METRIC",
"description": "",
"metadata": {
"min_value": 0
},
"metric_params": {
"layers": [
{
"layer_name": "inundation_extents",
"usage": "numerator",
"attribute_filter": {
"field_name": "Extent Type",
"values": [
"Ponded"
]
}
},
{
"layer_name":"inundation_extents",
"usage": "denominator"
}
]
}
}
20 changes: 20 additions & 0 deletions QRiS/metrics/percent_riparian_vegetation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"$schema": "../qris_metrics.schema.json",
"name": "% Riparian Vegetation",
"machine_name": "percent_riparian_vegetation",
"version": 1,
"calculation_name": "area_proportion",
"default_level": "METRIC",
"description": "",
"metadata": {
"min_value": 0
},
"metric_params": {
"layers": [
{
"layer_name": "vegetation_extents",
"usage": "numerator"
}
]
}
}
Loading

0 comments on commit 1cc4897

Please sign in to comment.