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

Feature/DEI-247 update description axis_filter_rule #131

Merged
merged 2 commits into from
Oct 4, 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
5 changes: 2 additions & 3 deletions docs/manual/rules/axis_filter_rule.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@ FORMAT
- axis_filter_rule:
name: <name_of_rule_in_text>
description: <description_of_rule_in_text>
layer_number: <integer_nr_of_layer>
axis_name: <name_of_axis_applied>
axis_name: <name_of_axis_applied>
layer_number: <integer_nr_of_layer_in_axis_applied>
input_variable: <one_3D_input_variable_name>
output_variable: <one_output_variable_name>
output_variable: <one_output_variable_name>
mKlapwijk marked this conversation as resolved.
Show resolved Hide resolved
```

The axis filter rule is close to the layer_filter_rule, however it allows for filtering on any axis present in the data. This allows for the selection of a specific time step, spatial cell or other data axis value.
Expand Down
108 changes: 67 additions & 41 deletions template_input.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,81 +2,107 @@ version: 0.5.13

input-data:
- dataset:
filename:
start_date:
end_date:
filename:
start_date:
end_date:
variable_mapping:

rules:
- multiply_rule:
name:
description:
name:
description:
multipliers: []
input_variable:
output_variable:
input_variable:
output_variable:

- layer_filter_rule:
name:
description:
layer_number:
input_variable:
output_variable:
name:
description:
layer_number:
input_variable:
output_variable:

- time_aggregation_rule:
name:
description:
operation:
time_scale:
input_variable:
output_variable:
name:
description:
operation:
time_scale:
input_variable:
output_variable:

- step_function_rule:
name:
description:
name:
description:
limit_response_table:
- [ limit, response]
- [,]
input_variable:
output_variable:
input_variable:
output_variable:

- response_curve_rule:
name:
description:
name:
description:
response_table:
- [ input, output ]
- [,]
input_variable:
output_variable:
input_variable:
output_variable:

- combine_results_rule:
name:
description:
operation:
name:
description:
operation:
input_variables: [,]
output_variable:
output_variable:

- combine_results_rule:
mKlapwijk marked this conversation as resolved.
Show resolved Hide resolved
name:
description:
formula:
input_variables: [,]
output_variable:
- formula_rule:
name:
description:
formula:
input_variables: [,]
output_variable:

- rolling_statistics_rule:
name:
description:
operation:
time_scale :
period:
input_variable:
output_variable:

- classification_rule:
name:
description:
criteria_table:
- [ "output",]
- [,]
- [,]
input_variables: []
output_variable:

- axis_filter_rule:
name:
description:
axis_name:
layer_number:
input_variable:
output_variable:

- depth_average_rule:
name:
name:
description:
input_variable:
output_variable:
output_variable:

- filter_extremes_rule:
name:
description:
input_variable:
output_variable:
extreme_type:
distance:
time_scale:
mask: True

output-data:
filename:
filename:
Loading