jllodra / ncdump-json

Modified ncdump to output data in json format
85 stars 28 forks source link

support netcdf4 groups #7

Open ocehugo opened 8 years ago

ocehugo commented 8 years ago

if the cdl is a netcdf4 group type of file, ncdump-json produce an empty {} in the beginning of the json dump.

jllodra commented 8 years ago

Yes, groups are a “missing feature”. ncdump-json is based on the ncdump bundled in netcdf 4.1.1, and that version of ncdump does not support groups either...

A solution could be to diff ncdump 4.1.1 with a newer version to see where the changes are, and then write the proper code for ncdump-json.