Exemplo n.º 1
0
 /** Add on global attributes for all types */
 protected void addGlobalAttributes() {
   // global stuff
   ncfile.addAttribute(null, new Attribute("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 4.2 API")); //  at " + dateFormat.toDateTimeStringISO(new
   // Date())));
   ncfile.addAttribute(null, new Attribute(CF.FEATURE_TYPE, getCFFeatureType()));
 }