Freud User Manual
Freud uses an internal model of data in which data originates in a source that contains a number of variables. A source is an object that provides the data; currently, the only type of source is a file. Variables are objects that contain data. Every variable contains data of a certain type; the Freud data browser currently supports float (REAL*4 in FORTRAN), and short integer (INTEGER*2 in FORTRAN) data types.
Every source and variable can have an attached set of attributes. Attributes contain ancillary data about the object. Like variables, they have a type. The Freud data browser will display information on attributes of type float (REAL*4), double (REAL*8), int (INTEGER*4), short (INTEGER*4), and char (CHARACTER).
Every variable also contains a set of dimensions. Dimensions are used to specify the size and shape of a variable.
The browser also can be connected to the object instance by clicking MENU on the Data button of the object window and choosing the Connect browser to... menu item. Note that a vector object has two fields that must be specified, so there are two possible connections in the vector Data menu.
Freud supports data in netCDF, ASCII, or raw binary formats.
The variable Z has four dimensions. Freud only displays variables with two dimensions. You must choose a two dimensional slice of Z to display. Once you do this, the chosen slice is loaded into the current object by clicking on the Accept button, or double clicking on the highlighted variable in the variable list. The Cancel button is used to close the window without loading anymore data into the current object.
The choice of lon and lat as the X and Y free dimensions forces us to choose the slice points of the remaining fixed dimensions frtime and level. The sliders in the boxes labeled Slice dimension... allow these points to be chosen. The number displayed above the slider is the index of the chosen slice point; the number displayed to the right of the slider is the value of the slice point.
If a variable only contains three dimensions, the lowest slider is not needed to create a two dimensional slice, and is disabled. If a variable only contains two variables, both sliders are disabled.
Loading a data source
A data source can be loaded into the data browser by selecting the Open item on the File menu on either the base window, the data browser, or any of the windows associated with instantiated objects. If a source is chosen from an instantiated object, the browser will be connected to that object; the browser will be connected to the U component of the vector field of a vector object. If a source is chosen from the base window or the data browser, then the browser will maintain its connection to the last connected object, if one exists, or will create a contour object and connect to it. The current browser connection is displayed at the top of the browser window frame.
The data browser is shown in Fig. 9. In this example, the current source and variable are testh.cdf and Z. The source and variable are selected by clicking on the desired source and variable in the source and variable lists.
Loading a variable Slicing a variable
Three controls are used to select a variable slice; there are visible in the bottom portion of Fig. 9. The menu button with the label (X axis dimension,...) is used to select the free variable dimensions. The illustration shows that the X axis will be the lon dimension, while the Y axis will be the lat dimension. Other browser functions
Deleting a source
You can delete a source by selected the source in the source list andselecting Delete Source from the Edit menu. Viewing attribute and dimension values
Further information on attributes and dimensions can be obtainedby clicking on Show Dimensions/Attributes... on the browser's
View menu (Fig. 10
Freud User Manual - 02 FEB 96
[Next] [Previous] [Top]
Generated with CERN WebMaker