Edit→Formulas→Edit Formulas→Grids
menu, select the
Horizontal Advection (from %N1% & %N2%)
item.DerivedGridFactory.createHorizontalAdvection(scalar_parameter, D1[label=U Component], D2[label=V Component])The
D1 and D2
fields can be automatically bound to
specific parameters and
scalar_parameter
is a field that the user
will be prompted for.
Description
, the %N1% and %N2%
fields correspond to the names of the bound parameters in the
order listed in the formula (not the number after the D]
Derived
tab.
u_and_v
to find variables in
a dataset that can be used to fill in for the
D1 and D2
parameters.
Cancel
button to close the window.
Formulas
Data Source.
System->Horizontal Advection (from %N1% & %N2%)
field, select Contour Plan View
display and
click Create Display
. Notice how the formula
relates to the dialog that pops up.Cancel
button to close the window.
ETA 1998-06-29 00:00
data source.
3D grid→Derived
tab in the
Fields
panel of the Field Selector
and select the
Horizontal Advection (from GridRelative_u & GridRelative_v)
field. Hold the mouse over the label to look at the
tooltip which shows the formula for this field. Notice that
the %N1% and %N2%
parameters in the formula description
have been filled in.
Contour Plan View
display and
click Create Display
.
scalar parameter
, select
the 3D grid->temperature
field and click
OK
.
Formulas
Data Source.
System->Horizontal Advection (from %N1% & %N2%)
field and select Copy Formula
.
Name
to tadv
.
Formula
to
DerivedGridFactory.createHorizontalAdvection(D1, D2, D3)
.
Description
to
Temperature Advection (from %N1%, %N2% & %N3%)
.
Group
to
Custom Derived
.
Derived
tab.
u_and_v
under Parameter Groups.
Parameter Groups Editor
but for now we will enter the parameter names to match on directly.
Parameters
input area, right click and
select the Temperature, U component and V components
(one at a time) from the Aliases→Group #1
menu available from the button
or type TEMP, UREL, VREL
.
Change Formula
button. The
Formulas
data source now has a
My Derived
category in the
Fields
panel.
NCEP Model Data
data source
and select Reload→Data
to refresh the list of
parameters. Derived data selections are only created when
the Data Source is loaded or reloaded.My Derived->Temperature Advection (from T, GridRelative_u & GridRelative_v)
parameter and the
Contour Plan View
display and then click
the Create Display
button.Formulas
data source, right click
on the
My Derived->Temperature Advection (from %N1%, %N2% & %N3%)
field and select Edit→Formula
.Group
for the formula and click
Change Formula
.
NCEP Model Data ETA
datasource.
Files
chooser to load in the
sample_eta_grid.nc
file.
derived.xml
file in:/home/idv/.unidata/idv/DefaultIdv
to see what the formula looks like.