For those interested, a short example on how to modify a netCDF file
into something digestable by OpenDX using Scientific Python is now
available at http://www.pdc.kth.se/~smeds/misc_hacks/Wahl/

/Nils

> 
> I am reading in a netCDF file through the Import
> routine.  From the documentation, I understand
> that each variable is placed in the data model
> as "data" and the "positions" are internally computed.
> 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.  The way these are written out produces
> a cube rather than a sphere, i.e., the radial component
> is at a constant distance (regular grid).  The objective
> is to transform this regular grid to a spherical
> grid (slightly irregular) and replace the positions
> produced by DX with the computed positions.
> 
> I am hoping to be able to do this in the network
> without having to write an external C program.
> 
> Thanks for any help.
> 

Reply via email to