if (null != g2lookup.getFirstProductStatusName())
ncfile.addAttribute(null, new Attribute("Product_Status", g2lookup.getFirstProductStatusName()));
ncfile.addAttribute(null, new Attribute("Product_Type", g2lookup.getFirstProductTypeName()));
} else if ( lookup instanceof Grib1GridTableLookup ) {
Grib1GridTableLookup g1lookup = (Grib1GridTableLookup) lookup;
center = g1lookup.getFirstCenterName();
subcenter = g1lookup.getFirstSubcenterName();
ncfile.addAttribute(null, new Attribute("Originating_center", center));
if (subcenter != null)
ncfile.addAttribute(null, new Attribute("Originating_subcenter", subcenter));
String model = g1lookup.getModel();
if (model != null)
ncfile.addAttribute(null, new Attribute("Generating_Model", model));
if (null != g1lookup.getFirstProductStatusName())
ncfile.addAttribute(null, new Attribute("Product_Status", g1lookup.getFirstProductStatusName()));
ncfile.addAttribute(null, new Attribute("Product_Type", g1lookup.getFirstProductTypeName()));
}
// CF Global attributes
ncfile.addAttribute(null, new Attribute("title", lookup.getTitle()));
if (lookup.getInstitution() != null)