Trim speculative descriptions from channels.json; keep names + shapes only
Browse files- README.md +2 -2
- combustion/channels.json +19 -19
- controlled_cylinder/channels.json +6 -6
- cylinder/channels.json +6 -6
- foil/channels.json +6 -6
- fsi/channels.json +6 -6
README.md
CHANGED
|
@@ -221,7 +221,7 @@ print(f"Output shape: {output_tensor.shape}") # (200, H, W, 2) = 20 × 10
|
|
| 221 |
- `t` (bytes): float32 array `(T_full,)` — time stamps
|
| 222 |
- `shape_t` (int): **complete trajectory length** (e.g., 3990, 2173)
|
| 223 |
- `shape_h`, `shape_w` (int): spatial dimensions
|
| 224 |
-
- **Field names** for each scenario are also documented machine-readably in [`{scenario}/channels.json`](#repository-layout) (with
|
| 225 |
|
| 226 |
> **Note on spatial grids:** `x` and `y` are identical across all time frames, so they are stored once as `(H, W)` instead of `(T, H, W)`. For methods that require per-frame coordinate grids (e.g., PINNs), broadcast at runtime: `x_grid = np.broadcast_to(x[np.newaxis, :, :], (T, H, W))`. This is a zero-copy view with no memory overhead.
|
| 227 |
|
|
@@ -237,7 +237,7 @@ print(f"Output shape: {output_tensor.shape}") # (200, H, W, 2) = 20 × 10
|
|
| 237 |
- `t` (bytes): float32 array `(T_full,)` — time stamps
|
| 238 |
- `shape_t` (int): **complete trajectory length** (e.g., 2001)
|
| 239 |
- `shape_h`, `shape_w` (int): spatial dimensions
|
| 240 |
-
- **Channel order** of the 15 fields packed in `numerical` (along the last axis) is listed in [`combustion/channels.json`](combustion/channels.json) under `numerical.numerical_axis_names` (`index → name`
|
| 241 |
|
| 242 |
### Index files (JSON)
|
| 243 |
|
|
|
|
| 221 |
- `t` (bytes): float32 array `(T_full,)` — time stamps
|
| 222 |
- `shape_t` (int): **complete trajectory length** (e.g., 3990, 2173)
|
| 223 |
- `shape_h`, `shape_w` (int): spatial dimensions
|
| 224 |
+
- **Field names** for each scenario are also documented machine-readably in [`{scenario}/channels.json`](#repository-layout) (with their Arrow keys and shapes).
|
| 225 |
|
| 226 |
> **Note on spatial grids:** `x` and `y` are identical across all time frames, so they are stored once as `(H, W)` instead of `(T, H, W)`. For methods that require per-frame coordinate grids (e.g., PINNs), broadcast at runtime: `x_grid = np.broadcast_to(x[np.newaxis, :, :], (T, H, W))`. This is a zero-copy view with no memory overhead.
|
| 227 |
|
|
|
|
| 237 |
- `t` (bytes): float32 array `(T_full,)` — time stamps
|
| 238 |
- `shape_t` (int): **complete trajectory length** (e.g., 2001)
|
| 239 |
- `shape_h`, `shape_w` (int): spatial dimensions
|
| 240 |
+
- **Channel order** of the 15 fields packed in `numerical` (along the last axis) is listed in [`combustion/channels.json`](combustion/channels.json) under `numerical.numerical_axis_names` (`index → name`).
|
| 241 |
|
| 242 |
### Index files (JSON)
|
| 243 |
|
combustion/channels.json
CHANGED
|
@@ -2,31 +2,31 @@
|
|
| 2 |
"scenario": "combustion",
|
| 3 |
"real": {
|
| 4 |
"fields": [
|
| 5 |
-
{"key": "observed", "shape": "(T, H, W)"
|
| 6 |
]
|
| 7 |
},
|
| 8 |
"numerical": {
|
| 9 |
"fields": [
|
| 10 |
-
{"key": "observed", "shape": "(T, H, W)"
|
| 11 |
-
{"key": "numerical", "shape": "(T, H, W, 15)"
|
| 12 |
],
|
| 13 |
"numerical_axis_names": [
|
| 14 |
-
{"index": 0, "name": "Absolute_Pressure"
|
| 15 |
-
{"index": 1, "name": "Chemistry_Heat_Release_Rate"
|
| 16 |
-
{"index": 2, "name": "Mole_Fraction_of_CH4"
|
| 17 |
-
{"index": 3, "name": "Mole_Fraction_of_CO"
|
| 18 |
-
{"index": 4, "name": "Mole_Fraction_of_CO2"
|
| 19 |
-
{"index": 5, "name": "Mole_Fraction_of_H2O"
|
| 20 |
-
{"index": 6, "name": "Mole_Fraction_of_NH2"
|
| 21 |
-
{"index": 7, "name": "Mole_Fraction_of_NH3"
|
| 22 |
-
{"index": 8, "name": "Mole_Fraction_of_OH"
|
| 23 |
-
{"index": 9, "name": "Pressure"
|
| 24 |
-
{"index": 10, "name": "Temperature"
|
| 25 |
-
{"index": 11, "name": "Velocity[i]"
|
| 26 |
-
{"index": 12, "name": "Velocity[j]"
|
| 27 |
-
{"index": 13, "name": "Velocity[k]"
|
| 28 |
-
{"index": 14, "name": "Velocity_Magnitude"
|
| 29 |
]
|
| 30 |
},
|
| 31 |
-
"note": "
|
| 32 |
}
|
|
|
|
| 2 |
"scenario": "combustion",
|
| 3 |
"real": {
|
| 4 |
"fields": [
|
| 5 |
+
{"key": "observed", "shape": "(T, H, W)"}
|
| 6 |
]
|
| 7 |
},
|
| 8 |
"numerical": {
|
| 9 |
"fields": [
|
| 10 |
+
{"key": "observed", "shape": "(T, H, W)"},
|
| 11 |
+
{"key": "numerical", "shape": "(T, H, W, 15)"}
|
| 12 |
],
|
| 13 |
"numerical_axis_names": [
|
| 14 |
+
{"index": 0, "name": "Absolute_Pressure"},
|
| 15 |
+
{"index": 1, "name": "Chemistry_Heat_Release_Rate"},
|
| 16 |
+
{"index": 2, "name": "Mole_Fraction_of_CH4"},
|
| 17 |
+
{"index": 3, "name": "Mole_Fraction_of_CO"},
|
| 18 |
+
{"index": 4, "name": "Mole_Fraction_of_CO2"},
|
| 19 |
+
{"index": 5, "name": "Mole_Fraction_of_H2O"},
|
| 20 |
+
{"index": 6, "name": "Mole_Fraction_of_NH2"},
|
| 21 |
+
{"index": 7, "name": "Mole_Fraction_of_NH3"},
|
| 22 |
+
{"index": 8, "name": "Mole_Fraction_of_OH"},
|
| 23 |
+
{"index": 9, "name": "Pressure"},
|
| 24 |
+
{"index": 10, "name": "Temperature"},
|
| 25 |
+
{"index": 11, "name": "Velocity[i]"},
|
| 26 |
+
{"index": 12, "name": "Velocity[j]"},
|
| 27 |
+
{"index": 13, "name": "Velocity[k]"},
|
| 28 |
+
{"index": 14, "name": "Velocity_Magnitude"}
|
| 29 |
]
|
| 30 |
},
|
| 31 |
+
"note": "The `observed` column stores the measurable modality (OH* chemiluminescence intensity for real, surrogate-mapped intensity for numerical). The `numerical` column packs 15 simulation fields along the last axis in the order given by `numerical_axis_names`."
|
| 32 |
}
|
controlled_cylinder/channels.json
CHANGED
|
@@ -2,16 +2,16 @@
|
|
| 2 |
"scenario": "controlled_cylinder",
|
| 3 |
"real": {
|
| 4 |
"fields": [
|
| 5 |
-
{"key": "u", "shape": "(T, H, W)"
|
| 6 |
-
{"key": "v", "shape": "(T, H, W)"
|
| 7 |
]
|
| 8 |
},
|
| 9 |
"numerical": {
|
| 10 |
"fields": [
|
| 11 |
-
{"key": "u", "shape": "(T, H, W)"
|
| 12 |
-
{"key": "v", "shape": "(T, H, W)"
|
| 13 |
-
{"key": "p", "shape": "(T, H, W)"
|
| 14 |
]
|
| 15 |
},
|
| 16 |
-
"note": "Each field is stored as a separate column in the Arrow dataset. Control parameters (Reynolds number, control frequency) are encoded in the trajectory filenames and in the *_params_*.json index files.
|
| 17 |
}
|
|
|
|
| 2 |
"scenario": "controlled_cylinder",
|
| 3 |
"real": {
|
| 4 |
"fields": [
|
| 5 |
+
{"key": "u", "shape": "(T, H, W)"},
|
| 6 |
+
{"key": "v", "shape": "(T, H, W)"}
|
| 7 |
]
|
| 8 |
},
|
| 9 |
"numerical": {
|
| 10 |
"fields": [
|
| 11 |
+
{"key": "u", "shape": "(T, H, W)"},
|
| 12 |
+
{"key": "v", "shape": "(T, H, W)"},
|
| 13 |
+
{"key": "p", "shape": "(T, H, W)"}
|
| 14 |
]
|
| 15 |
},
|
| 16 |
+
"note": "Each field is stored as a separate column in the Arrow dataset. Control parameters (Reynolds number, control frequency) are encoded in the trajectory filenames and in the *_params_*.json index files."
|
| 17 |
}
|
cylinder/channels.json
CHANGED
|
@@ -2,16 +2,16 @@
|
|
| 2 |
"scenario": "cylinder",
|
| 3 |
"real": {
|
| 4 |
"fields": [
|
| 5 |
-
{"key": "u", "shape": "(T, H, W)"
|
| 6 |
-
{"key": "v", "shape": "(T, H, W)"
|
| 7 |
]
|
| 8 |
},
|
| 9 |
"numerical": {
|
| 10 |
"fields": [
|
| 11 |
-
{"key": "u", "shape": "(T, H, W)"
|
| 12 |
-
{"key": "v", "shape": "(T, H, W)"
|
| 13 |
-
{"key": "p", "shape": "(T, H, W)"
|
| 14 |
]
|
| 15 |
},
|
| 16 |
-
"note": "Each field is stored as a separate column in the Arrow dataset.
|
| 17 |
}
|
|
|
|
| 2 |
"scenario": "cylinder",
|
| 3 |
"real": {
|
| 4 |
"fields": [
|
| 5 |
+
{"key": "u", "shape": "(T, H, W)"},
|
| 6 |
+
{"key": "v", "shape": "(T, H, W)"}
|
| 7 |
]
|
| 8 |
},
|
| 9 |
"numerical": {
|
| 10 |
"fields": [
|
| 11 |
+
{"key": "u", "shape": "(T, H, W)"},
|
| 12 |
+
{"key": "v", "shape": "(T, H, W)"},
|
| 13 |
+
{"key": "p", "shape": "(T, H, W)"}
|
| 14 |
]
|
| 15 |
},
|
| 16 |
+
"note": "Each field is stored as a separate column in the Arrow dataset."
|
| 17 |
}
|
foil/channels.json
CHANGED
|
@@ -2,16 +2,16 @@
|
|
| 2 |
"scenario": "foil",
|
| 3 |
"real": {
|
| 4 |
"fields": [
|
| 5 |
-
{"key": "u", "shape": "(T, H, W)"
|
| 6 |
-
{"key": "v", "shape": "(T, H, W)"
|
| 7 |
]
|
| 8 |
},
|
| 9 |
"numerical": {
|
| 10 |
"fields": [
|
| 11 |
-
{"key": "u", "shape": "(T, H, W)"
|
| 12 |
-
{"key": "v", "shape": "(T, H, W)"
|
| 13 |
-
{"key": "p", "shape": "(T, H, W)"
|
| 14 |
]
|
| 15 |
},
|
| 16 |
-
"note": "Each field is stored as a separate column in the Arrow dataset. Geometric parameters (angle of attack, Reynolds number) are stored in the *_params_*.json index files.
|
| 17 |
}
|
|
|
|
| 2 |
"scenario": "foil",
|
| 3 |
"real": {
|
| 4 |
"fields": [
|
| 5 |
+
{"key": "u", "shape": "(T, H, W)"},
|
| 6 |
+
{"key": "v", "shape": "(T, H, W)"}
|
| 7 |
]
|
| 8 |
},
|
| 9 |
"numerical": {
|
| 10 |
"fields": [
|
| 11 |
+
{"key": "u", "shape": "(T, H, W)"},
|
| 12 |
+
{"key": "v", "shape": "(T, H, W)"},
|
| 13 |
+
{"key": "p", "shape": "(T, H, W)"}
|
| 14 |
]
|
| 15 |
},
|
| 16 |
+
"note": "Each field is stored as a separate column in the Arrow dataset. Geometric parameters (angle of attack, Reynolds number) are stored in the *_params_*.json index files."
|
| 17 |
}
|
fsi/channels.json
CHANGED
|
@@ -2,16 +2,16 @@
|
|
| 2 |
"scenario": "fsi",
|
| 3 |
"real": {
|
| 4 |
"fields": [
|
| 5 |
-
{"key": "u", "shape": "(T, H, W)"
|
| 6 |
-
{"key": "v", "shape": "(T, H, W)"
|
| 7 |
]
|
| 8 |
},
|
| 9 |
"numerical": {
|
| 10 |
"fields": [
|
| 11 |
-
{"key": "u", "shape": "(T, H, W)"
|
| 12 |
-
{"key": "v", "shape": "(T, H, W)"
|
| 13 |
-
{"key": "p", "shape": "(T, H, W)"
|
| 14 |
]
|
| 15 |
},
|
| 16 |
-
"note": "Each field is stored as a separate column in the Arrow dataset. Structural parameters (mass ratio, damping ratio, Reynolds number) are stored in the *_params_*.json index files.
|
| 17 |
}
|
|
|
|
| 2 |
"scenario": "fsi",
|
| 3 |
"real": {
|
| 4 |
"fields": [
|
| 5 |
+
{"key": "u", "shape": "(T, H, W)"},
|
| 6 |
+
{"key": "v", "shape": "(T, H, W)"}
|
| 7 |
]
|
| 8 |
},
|
| 9 |
"numerical": {
|
| 10 |
"fields": [
|
| 11 |
+
{"key": "u", "shape": "(T, H, W)"},
|
| 12 |
+
{"key": "v", "shape": "(T, H, W)"},
|
| 13 |
+
{"key": "p", "shape": "(T, H, W)"}
|
| 14 |
]
|
| 15 |
},
|
| 16 |
+
"note": "Each field is stored as a separate column in the Arrow dataset. Structural parameters (mass ratio, damping ratio, Reynolds number) are stored in the *_params_*.json index files."
|
| 17 |
}
|