Rosetta Batch Processing Scenarios - Unidata/rosetta GitHub Wiki

Scenario 1: conversion of known file types

Zip file containing:

  • 1..* known format data files
  • 1 template file

Scenario 2: conversion of custom file types

Zip file containing:

  • 1..* custom data files
  • 1 template file

Scenario 3: metadata modification

Zip file containing:

  • 1..* custom or known data files
  • 1 template file
  • 1..* metadata modification files

Template used to convert data files, but the data in the metadata files overwrites/corrects what is in the template & or data files.

Each data file has one corresponding metadata file, which:

  • is a text file
  • contains attribute:value pairs
  • has the naming convention .metadata

Additional Notes

  • Batch processing is currently done via RESTful API
  • TODO: add an HTML interface for uploading files
  • TODO: add button to toggle back and forth between wizard and batch processing interfaces
  • Thought: A potential problem could be someone uploading a template/data file to a different rosetta server that doesn't contain the platform, community, etc., as the server that created the original template. Need to address this.