@Ignore("not visible on spock") @Test public void testWriteFileOnNarr() throws Exception { testFileSize( "B:/ncdc/0409/narr/Narr_A_fc.ncx4", "Accum_snow_surface", "2014-10-01T21:00:00Z", null, null, false); testFileSize( "B:/ncdc/0409/narr/Narr_A_fc.ncx4", "Accum_snow_surface", "2014-10-01T21:00:00Z", "2014-10-02T21:00:00Z", null, false); testFileSize("B:/ncdc/0409/narr/Narr_A_fc.ncx4", "Convective_cloud_cover_entire_atmosphere_3_Hour_Average", "2014-10-01T21:00:00Z", "2014-10-02T21:00:00Z", null, false); }
@Test public void testWriteFileOnTP() throws Exception { testFileSize( TestDir.cdmUnitTestDir + "gribCollections/tp/GFSonedega.ncx4", "Cloud_mixing_ratio_isobaric", "2015-03-26T06:00:00Z", null, null, true); }
@Ignore("not visible on spock") @Test public void testWriteFileOnNarr2() throws Exception { Grib.setDebugFlags(new DebugFlagsImpl("Grib/indexOnly")); testFileSize("B:/ncdc/0409/narr/Narr_A_fc.ncx4", "Accum_snow_surface,Convective_cloud_cover_entire_atmosphere_3_Hour_Average", "2014-10-01T21:00:00Z", "2014-10-02T21:00:00Z", null, true); Grib.setDebugFlags(new DebugFlagsImpl("")); }
@Ignore("not visible on spock") @Test public void testWriteFileOnNarr4() throws Exception { Grib.setDebugFlags(new DebugFlagsImpl("Grib/indexOnly")); ProjectionRect rect = new ProjectionRect( new ProjectionPointImpl(-5645, -4626), 11329, 8992); testFileSize("B:/ncdc/0409/narr/Narr_A_fc.ncx4", "Convective_cloud_cover_entire_atmosphere_3_Hour_Average,Accum_snow_surface", "2014-10-01T21:00:00Z", "2014-10-02T21:00:00Z", rect, true); Grib.setDebugFlags(new DebugFlagsImpl("")); }
@Ignore("not visible on spock") @Test public void testWriteFileOnNarr3() throws Exception { Grib.setDebugFlags(new DebugFlagsImpl("Grib/indexOnly")); ProjectionRect rect = new ProjectionRect( new ProjectionPointImpl(-5645, -4626), 11329, 8992); testFileSize("B:/ncdc/0409/narr/Narr_A_fc.ncx4", "Accum_snow_surface,Convective_cloud_cover_entire_atmosphere_3_Hour_Average", "2014-10-01T21:00:00Z", "2014-10-02T21:00:00Z", rect, true); Grib.setDebugFlags(new DebugFlagsImpl("")); }