 |
4.1. Overview
As described in
Chapter 3, each GEOREFERENCE WINDOW maintains a Site
List. The Site List
is a list of georeferenced data sites that meet the
current query parameters. Current query parameters are
defined in terms of three concepts:
- Query Region:
A geographic region specified in terms of
latitude and longitude.
- Query
Expressions: Each georeferenced data
category has a Query Expression.
A Query Expression is an
expression that results in a subset of data sites
for a particular georeferenced data category
(such as tree ring or ice core).
- Reconstructed
Variables Only: If you selected this
checkbox in the DATA SELECTION dialog, only sites
with reconstructed variables are included in the Site
List.
You can change the
query expression for a given category of data to control
what data is displayed through the GEOREFERENCE QUERY
dialog. To display the GEOREFERENCE QUERY dialog, select
the Query Button from the Georeference Window. 
When you open the query dialog, at the top of the dialog
is a list of the categories of data that were selected
for this georeference window. Selecting one of the
categories will result in a list of variables associated
with this category being displayed in the center of the
dialog. For querying, numeric variables are not a single
value. A variable for a site is
a package of two values - a minimum and a maximum value.
These values are the minimum and maximum values of that
variable for a particular site. By default, all variables
are displayed (non-reconstructed and reconstructed). The
checkbox below the variable list can be used to change
the display to only reconstructed variables.
Clicking on a variable in the variable list causes the
variable name to be placed in the expression box at the
bottom of the dialog. The variable is surrounded by
brackets ( [] ). The brackets distinguish between the
variable names and other symbols in the expression. It is
possible to type directly into the expression box,
especially to backspace over mistakes.
To the right of the variable list is a group of buttons
with operation symbols. These buttons are used to place
operations in the expression box. There are 13
operations. These are:
- + (plus)
- - (minus)
- *
(multiplication)
- / (divide)
- > (greater
than)
- >= (greater
than equal to)
- = (equal to)
- <> (not
equal to)
- AND
- OR
- NOT
Variables and
operations can always be typed directly into the
expression box. The click to insert functions from the
variable list and operation buttons is only for
convenience for the user. Clicking to insert does
not guarantee that the expression is
correct. An expression can be built completely from
clicking to insert and still produce syntax errors.
Parenthesises can be used to group parts of the
expression to circumvent operator precedence. (See
Appendix B for default operator precedence). Operators
AND, OR, and NOT are preceded and followed by periods in
the expression to distinguish these operators from
strings and variable names.
Numbers and operators work just like the common
calculator. Variables, on the other hand, have special
rules about how they interact with operations and other
types of operands. A variable is a package, a min/max
pair. When a numeric value (integer or float value) is
added to a variable, the value is added to both the min
and max value of the variable. For example, a variable
Age can have a minimum value of 10 and a maximum value of
100. The expression "[Age] + 5" would result in
a variable with a minimum value of 15 and a maximum value
of 105. All of the numeric operators (+, -, *, /) work
similarly. Relational operators are the most useful
operators. The rules for applying the relational
operators to variables follows:
|
 |