> O.K, with a lot of help from the mail group I was able to import my 
> netcdf data and convert double positions into floats into a series....
> 
> 
> However, I think that there is a bug in the netCDF import routines. 
> Example, I have two series, one of len 2 and one of len 10.  However, if 
> I import the data and use select I see that were of length 10. 

It is a bit hard to say... The netCDF support is a bit rudimentary which
is probably due to a lack in usage. 

About a year ago I was playing with DX 4.1.3 and netCDF and found some
fundamental problems with memory management that I was able to fix and
which have been included in releases later than 4.1.3. At this point I
tried to be careful so as not to modify any behaviour in the module, 
but only fix some fundamental problems that caused it to crash.

My impression is that the module was written to accomplish a certain set
of tasks (although with an attempt to be fairly general). There are some
cases where the code will do things that are maybe not obvious, and
maybe even not completely according the documentation in the HTML
manual. Certainly there are cases where the documentation is a bit vague
and the behaviour of the module may be unexpected for this reason.

I am not quite sure what you are trying to achieve. At a first glance I
get a bit puzzled about reallocations being (2,ny,nx) and not (ny,nx)
or (Time,ny,nx). Maybe there also should be a 
densityrecv:positions = "reallocations" attribute in your data file
and that reallocations should not have a "field" attribute. 

Maybe if you were to tell in more detail what you want to do and put 
that together with your net and data files on a web-page or something 
I would be able to have a better look at it.

I am not sure if the DX importer can handle the positions being a time
series if that is what you are after. And if it would, I'd be surprised
if it can handle that the time series not being the same length for
reallocations and densityrecv (2 and 10 respectively). Maybe you could
get around this by explicitly only importing one set in each of two
separate import modules, using the variable name parameter to the 
import module?

That's my 2c at the moment. Hope they can be of some help.

Good luck!

/Nils

Reply via email to