Patrick Joeckel:
> can anybody help me with the following task.
> I import the following datafields successfully from a netCDF file:
> ha(i), hb(i), ps(x,y,t), data(x,y,i,t).
>
> Now I want to change the positions of the "data" field
> from (x,y,i,t) to
> {x,y,p0*ha(i)+ps(x,y,t)*hb(i),t}, where p0 is a constant scalar.
>
> How can I construct this grid (or the field p0*ha(i)+ps(x,y,t)*hb(i)) ?
> The compute module only allows arrays of the same size/shape ...
One way is to first sample ha, hb, and ps onto your data field. Three
Mark->Lookup->Unmark sequences should take care of that (though you may also
need a Compute to sample ps). Then Mark the resulting field components of
data, route them in parallel to a Compute, and Unmark("positions").
Randall
--
Randall Hopper (mailto:[EMAIL PROTECTED])
Lockheed Martin Operation Support
EPA Scientific Visualization Center
US EPA MD/24 ERC-1A; RTP, NC 27711
__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com