protected Variable makeMissingVariable ( ) { Variable var = new Variable ( ncfile , null , null , MISSING_VAR ) ; var . setDataType ( DataType . BYTE ) ; var . setDimensions ( ( List < Dimension > ) null ) ; var . addAttribute ( new Attribute ( "description" , "missing flag - 1 means all params are missing" ) ) ; var . addAttribute ( new Attribute ( CDM . MISSING_VALUE , ( byte ) 1 ) ) ; return var ; }
Make the missing variable