Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 982 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 982 Bytes

beelzebub-md-iso

Beelzebub-md-iso is a subpackage of beelzebub. Given a metadata record in mdJSON format, it will translate it to ISO19115-2 format.

Example Usage

from beelzebub.md_iso import MdjsonToISO19115_2

conf = {
    'reader': {'iotype': 'file'},
    'writer': {'iotype': 'file'}
}
in_file = '/path/to/mdjson/metadata.json'
out_file = '/path/to/iso19115-2/metadata.xml'

x = MdjsonToISO19115_2(conf=conf)
x.run(in_file, out_file)

References

NOAA have useful metadata resources, including this ISO Workbook and this collection level metadata template.