[EMAIL PROTECTED] said: > The first 3 variables are the actual positions in spherical > coordinates (R, theta, phi) that are scalar 1-D arrays. However, > these are not of equal dimensions (64, 30, 45), which makes a > standard "Compute" not possible.
[EMAIL PROTECTED] said: > After importing your data field, wire through the Mark module, marking > "positions". Wire this into a Compute module with the Expression set > to something like: > > [a.z*cos(a.x)*sin(a.y), a.z*sin(a.x)*sin(a.y), a.z*cos(a.y)] Susan, Import the three variables setting up the coordinates as a positions component using the "product" feature in the netCDF importer. This will create a 3D array where the number of "x", "y" and "z" components are equal. This can be fed into the Compute module as described by Michael Owen above. Use ncdump and ncgen to examine your data file. You will want to have a attribute "positions" as described in http://opendx.npaci.edu/docs/html/pages/usrgu068.htm for each of your data arrays: VelocityVarName:positions = "radiusvarname, product; phivarname, product; thetavarname, product;" /Nils
