public class HeaderWriter extends Object
| Constructor and Description |
|---|
HeaderWriter() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addMetaDataToHeader(File file,
nom.tam.fits.BasicHDU hdu,
HeaderSpecification spec,
MetaDataSet metaDataSet)
Fill in a FITS header based on a set of HeaderSpecification.
|
public static void addMetaDataToHeader(File file, nom.tam.fits.BasicHDU hdu, HeaderSpecification spec, MetaDataSet metaDataSet) throws nom.tam.fits.HeaderCardException, IOException
file - The file being written (used for error messages)hdu - The HDU into which the header should be writtenspec - The header specifier to usemetaDataSet - The meta-data to use to fill the headernom.tam.fits.HeaderCardExceptionIOExceptionCopyright © 2023 LSST. All rights reserved.