Design Document for NDFOUT

NDFOUT

AUTHOR: Tim Ratliff

Functional Summary:

Write LAS image(s) to NLAPS Data Format (NDF) tape(s).

Comments:

NONE

Background:

The routine NDFIN was created to read in NDF format tapes and convert the NDF images to LAS. There existed no routine to convert LAS images to NDF format files and write the files to tape media.

Requirements:

  • Ability to handle volume spanning
  • Formats of BSQ and BIL must be available
  • Sub-windowing and sub-banding capabilities
  • Be able to write to 8mm, 3490, 3480 tape types
  • Scope/Limitations:

  • Input image(s) must be LAS format
  • Will not create tape labels for the tapes
  • Can only write to 8mm, 3490, 3480 tape media's
  • Overall design:

    Flow diagram:

    Postscript version available here
    Postscript version available here

    Algorithm:

    Testing criteria:

  • Test if volume spanning is correctly determined, and if so, the additional headers are correctly created.
  • Test if each format, BSQ, BIL, works
  • Test writing to all 3 tape media types
  • Test all error conditions
  • Test with LAS images of: maxlines, maxsamples, maxbands, I*2, I*4
  • Test writing to tape, then reading tape back in with NDFIN