protected void fillNonRecordVariables ( ) throws IOException { // run through each variable for ( Variable v : ncfile . getVariables ( ) ) { if ( v . isUnlimited ( ) ) continue ; try { writeData ( v , v . getShapeAsSection ( ) , makeConstantArray ( v ) ) ; } catch ( InvalidRangeException e ) { e . printStackTrace ( ) ; // shouldnt happen } } }
fill buffer with fill value