Uses of Class
nom.tam.fits.HeaderCardException
Package
Description
The core classes of nom-tam-fits.
Compressing and decompressing HDUs, for both images and binary tables.
-
Uses of HeaderCardException in nom.tam.fits
Modifier and TypeClassDescriptionclass
The keyword is a HIERARCH-style long FITS keyword but the library does not have the hierarch support enabled at present.class
The string value does not fit into a signle 80-character wide FITS header record, and the library does not have long string support enabled at present.class
The value cannot fit into the available header space, as requested.class
A header value with an unclosed single quote.class
Invalid value type used for a standard header keyword.Modifier and TypeMethodDescriptionHeader.addHexValue
(String key, long val, String comment) Deprecated.Not supported by the FITS standard, so do not use.void
Add information to the header.void
Add information to the header.void
Add information to the header.void
Add information to the header.void
BasicHDU.addValue
(IFitsHeader key, boolean val) Add information to the header.void
BasicHDU.addValue
(IFitsHeader key, double val) Add information to the header.void
BasicHDU.addValue
(IFitsHeader key, int val) Add information to the header.void
BasicHDU.addValue
(IFitsHeader key, String val) Add information to the header.Add or replace a key with the given boolean value and comment.Add or replace a key with the given number value and comment, using up to the specified decimal places after the leading figure.Add or replace a key with the given number value and comment.Add or replace a key with the given string value and comment.Header.addValue
(String key, ComplexValue val, int decimals, String comment) Add or replace a key with the given complex number value and comment, using up to the specified decimal places after the leading figure.Header.addValue
(String key, ComplexValue val, String comment) Add or replace a key with the given complex number value and comment.Header.addValue
(IFitsHeader key, Boolean val) Add or replace a key with the given boolean value and its standardized comment.Header.addValue
(IFitsHeader key, Number val) Add or replace a key with the given double value and its standardized comment.Header.addValue
(IFitsHeader key, String val) Add or replace a key with the given string value and its standardized comment.Header.addValue
(IFitsHeader key, ComplexValue val) Add or replace a key with the given complex value and its standardized comment.set the comment of the current card.static HeaderCard
HeaderCard.createCommentCard
(String text) Creates a new keyed comment card for th FITS header.static HeaderCard
HeaderCard.createCommentStyleCard
(String key, String comment) Creates a comment-style card with no associated value field.static HeaderCard
HeaderCard.createHexValueCard
(String key, long value) Deprecated.Not supported by the FITS standard, so do not use.static HeaderCard
HeaderCard.createHexValueCard
(String key, long value, String comment) Deprecated.Not supported by the FITS standard, so do not use.static HeaderCard
HeaderCard.createHistoryCard
(String text) Creates a new history record for the FITS header.static HeaderCard
HeaderCard.createUnkeyedCommentCard
(String text) Creates a new unkeyed comment card for th FITS header.void
Header.removeCard
(String key) Deprecated.(duplicate method) UseHeader.deleteKey(String)
instead.static HeaderCard
HeaderCard.saveNewHeaderCard
(String key, String comment, boolean hasValue) Deprecated.This was to be used internally only, without public visibility.void
TableHDU.setColumnMeta
(int index, String key, Boolean value, String comment, boolean after) Specify column metadata for a given column in a way that allows all of the column metadata for a given column to be organized together.void
TableHDU.setColumnMeta
(int index, String key, Number value, int precision, String comment, boolean after) Specify column metadata for a given column in a way that allows all of the column metadata for a given column to be organized together.void
TableHDU.setColumnMeta
(int index, String key, Number value, String comment, boolean after) Specify column metadata for a given column in a way that allows all of the column metadata for a given column to be organized together.void
TableHDU.setColumnMeta
(int index, String key, String value, String comment) Specify column metadata for a given column in a way that allows all of the column metadata for a given column to be organized together.void
TableHDU.setColumnMeta
(int index, String key, String value, String comment, boolean after) void
TableHDU.setColumnMeta
(int index, IFitsHeader key, Number value, String comment, boolean after) Specify column metadata for a given column in a way that allows all of the column metadata for a given column to be organized together.void
TableHDU.setColumnMeta
(int index, IFitsHeader key, String value, String comment, boolean after) Specify column metadata for a given column in a way that allows all of the column metadata for a given column to be organized together.void
AsciiTableHDU.setColumnName
(int index, String name, String comment) void
BinaryTableHDU.setColumnName
(int index, String name, String comment) void
TableHDU.setColumnName
(int index, String name, String comment) Sets the name / ID of a specific column in this table.final void
Header.updateLine
(String key, HeaderCard card) Update an existing card in situ, without affecting the current position, or else add a new card at the current position.void
Header.updateLine
(IFitsHeader key, HeaderCard card) Update a valued entry in the header, or adds a new header entry.void
Header.updateLines
(Header newHdr) Overwrite the lines in the header.HeaderCardBuilder.value
(boolean newValue) set the value of the current card.If the card did not exist yet the card will be created.Sets a new number value for the current card.set the value of the current card.If the card did not exist yet the card will be created.set the value of the current card.ModifierConstructorDescriptionHeaderCard
(String key, Boolean value) Creates a new card with a boolean value (and no comment).HeaderCard
(String key, Boolean value, String comment) Creates a new card with a boolean value, and a comment.HeaderCard
(String key, Number value) Creates a new card with a number value.HeaderCard
(String key, Number value, int decimals, String comment) Creates a new card with a number value, using scientific notation, with up to the specified decimal places showing between the decimal place and the exponent.HeaderCard
(String key, Number value, String comment) Creates a new card with a number value and a comment.HeaderCard
(String key, String value) Creates a new card with a string value (and no comment).HeaderCard
(String key, String comment, boolean withNullValue) Deprecated.HeaderCard
(String key, String value, String comment) Creates a new card with a string value, and a commentHeaderCard
(String key, String value, String comment, boolean nullable) Deprecated.HeaderCard
(String key, ComplexValue value) Creates a new card with a complex value.HeaderCard
(String key, ComplexValue value, int decimals, String comment) Creates a new card with a complex number value, using scientific (exponential) notation, with up to the specified number of decimal places showing between the decimal point and the exponent.HeaderCard
(String key, ComplexValue value, String comment) Creates a new card with a complex value and a comment. -
Uses of HeaderCardException in nom.tam.image.compression.hdu
Modifier and TypeMethodDescriptionCompressedImageHDU.getImageHeader()
Obtain a header representative of a decompressed ImageHDU.CompressedTableHDU.getTableHeader()
Obtain a header representative of a decompressed TableHDU.