Re: [Hdf-forum] [netcdfgroup] How to dump netCDF to JSON?

2016-10-13 Thread Pedro Vicente
Hi Charlie ! So, I am doing that exact same thing. I wrote 1) The specification to convert netCDF/HDF5 to "a" JSON format (note the "a" here) 2) I wrote the parsing of the JSON format using an open source C JSON library (janson). http://www.digip.org/jansson/ 3) left to do: the actual C

Re: [Hdf-forum] [netcdfgroup] How to dump netCDF to JSON?

2016-10-13 Thread Walter Landry
Hi Pedro, Is there a way to represent compound HDF5 objects in your scheme? I see STAR_INT8, STAR_FLOAT, etc., but no STAR_COMPOUND. In any event, FYI, I have implemented a similar thing but in a narrower domain. I needed to map VOTable [1] (an xml format with a defined data model for astronomy