OtherMetaData » History » Version 2
Ted Sume, 11/13/2019 03:39 PM
1 | 1 | Ted Sume | # OtherMetaData |
---|---|---|---|
2 | |||
3 | # Other metadata |
||
4 | |||
5 | The file can optionally contain other data to assist in visualization or be used for other purposes, for example, tracking provenance. At the moment, we use attributes starting from vs, but the plan is to separate them as needed in the future. |
||
6 | |||
7 | 2 | Ted Sume | **Jump to** |
8 | |||
9 | * [Variables and their metadata](https://ice.txcorp.com/vizschema/wiki/Variables) |
||
10 | * [Variables that are combined with their meshes](https://ice.txcorp.com/vizschema/wiki/VariablesWithMesh) |
||
11 | * [Data ordering](https://ice.txcorp.com/vizschema/wiki/DataOrdering) |
||
12 | * [Variables defined in terms of other variables](https://ice.txcorp.com/vizschema/wiki/DerivedVariables) |
||
13 | * [Multidomain metadata](https://ice.txcorp.com/vizschema/wiki/MultiDomainMetaData) |
||
14 | * [Other metadata](https://ice.txcorp.com/vizschema/wiki/OtherMetaData) |
||
15 | 1 | Ted Sume | |
16 | **Time data** |
||
17 | |||
18 | Time data is in a group, |
||
19 | ``` |
||
20 | Group "mytime" { |
||
21 | Att vsType = "time" // Required string |
||
22 | Att vsStep = 500 // Optional integer scalar (may not be applicable) |
||
23 | Att vsTime = 1.e-10 // Required float scalar |
||
24 | } |
||
25 | ``` |
||
26 | * vsStep gives the simulation step |
||
27 | * vsTime gives the simulation time at the dump time. |
||
28 | |||
29 | These values will be loaded by VisIt, and will appear on any plot made from this file. The value of "vsStep" will be displayed with the title "Cycle:", and the value of "vsTime" will be displayed with the title "Time:". (These labels are supplied by VisIt, and are not controlled by the plugin) |
||
30 | |||
31 | If a file contains one of the two values listed above, only the supplied value will be reported to VisIt. There is no default time or step number. |
||
32 | |||
33 | Any variable wishing to declare that it uses a particular time group should contain the attribute vsTimeGroup with the name of the time group as the value. For the above example, we would have: |
||
34 | ``` |
||
35 | Att vsTimeGroup = "mytime" |
||
36 | ``` |
||
37 | |||
38 | **Visualization Limits** |
||
39 | |||
40 | Default bounding region for the mesh for which this is an attribute. |
||
41 | ``` |
||
42 | Group "mylimits" { |
||
43 | Att vsType = "limits" // Required string |
||
44 | Att vsKind = "Cartesian" // Required string |
||
45 | Att vsLowerBounds = [-2.5, -2.5, -1.3] // Required float array |
||
46 | Att vsUpperBounds = [2.5, 2.5, 1.3] // Required float array |
||
47 | } |
||
48 | ``` |
||
49 | * vsType denotes that this is a limits group |
||
50 | * vsKind denotes that the limits are specified (in this case) by Cartesian coordinates (for instance, one could use Cylindrical for Z-R-Phi coordinate systems) |
||
51 | * vsLowerBounds gives the smallest possible value of each coordinate |
||
52 | * vsUpperBounds gives the largest possible value of each coordinate |
||
53 | |||
54 | **Axis Labels** |
||
55 | |||
56 | Since meshes supply spatial information for data, all meshes support an optional attribute named "vsAxisLabels". The value of this attribute must be a comma-delimited string containing a list of axis names. If this attribute is not present, the default axis labels are "x,y,z". If the attribute is present, the string is split at every comma, and the axis labels are set accordingly. |
||
57 | |||
58 | For example, a mesh whose dimensions were measured in meters could specify vsAxisLabels to be "x (m), y (m), z (m)". |