@Test
public void testCreateLatBoundsData() {

    final GridDef gridDef = SpatialResolution.DEGREE_5_00.getGridDef();
    final float[][] latBoundsData = WriterHelper.createLatBoundsData(gridDef);
    assertEquals(36, latBoundsData.length);
    assertEquals(2, latBoundsData[0].length);
    assertEquals(85.0, latBoundsData[0][0], 1e-8);
    assertEquals(90.0, latBoundsData[0][1], 1e-8);
    assertEquals(0.0, latBoundsData[17][0], 1e-8);
    assertEquals(5.0, latBoundsData[17][1], 1e-8);
    assertEquals(-90.0, latBoundsData[35][0], 1e-8);
    assertEquals(-85.0, latBoundsData[35][1], 1e-8);
}