protected void addGlobalAttributes ( ) { // global stuff ncfile . addAttribute ( null , new Attribute ( CDM . CONVENTIONS , getConventions ( ) ) ) ; String fileType = "GEMPAK " + gemreader . getFileType ( ) ; ncfile . addAttribute ( null , new Attribute ( "file_format" , fileType ) ) ; ncfile . addAttribute ( null , new Attribute ( "history" , "Direct read of " + fileType + " into NetCDF-Java API" ) ) ; ncfile . addAttribute ( null , new Attribute ( CF . FEATURE_TYPE , getCFFeatureType ( ) ) ) ; }
Add on global attributes for all types