MAS File
Reads MAS model output from one file, a directory of time steps, a psi-data-utils sample run or the export cache folder. It knows MAS quantities, units and mesh staggering. The Directory and Cache Directory sources scan a filename pattern for the quantities you list; the psi-data-utils (run) source takes a whole sample run and fetches its files on demand. For every directory-style source, Time Mode chooses the step: By Sequence takes a sequence number, By Date the file nearest a date (a Directory or Cache Directory source needs the origin date t0) and By Time the file nearest an elapsed time. The Cache Directory source reads the folder an Exporter's Cache Directory destination writes to, and a reader watching that folder notices new files when an export finishes.
Inputs
None.
Parameter ports
Added from the Parameters pane (⊕). While connected, each drives its parameter.
| Port | Accepts | Mode | Description |
|---|---|---|---|
time_index | primitive(number) | opt-in drives time_index | Drives the Sequence parameter while connected |
time | primitive(time) | opt-in drives time | Drives the Date parameter while connected |
time_value | primitive(number) | opt-in drives time_value | Drives the Time parameter while connected |
Outputs
generator(reader)
Parameters
The Parameters pane shows only the parameters relevant to the current settings.
| Parameter | Kind | Default | Choices / range | Unit | Notes |
|---|---|---|---|---|---|
Sourcesource | choice | path | path | psi-data-utils | directory | cache | psi-data-utils-run | ||
Pathpath | path | none | |||
Datasetdataset | choice | none | MAS corona | MAS heliosphere | PFSS | Quantities | Examples | ||
Filefile | choice | none | |||
Directorydirectory | directory | none | |||
Patternpattern | pattern | {var}{seq:03d}.h5 | |||
t0 (optional)t0 | datetime | none | |||
Sequence Scalesequence_scale | choice | linear | linear | geometric | explicit | table | ||
dtdt | float | 1 | 0 to | FNORMT | |
Ratioratio | float | 2 | 0 to | ||
Deltasdeltas | strlist | () | |||
Table Pathtable_path | path | none | |||
Time Modetime_mode | choice | index | index | value | elapsed | ||
Sequencetime_index | int | none | 0 to , step 1 | ⇄ port | |
Date (nearest file)time | datetime | none | ⇄ port | ||
Time (nearest file)time_value | float | none | FNORMT | ⇄ port | |
Quantitiesquantities | quantities | () | |||
Target Datasettarget | choice | none | |||
Variablevariable | choice | none | vr | vt | vp | br | bt | bp | jr | jt | jp | t | te | tp | rho | p | ep | em | zp | zm | heat | ||
Quantity Unitunit | str | none | |||
Mesh Staggeringmesh | str | none |