spacepy.datamodel.readJSONMetadata

spacepy.datamodel.readJSONMetadata(fname, **kwargs)[source]

Read JSON metadata from an ASCII data file

Parameters
fnamestr

Filename to read metadata from

Returns
mdata: spacepy.datamodel.SpaceData

SpaceData with the metadata from the file

Other Parameters
verbosebool (optional)

set verbose output so metadata tree prints on read (default False)