public void open ( ucar . unidata . io . RandomAccessFile raf , ucar . nc2 . NetcdfFile file , ucar . nc2 . util . CancelTask cancelTask ) throws IOException { super . open ( raf , ncfile , cancelTask ) ; headerParser = new NOWRadheader ( ) ; try { headerParser . read ( this . raf , ncfile ) ; } catch ( Exception e ) { } // myInfo = headerParser.getVarInfo(); pcode = 0 ; ncfile . finish ( ) ; }
Open the file and read the header part