File size: 1,827 Bytes
95d8841
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
schema_version: v0.5.0
dataset_version: v0.1.0

output:
  variables:
    mask: [grid_index, mask_feature]
    static: [grid_index, static_feature]
    state: [time, grid_index, state_feature]
  coord_ranges:
    time:
      start: '1970-01-01T00:00:00'
      end: '1970-01-01T00:00:30'
      step: PT1S
  chunking:
    time: 1
  splitting:
    dim: time
    splits:
      train:
        start: '1970-01-01T00:00:00'
        end: '1970-01-01T00:00:20'
        compute_statistics:
          ops: [mean, std, diff_mean, diff_std]
          dims: [grid_index, time]
      val:
        start: '1970-01-01T00:00:20'
        end: '1970-01-01T00:00:25'
      test:
        start: '1970-01-01T00:00:25'
        end: '1970-01-01T00:00:30'

inputs:
  state:
    path: data_small/run.zarr
    dims: [time, x, z]
    variables:
      - Bx
      - By
      - Bz
      - Ex
      - Ey
      - Ez
      - vx
      - vy
      - vz
      - rho
      - P
      - T
    dim_mapping:
      time:
        method: rename
        dim: time
      grid_index:
        method: stack
        dims: [x, z]
      state_feature:
        method: stack_variables_by_var_name
        name_format: "{var_name}"
    target_output_variable: state

  mask:
    path: data_small/static.zarr
    dims: [x, z]
    variables:
      - mask
    dim_mapping:
      grid_index:
        method: stack
        dims: [x, z]
      mask_feature:
        method: stack_variables_by_var_name
        name_format: "{var_name}"
    target_output_variable: mask

  static:
    path: data_small/static.zarr
    dims: [x, z]
    variables:
      - xx
      - zz
      - r
    dim_mapping:
      grid_index:
        method: stack
        dims: [x, z]
      static_feature:
        method: stack_variables_by_var_name
        name_format: "{var_name}"
    target_output_variable: static