dear all,
i finally resorted to writing me own c module for data input. i still have
a problem with setting up the positions. i've got a three dimensional, not
so regular grid. with not so regular i mean that the horizontal
coordinates (x,y) a regularly spaced. the z-component is irregularly
spaced. i've got two 1d vectors X(x) and Y(y) describing the x and y
coords. the vertical coords depend on a 2d field H(x,y) multiplied by a
vector Z(z), so Z~(x,y,z)=Z(z)*H(x,y). Is there some clever way of
construction the positions array. Presumably, I need an array with rank 1
and shape 3. I tried using a ProductArray, but I am not sure how to acces
the individual components of the array. I should also do all this in a C
module since my data files (netCDF) are quite massive and contain many
variables from which I usually want to select only one.
Any help is very appriciated.
Cheers
magi

-------------
Magnus Hagdorn
Department of Geology and Geophysics
The University of Edinburgh
Grant Institute
West Mains Road
Edinburgh EH9 3JW
Scotland
PHONE: (+44) 131 650 5918
FAX:   (+44) 131 668 3184
email: [EMAIL PROTECTED]

Reply via email to