### Question:
SynopticUncertaintyProvider { public double calculate(AggregationCell cell, double a) { final long sampleCount = cell.getSampleCount(); final double a_2 = a * a; return Math.sqrt(a_2 * eta(cell.getY(), sampleCount)) / sampleCount; } SynopticUncertaintyProvider(SpatialResolution spatialResolution, TemporalResolution temporalResolution); double calculate(AggregationCell cell, double a);  }### Answer:
@Test public void test_calculate() { final AggregationCell testCell = new TestCell(19, 211); SynopticUncertaintyProvider sup = new SynopticUncertaintyProvider(SpatialResolution.DEGREE_0_60, TemporalResolution.weekly7d); assertEquals(0.10276985607975611, sup.calculate(testCell, 2.6), 1e-8); sup = new SynopticUncertaintyProvider(SpatialResolution.DEGREE_0_75, TemporalResolution.weekly5d); assertEquals(0.12447655518902133, sup.calculate(testCell, 3.2), 1e-8); }