@Ignore
  public void testElevationModel() throws Exception {

    final ACEElevationModel dem = getElevationModel();
    int height = 2;
    int width = 2;
    final double[] demValues = new double[width * height];
    int count = 0;

    final GeoPos geoPos = new GeoPos(-18, 20);
    for (int y = 0; y < height; y++) {
      for (int x = 0; x < width; x++) {
        geoPos.setLocation(geoPos.getLat() + x, geoPos.getLon() + y);
        try {
          demValues[count++] = dem.getElevation(geoPos);
        } catch (Exception e) {
          assertFalse("Get Elevation threw: " + e.getMessage(), true);
        }
      }
    }

    assertArrayEquals(expectedValues, demValues, 1.0e-6);
  }
  @Test
  public void testFilenameCreation() throws Exception {
    final ACEElevationModel dem = getElevationModel();

    assertEquals("45S004W.ACE", dem.createTileFilename(-45, -4));
    assertEquals("45S004E.ACE", dem.createTileFilename(-45, +4));
    assertEquals("45N004W.ACE", dem.createTileFilename(+45, -4));
    assertEquals("45N004E.ACE", dem.createTileFilename(+45, +4));

    assertEquals("05S045W.ACE", dem.createTileFilename(-5, -45));
    assertEquals("05S045E.ACE", dem.createTileFilename(-5, +45));
    assertEquals("05N045W.ACE", dem.createTileFilename(+5, -45));
    assertEquals("05N045E.ACE", dem.createTileFilename(+5, +45));

    assertEquals("90S180W.ACE", dem.createTileFilename(-90, -180));
    assertEquals("90S180E.ACE", dem.createTileFilename(-90, +180));
    assertEquals("90N180W.ACE", dem.createTileFilename(+90, -180));
    assertEquals("90N180E.ACE", dem.createTileFilename(+90, +180));
  }