@Override protected void fillHeader(Header head){
  try {
    Standard.context(UndefinedData.class);
    head.setXtension("UNKNOWN");
    head.setBitpix(BasicHDU.BITPIX_BYTE);
    head.setNaxes(1);
    head.addValue(NAXISn.n(1),this.data.length);
    head.addValue(PCOUNT,0);
    head.addValue(GCOUNT,1);
    head.addValue(EXTEND,true);
  }
 catch (  HeaderCardException e) {
    LOG.log(Level.SEVERE,"Unable to create unknown header",e);
  }
 finally {
    Standard.context(null);
  }
}

@ Override protected void fillHeader ( Header head ) { try { Standard . context ( UndefinedData . class ) ; head . setXtension ( "UNKNOWN" ) ; head . setBitpix ( BasicHDU . BITPIX_BYTE ) ; head . setNaxes ( 1 ) ; head . addValue ( NAXISn . n ( 1 ) , this . data . length ) ; head . addValue ( PCOUNT , 0 ) ; head . addValue ( GCOUNT , 1 ) ; head . addValue ( EXTEND , true ) ; } catch ( HeaderCardException e ) { LOG . log ( Level . SEVERE , "Unable to create unknown header" , e ) ; } finally { Standard . context ( null ) ; } }
fill header with keywords that describe data .
