Project

General

Profile

OtherMetaData » History » Version 1

Ted Sume, 11/13/2019 03:38 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
Jump to
8
Meshes and their metadata 
9
Variables and their metadata 
10
Variables that are combined with their meshes 
11
Data ordering 
12
Variables defined in terms of other variables 
13
Multidomain metadata 
14
15
**Time data**
16
17
Time data is in a group, 
18
```
19
Group "mytime" {
20
  Att vsType = "time"                        // Required string
21
  Att vsStep = 500                           // Optional integer scalar (may not be applicable)
22
  Att vsTime = 1.e-10                        // Required float scalar
23
}
24
```
25
* vsStep gives the simulation step 
26
* vsTime gives the simulation time at the dump time. 
27
28
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) 
29
30
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. 
31
32
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: 
33
```
34
  Att vsTimeGroup = "mytime"
35
```
36
37
**Visualization Limits**
38
39
Default bounding region for the mesh for which this is an attribute. 
40
```
41
Group "mylimits" {
42
  Att vsType = "limits"                      // Required string
43
  Att vsKind = "Cartesian"                   // Required string
44
  Att vsLowerBounds = [-2.5, -2.5, -1.3]     // Required float array
45
  Att vsUpperBounds = [2.5, 2.5, 1.3]        // Required float array
46
}
47
```
48
* vsType denotes that this is a limits group 
49
* 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) 
50
* vsLowerBounds gives the smallest possible value of each coordinate 
51
* vsUpperBounds gives the largest possible value of each coordinate 
52
53
**Axis Labels**
54
55
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. 
56
57
For example, a mesh whose dimensions were measured in meters could specify vsAxisLabels to be "x (m), y (m), z (m)".