Hi, I've been looking at importing geometry data from netCDF files into
DX. It seems to work fine except for the case where the field data is
connection dependent. I can add a data component to the field and make
this component connection dependent, but any dependancy attributes added
to the field itself are ignored by the importer. Is this a weakness of
the netCDF importer, or am I missing something?
As an example, the following works:
dimensions:
npoints = 10 ;
npecs = 20 ;
ndim = 3 ;
quad = 4 ;
variables:
float coord(npoints, ndim) ;
int connect(npecs, quad) ;
float filler(npoints) ;
filler:field = "filler, scalar" ;
filler:connections = "connect, quads" ;
filler:positions = "coord" ;
filler:component = "surfcurr, data, scalar" ;
float surfcurr(npecs) ;
surfcurr:attributes = "dep, connections" ;
But this does not:
dimensions:
npoints = 10 ;
npecs = 20 ;
ndim = 3 ;
quad = 4 ;
variables:
float coord(npoints, ndim) ;
int connect(npecs, quad) ;
float surfcurr(npecs) ;
surfcurr:field = "surfcurr, scalar" ;
surfcurr:connections = "connect, quads" ;
surfcurr:positions = "coord" ;
surfcurr:attributes = "dep, connections" ;
-Erik
--
Erik Engquist [EMAIL PROTECTED]
NADA KTH tel: +46 8 790 7819
100 44 Stockholm fax: +46 8 790 0930
Sweden www.nada.kth.se/~erike