[Hdf-forum] integer(8) vs integer(4) - fortran kind parameter issue

2011-09-04 Thread Paul Anton Letnes
Hello everyone. My fortran code using hdf5 compiles nicely on a number of machines. After losing my laptop (sad, but true) I am now installing hdf5 (and other stuff) on my machine to be able to compile my code again. Needless to say, I have made no changes to my code, so compilation should be a

Re: [Hdf-forum] H5Array Conversion

2011-09-04 Thread Gerd Heber
Don, currently, there's no way to do that conversion and, frankly, H5ArrayT is not intended to be used as some kind of array substitute. The only reason to use H5ArrayT is to pass .NET arrays to methods like H5D.read/write(..., new H5ArrayT(your_array)). Why can't you just hang on to 'your_array'

[Hdf-forum] How can I move one child node(group or dataset type node) from its farther?

2011-09-04 Thread hansin
Hello My question is : How can I move one child node(group or dataset type node) from its farther group node to another farther group node? Just like drag-drop operate on the DataStruct Tree. for example: // //---code-- // //1. I create 3 group node under /123 hid_t

Re: [Hdf-forum] H5Array Conversion

2011-09-04 Thread Donald Brandon
Hey Gerb: I seen where you responded to this e-mail. Thank you, but I seem to have lost your response somehow. In it, you had mentioned holding onto my original array. I think I may be missing something. I am trying to read an attribute and its value. I can get the attribute name but

Re: [Hdf-forum] H5Array Conversion

2011-09-04 Thread Gerd Heber
Don, how about this: byte[] my_array = ConvertToBytes(buffer); H5A.read(curAttID, curAttNativeType, new H5ArrayByte(my_array)); // now do something with my_array H5ArrayT is really just a shell game. If you look at the (C++) source code, you'll see that no new arrays/elements are being

Re: [Hdf-forum] H5Array Conversion

2011-09-04 Thread Donald Brandon
Wow! Well that was easy. I guess I wasn't seeing it like that. Once again, thank you. DB On 9/4/2011 11:27 AM, Gerd Heber wrote: Don, how about this: byte[] my_array = ConvertToBytes(buffer); H5A.read(curAttID, curAttNativeType, new H5ArrayByte(my_array)); // now do something with my_array

Re: [Hdf-forum] integer(8) vs integer(4) - fortran kind parameter issue

2011-09-04 Thread brtnfld
On Sun, 4 Sep 2011 16:12:41 +0200, Paul Anton Letnes wrote: Hello everyone. My fortran code using hdf5 compiles nicely on a number of machines. After losing my laptop (sad, but true) I am now installing hdf5 (and other stuff) on my machine to be able to compile my code again. Needless to say, I