>Hello,
>I have a 3D temperature dataset (cartesian grid, with equidistant points
>in each direction), which results from a convection model; the vertical
>temperature profile is controlled, among other factors, by a constant
>vertical adiabatic gradient, which I would like to get rid of. So what I
>would like to do is to get a "reduced temperature T'" by
> T'(x,y,z)=T(x,y,z)-z*(dT/dz),
>with (dT/dz)=const. and z=0 at the top of the model. I guess that this
>should be possible with the Compute module, but the problem is: How do I
>get the current z position of the grid point I want to reduce? I'm not
>very experienced with DX yet and didn't find concrete information on
>which kind of data field I would have to feed into the second input tab
>of the Compute module, so any hints are welcome.
>
>PS: Of course, I could reduce the temperature before loading the data
>into DX, but that would mean that I'd have to generate another large
>data file, which I would like to avoid.
>--
Mark ("positions"), then Compute (a.z) to get the z value for each
position. Then feed the field itself (presumably it contains a component
called "data" which is the T vector) to one Compute input (a 2nd Compute)
and the output of the a.z Compute to the 2nd input of the 2nd Compute. You
know, I hope that you can reveal more inputs on any Compute (Ctrl-A).
Chris Pelkie
Vice President/Scientific Visualization Producer
Conceptual Reality Presentations, Inc.
30 West Meadow Drive
Ithaca, NY 14850
[EMAIL PROTECTED]