AbstractFormatExporter implements FormatExporter { static String ensureNetCDFName(String variableName) { return variableName.replace(".", "_"); }  @Override void initialize(Product product, ExportParameter exportParameter); @Override void prepareGeographicSubset(NFileWriteable nFileWriteable, ExportParameter exportParameter); @Override void addGlobalAttributes(NFileWriteable nFileWriteable, MetadataElement metadataRoot, ExportParameter exportParameter); @Override void addVariables(NFileWriteable nFileWriteable, ExportParameter exportParameter); @Override abstract void addDimensions(NFileWriteable nFileWriteable);  }
@Test public void testEnsureNetCDFName() { assertEquals("bla_bla_bla", AbstractFormatExporter.ensureNetCDFName("bla_bla_bla")); assertEquals("bla_bla_bla", AbstractFormatExporter.ensureNetCDFName("bla.bla.bla")); }