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 pathanalysis_assim_no_da.channel_rt.alaska.json
More file actions
71 lines (70 loc) · 2.56 KB
/
Copy pathanalysis_assim_no_da.channel_rt.alaska.json
File metadata and controls
71 lines (70 loc) · 2.56 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
{
"operations": [
{
"operation": "drop",
"exclude": true,
"fields": ["feature_id", "time", "reference_time", "streamflow", "crs"]
},
{
"operation": "on_each",
"comment": "Add upstreamflow to each input file by calling 'post_processing.transform.calculate_upstream_flow.calculate_upstream_flow' on each",
"on_each": [
{
"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_AK.nc",
"routelink_from_variable": "link",
"output_path": "{work_directory}/upstream.{input_name}"
},
"argument_mapping": {
"input_path": "data"
}
}
]
},
{
"operation": "adjust_dimensions",
"mapping": {
"upstreamflow": ["feature_id", "time"],
"streamflow": ["feature_id", "time"]
}
},
{
"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}/alaska.aprfc.nc"
],
"identifier_pattern": "^(?P<region>\\w+(\\.(?P<rfc>[MmAaLlCcNnPpWwOoSsHh][BbPpNnMmAaCcEeWwHhRrGg]([Rr][Ff][Cc]|[Vv][Ii])))?)",
"output_pattern": "nwm.t{cycle}z.{Configuration}.{ModelOutputType}.{frame}.{region}.nc",
"each": [
{
"operation": "save",
"filename_pattern": "{file_name}",
"identifier_pattern": "(?P<rfc>[A-Za-z]{2}[Rr][Ff][Cc])",
"directory": "{output_path}/"
}
]
}
],
"configuration": "analysis_assim_no_da",
"output_type": "channel_rt",
"region": "alaska",
"member": null
}