I have a Group/TreeNode called Swath Attributes in and H4File which contains only instances of Compound/Vdata.
When I try to access with the Enumeration/node stuff from:
when I arrive at the the Swath Attributes it says that it has no children so I cannot use this approach:
if (obj instanceof H4Vdata)
vdata = (H4Vdata)obj;
Note: I made sure it was unzipped with hrepack.
When I try to instantiate an H4Vdata object directly, I cannot create a FileFormat and am unclear on the syntax:
FFH4Instance = FileFormat.getFileFormat(FileFormat.FILE_TYPE_HDF4);
FileFormat ff = FFH4Instance.createInstance(inputFile,FileFormat.FILE_CREATE_OPEN);
I can't seem to settle on a name and path that will find anything:
public*H4Vdata*(FileFormat <http://www.hdfgroup.org/hdf-java-html/javadocs/ncsa/hdf/object/FileFormat.html> theFile,
fileobj = new H4Vdata(ff,"_FV_olr","/L2_Standard_atmospheric&surface_product/Swath Attributes/");
Any help is appreciated.