Nils Smeds wrote:
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.

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.

I need to store the positions as doubles. dx does not support double positions and they get mangled in import. So I want to read them in as double and use compute and replace to set them. However, in the model that is storing them they are x0,x1,x2..,y0,y1,y2... which does not work for importing. I was hoping to import them as a series, use compute to make them into a vector and then assign them into positions. I could shuffle the data by hand and write them out as a vector (That is what I have done TBH) but that is slower on the writting end. Since viz is not as time critical as the model I/O is I would like to avoid that...


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.

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

Good luck!

/Nils



Reply via email to