Here's one hack you guys can try without asking a new tool. Create NcML file (a variant of XML) and use NetCDF-Java to generate an NetCDF-3 file [1]. Then convert the NetCDF-3 to NetCDF-4 using NCO [2].
The converted NetCDF-4 file is HDF5 file. You got the HDF5 from XML (NcML). Q.E.D. [1] http://www.unidata.ucar.edu/software/netcdf/ncml/ [2] http://hdfeos.net/software/nco.php -- HDF: Software that Powers Science On Thu, Apr 11, 2013 at 11:59 AM, Peter Cao <[email protected]> wrote: > Hi Andy, > > Our HDF5/XML development is in halt because there is little demand for it. > > Could you give us more details on what exact you need for HDF5/XML? > > Assume what you have now: > 1) XML files based on your XML standard or schema > 2) Raw data in binary > > Assume below is what you need > 1) convert XML structure to HDF5 file structure > 2) import the data to HDF5 datasets > > Here is what you need: > 1) an XSLT to transform your XML file to HDF5 XML files > 2) generate HDF5 files from your HDF5 XML files. > #1) should be straightforward. > #2) can be hard. we currently do not have a tool to convert XML to HDF5. > > FYI: we are moving to support HDF5/JSON. The work is still in R&D > stage. When HDF5/JSON is available, you can write an XSLT to convert > your XML files to HDF5 JSON. > > Thanks > --pc > > > > On 4/11/2013 10:07 AM, mdehsadn wrote: >> >> Could I ask if there has been progress on HDF5/XML? >> >> I am part of a initiative developing data format standards for biochemical >> data. We already have an established XML based standard, where data arrays >> are stored as Base-64 encoded binary. These files are averaging about 2Gb >> or >> more each now. We want to establish a sister binary format, quite possibly >> based on HDF5. It seems that with HDF5/XML, we could simply create an XSLT >> transform and that would be it. Otherwise, we would have to describe the >> mapping and implement convertors in C or Java. >> >> Kind regards, >> Andy >> >> >> >> -- >> View this message in context: >> http://hdf-forum.184993.n3.nabble.com/h5gen-or-any-h5dump-generated-XML-to-HDF5-tp3719793p4026080.html >> Sent from the hdf-forum mailing list archive at Nabble.com. >> >> _______________________________________________ >> Hdf-forum is for HDF software users discussion. >> [email protected] >> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org >> > > > _______________________________________________ > Hdf-forum is for HDF software users discussion. > [email protected] > http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
