Skip to content

Commit

Permalink
Changes due to new layer attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jdgilby authored and KellyMWhitehead committed Sep 6, 2024
1 parent d77d908 commit d775dfc
Show file tree
Hide file tree
Showing 19 changed files with 111 additions and 100 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"$schema": "../qris_metrics.schema.json",
"name": "Bar Area",
"machine_name": "bar_area",
"name": "Mid Channel Bar Area",
"machine_name": "mid_channel_bar_area",
"version": 1,
"calculation_name": "area",
"default_level": "Metric",
"description": "The area of bars in containing sample frame",
"description": "The area of of mid channel bars in containing sample frame",
"metadata": {
"min_value": 0,
"precison": 2
Expand All @@ -15,9 +15,9 @@
{
"layer_name": "geomorphic_unit_extents",
"attribute_filter": {
"field_name": "Type 2 Tier",
"field_name": "Type",
"values": [
"Mound"
"Mid Channel Bar"
]
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"$schema": "../qris_metrics.schema.json",
"name": "Bar Count",
"machine_name": "bar_count",
"name": "Mid Channel Bar Count",
"machine_name": "mid_channel_bar_count",
"version": 1,
"calculation_name": "count",
"default_level": "Metric",
"description": "The number of bars in containing sample frame",
"description": "The number of mid channel bars in containing sample frame",
"metadata": {
"min_value": 0,
"precison": 2
Expand All @@ -15,18 +15,18 @@
{
"layer_name": "geomorphic_units",
"attribute_filter": {
"field_name": "Type 2 Tier",
"field_name": "Type",
"values": [
"Mound"
"Mid Channel Bar"
]
}
},
{
"layer_name": "geomorphic_unit_extents",
"attribute_filter": {
"field_name": "Type 2 Tier",
"field_name": "Type",
"values": [
"Mound"
"Mid Channel Bar"
]
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
{
"$schema": "../qris_metrics.schema.json",
"name": "Bar Density",
"machine_name": "bar_density",
"version": 1,
"calculation_name": "count",
"default_level": "Metric",
"description": "The number of pools per km of riverscape",
"metadata": {
"min_value": 0,
"precison": 2
},
"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"
}
{
"$schema": "../qris_metrics.schema.json",
"name": "Mid Channel Bar Density",
"machine_name": "mid_channel_bar_density",
"version": 1,
"calculation_name": "count",
"default_level": "Metric",
"description": "The number of mid channel bars per km of riverscape",
"metadata": {
"min_value": 0,
"precison": 2
},
"metric_params": {
"layers": [
{
"layer_name": "geomorphic_units",
"attribute_filter": {
"field_name": "Type",
"values": [
"Mid Channel Bar"
]
}
},
{
"layer_name": "geomorphic_unit_extents",
"attribute_filter": {
"field_name": "Type",
"values": [
"Mid Channel Bar"
]
}
}
],
"normalization": "centerline"
}
}
6 changes: 6 additions & 0 deletions QRiS/metrics/percent_riparian_vegetation.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
"layers": [
{
"layer_name": "vegetation_extents",
"attribute_filter": {
"field_name": "Type",
"values": [
"Riparian"
]
},
"usage": "numerator"
}
]
Expand Down
7 changes: 4 additions & 3 deletions QRiS/metrics/pool_area.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@
{
"layer_name": "geomorphic_unit_extents",
"attribute_filter": {
"field_name": "Type 2 Tier",
"field_name": "Type",
"values": [
"Bowl",
"Trough"
"Pool",
"Pond",
"Chute"
]
}
}
Expand Down
14 changes: 8 additions & 6 deletions QRiS/metrics/pool_count.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,22 @@
{
"layer_name": "geomorphic_units",
"attribute_filter": {
"field_name": "Type 2 Tier",
"field_name": "Type",
"values": [
"Bowl",
"Trough"
"Pool",
"Pond",
"Chute"
]
}
},
{
"layer_name": "geomorphic_unit_extents",
"attribute_filter": {
"field_name": "Type 2 Tier",
"field_name": "Type",
"values": [
"Bowl",
"Trough"
"Pool",
"Pond",
"Chute"
]
}
}
Expand Down
14 changes: 8 additions & 6 deletions QRiS/metrics/pool_density.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,22 @@
{
"layer_name": "geomorphic_units",
"attribute_filter": {
"field_name": "Type 2 Tier",
"field_name": "Type",
"values": [
"Bowl",
"Trough"
"Pool",
"Pond",
"Chute"
]
}
},
{
"layer_name": "geomorphic_unit_extents",
"attribute_filter": {
"field_name": "Type 2 Tier",
"field_name": "Type",
"values": [
"Bowl",
"Trough"
"Pool",
"Pond",
"Chute"
]
}
}
Expand Down
4 changes: 2 additions & 2 deletions QRiS/metrics/riffle_area.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
{
"layer_name": "geomorphic_unit_extents",
"attribute_filter": {
"field_name": "Type 2 Tier",
"field_name": "Type",
"values": [
"Saddle"
"Riffle"
]
}
}
Expand Down
8 changes: 4 additions & 4 deletions QRiS/metrics/riffle_count.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@
{
"layer_name": "geomorphic_units",
"attribute_filter": {
"field_name": "Type 2 Tier",
"field_name": "Type",
"values": [
"Saddle"
"Riffle"
]
}
},
{
"layer_name": "geomorphic_unit_extents",
"attribute_filter": {
"field_name": "Type 2 Tier",
"field_name": "Type",
"values": [
"Saddle"
"Riffle"
]
}
}
Expand Down
10 changes: 5 additions & 5 deletions QRiS/metrics/riffle_density.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"version": 1,
"calculation_name": "count",
"default_level": "Metric",
"description": "The number of pools per km of riverscape",
"description": "The number of riffles per km of riverscape",
"metadata": {
"min_value": 0,
"precison": 2
Expand All @@ -15,18 +15,18 @@
{
"layer_name": "geomorphic_units",
"attribute_filter": {
"field_name": "Type 2 Tier",
"field_name": "Type",
"values": [
"Saddle"
"Riffle"
]
}
},
{
"layer_name": "geomorphic_unit_extents",
"attribute_filter": {
"field_name": "Type 2 Tier",
"field_name": "Type",
"values": [
"Saddle"
"Riffle"
]
}
}
Expand Down
6 changes: 3 additions & 3 deletions QRiS/metrics/stage_0_area.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "../qris_metrics.schema.json",
"name": "CEM Stage 0 Area",
"name": "SEM Stage 0 Area",
"machine_name": "stage_0_area",
"version": 1,
"calculation_name": "area",
Expand All @@ -15,9 +15,9 @@
{
"layer_name": "cem_phases",
"attribute_filter": {
"field_name": "CEM Stage",
"field_name": "SEM Stage",
"values": [
"0"
"0 Anastomosing"
]
}
}
Expand Down
6 changes: 3 additions & 3 deletions QRiS/metrics/stage_1_area.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "../qris_metrics.schema.json",
"name": "CEM Stage 1 Area",
"name": "SEM Stage 1 Area",
"machine_name": "stage_1_area",
"version": 1,
"calculation_name": "area",
Expand All @@ -15,9 +15,9 @@
{
"layer_name": "cem_phases",
"attribute_filter": {
"field_name": "CEM Stage",
"field_name": "SEM Stage",
"values": [
"1"
"1 Sinuous Single Thread"
]
}
}
Expand Down
6 changes: 3 additions & 3 deletions QRiS/metrics/stage_2_area.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "../qris_metrics.schema.json",
"name": "CEM Stage 2 Area",
"name": "SEM Stage 2 Area",
"machine_name": "stage_2_area",
"version": 1,
"calculation_name": "area",
Expand All @@ -15,9 +15,9 @@
{
"layer_name": "cem_phases",
"attribute_filter": {
"field_name": "CEM Stage",
"field_name": "SEM Stage",
"values": [
"2"
"2 Channelized"
]
}
}
Expand Down
6 changes: 3 additions & 3 deletions QRiS/metrics/stage_3_area.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "../qris_metrics.schema.json",
"name": "CEM Stage 3 Area",
"name": "SEM Stage 3 Area",
"machine_name": "stage_3_area",
"version": 1,
"calculation_name": "area",
Expand All @@ -15,9 +15,9 @@
{
"layer_name": "cem_phases",
"attribute_filter": {
"field_name": "CEM Stage",
"field_name": "SEM Stage",
"values": [
"3"
"3 Degradation"
]
}
}
Expand Down
6 changes: 3 additions & 3 deletions QRiS/metrics/stage_4_area.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "../qris_metrics.schema.json",
"name": "CEM Stage 4 Area",
"name": "SEM Stage 4 Area",
"machine_name": "stage_4_area",
"version": 1,
"calculation_name": "area",
Expand All @@ -15,9 +15,9 @@
{
"layer_name": "cem_phases",
"attribute_filter": {
"field_name": "CEM Stage",
"field_name": "SEM Stage",
"values": [
"4"
"4 Degradation and Widening"
]
}
}
Expand Down
Loading

0 comments on commit d775dfc

Please sign in to comment.