|
1 | 1 | """Lists of physical variables made available by StagPy. |
2 | 2 |
|
3 | 3 | They are organized by kind of variables (field, profiles, and time series). |
4 | | -EXTRA lists group variables that are not directly output by StagYY and need to |
| 4 | +`EXTRA` lists group variables that are not directly output by StagYY and need to |
5 | 5 | be computed from other variables. |
6 | 6 | """ |
7 | 7 |
|
|
66 | 66 | "fFeR": Varf("fFeR", "1"), |
67 | 67 | } |
68 | 68 | ) |
| 69 | +"""Scalar fields output by StagYY.""" |
69 | 70 |
|
70 | 71 | FIELD_EXTRA: Mapping[str, Callable[[Step], Field]] = MappingProxyType( |
71 | 72 | { |
72 | 73 | "stream": processing.stream_function, |
73 | 74 | } |
74 | 75 | ) |
| 76 | +"""Scalar fields that StagPy can compute.""" |
75 | 77 |
|
76 | 78 | FIELD_FILES: Mapping[str, list[str]] = MappingProxyType( |
77 | 79 | { |
|
156 | 158 | "crust": Varf("Crustal thickness", "m"), |
157 | 159 | } |
158 | 160 | ) |
| 161 | +"""Surface scalar fields output by StagYY.""" |
159 | 162 |
|
160 | 163 | SFIELD_FILES: Mapping[str, list[str]] = MappingProxyType( |
161 | 164 | { |
|
255 | 258 | "advasc": Varr("Upward advection", "Heat flux", "W/m2"), |
256 | 259 | } |
257 | 260 | ) |
| 261 | +"""Radial profiles output by StagYY.""" |
258 | 262 |
|
259 | 263 | RPROF_EXTRA: Mapping[str, Callable[[Step], Rprof]] = MappingProxyType( |
260 | 264 | { |
|
270 | 274 | "advth": processing.advth, |
271 | 275 | } |
272 | 276 | ) |
| 277 | +"""Radial profiles that StagPy can compute.""" |
273 | 278 |
|
274 | 279 |
|
275 | 280 | TIME: Mapping[str, Vart] = MappingProxyType( |
|
305 | 310 | "botT_val": Vart("Temperature at bottom", "Temperature", "K"), |
306 | 311 | } |
307 | 312 | ) |
| 313 | +"""Time series output by StagYY.""" |
308 | 314 |
|
309 | 315 | TIME_EXTRA: Mapping[str, Callable[[StagyyData], Tseries]] = MappingProxyType( |
310 | 316 | { |
|
314 | 320 | "mobility": processing.mobility, |
315 | 321 | } |
316 | 322 | ) |
| 323 | +"""Time series that StagPy can compute.""" |
317 | 324 |
|
318 | 325 | REFSTATE: Mapping[str, Varr] = MappingProxyType( |
319 | 326 | { |
|
327 | 334 | "grav": Varr("Gravity", "Gravity", "m/s2"), |
328 | 335 | } |
329 | 336 | ) |
| 337 | +"""Variables in [`Refstate`][stagpy.stagyydata.Refstate].""" |
330 | 338 |
|
331 | 339 | SCALES: Mapping[str, Callable[[Scales], float]] = MappingProxyType( |
332 | 340 | { |
|
346 | 354 | "m/s2": attrgetter("acceleration"), |
347 | 355 | } |
348 | 356 | ) |
| 357 | +"""Scales to make values dimensional, see [`Scales`][stagpy.dimensions.Scales].""" |
349 | 358 |
|
350 | 359 | PREFIXES = ("k", "M", "G") |
0 commit comments