Skip to content

Commit

Permalink
date fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jdries committed Aug 24, 2023
1 parent fb0c7d3 commit 1c8c9a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ class AgEra5PyramidFactoryTest {
assert(baseLayer.metadata.crs == bboxCrs)

assertEquals(275.93, physicalMean(baseLayer,bbox1.extent.toPolygon(), from, bandIndex = 0), 0.03)
assertEquals(0.19, physicalMean(baseLayer,bbox2.extent.toPolygon(), to, bandIndex = 1), 0.03)
assertEquals(0.19, physicalMean(baseLayer,bbox2.extent.toPolygon(), to.minusDays(1), bandIndex = 1), 0.03)
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ class GlobalNetCdfFileLayerProviderTest {
}

assertEquals(1.0106459861932706, mean(from), 0.001)
assertEquals(1.014475609832233, mean(to), 0.001)
assertEquals(1.014475609832233, mean(to.minusDays(1)), 0.001)
}

@Test
Expand Down

0 comments on commit 1c8c9a7

Please sign in to comment.