NPS EML Scripting

Resources and Guides for using EMLassemblyline to create EML for National Park Service data packages

The make_eml() function renders templates (and input arguments) into EML metadata (click edi.260.1.xml for an example EML file).

make_eml() insists on access to the data objects to keep users from the monotonous mind-numbing task of gathering physical attributes (e.g. file size, number of rows, checksums, etc.) each time a data object changes. This enables automatic rebuild of revised data object EML as long as the structure remains constant (i.e. variable types and definitions don’t change, only new records are added). This highlights the benefit of creating data with stable attributes not to mention for the consideration of downstream user workflows depending on a specific input data structure.