This repository was archived by the owner on Jun 12, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmedium_range.channel_rt_3.conus.json
More file actions
96 lines (96 loc) · 4.06 KB
/
Copy pathmedium_range.channel_rt_3.conus.json
File metadata and controls
96 lines (96 loc) · 4.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"operations": [
{
"operation": "drop",
"exclude": true,
"fields": ["feature_id", "time", "reference_time", "streamflow", "crs"]
},
{
"operation": "merge",
"file_name_pattern": "nwm.t{cycle}z.{Configuration}.{ModelOutputType}_{member}.{Region}.nc"
},
{
"operation": "branch",
"branches": {
"WMS": [
{
"operation": "unit_conversion",
"conversions": [
{
"variable_name": "streamflow",
"target_unit": "ft3 s-1"
}
]
},
{
"operation": "save",
"filename_pattern": "nwm.t{cycle}z.{Configuration}.{ModelOutputType}_{member}.{Region}.nc",
"directory": "{output_path}/"
}
],
"RFC": [
{
"operation": "function",
"function_name": "post_processing.transform.calculate_upstream_flow.calculate_upstream_flow_binned",
"comment": "This should end up calling `calculate_upstream_flow(input_path=data, output_path=data, routelink_path='{application_path}/RouteLink_CONUS.nc')`",
"kwargs": {
"routelink_path": "{routelink_path}/RouteLink_CONUS.nc",
"routelink_feature_variable": "link",
"output_path": "{work_directory}/upstream.{input_name}"
},
"argument_mapping": {
"input_path": "data"
}
},
{
"operation": "function",
"function_name": "post_processing.transform.calculate_upstream_flow.clean",
"comment": "Remove unneeded items from upstreamflow calculations"
},
{
"operation": "rename",
"mapping": {
"feature_id": "station_id"
}
},
{
"operation": "rename",
"rename_variable": false,
"mapping": {
"feature_id": "station"
}
},
{
"operation": "extract",
"dimension": "station_id",
"mask_coordinate": "feature_id",
"masks": [
"{mask_path}/abrfc.nc",
"{mask_path}/c*rfc.nc",
"{mask_path}/m*rfc.nc",
"{mask_path}/lmrfc.nc",
"{mask_path}/n*rfc.nc",
"{mask_path}/ohrfc.nc",
"{mask_path}/serfc.nc",
"{mask_path}/wgrfc.nc"
],
"identifier_pattern": "^(?P<region>\\w+(\\.(?P<rfc>[MmAaLlCcNnPpWwOoSsHh][BbPpNnMmAaCcEeWwHhRrGg]([Rr][Ff][Cc]|[Vv][Ii])))?)",
"output_pattern": "nwm.t{cycle}z.{Configuration}.{ModelOutputType}_{member}.{region}.nc",
"each": [
{
"operation": "save",
"filename_pattern": "{file_name}",
"identifier_pattern": "(?P<rfc>[A-Za-z]{2}[Rr][Ff][Cc])",
"directory": "{output_path}/"
}
]
}
]
}
}
],
"configuration": "medium_range",
"output_type": "channel_rt",
"region": "conus",
"member": "3"
}