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 7d0d2c9 commit fb0c7d3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class AgEra5PyramidFactoryTest {
)

val from = LocalDate.of(2020, 4, 1).atStartOfDay(ZoneId.of("UTC"))
val to = from plusWeeks 1
val to = from plusWeeks 1 plusDays(1)

val bbox1 = Extent(-9.0, 51.0, -1.0, 59.0)
val bbox2 = Extent(1.0, 41.0, 9.0, 49.0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ class GlobalNetCdfFileLayerProviderTest {
@Test
def zonalMeanWithOpensearchClient(): Unit = {
val from = LocalDate.of(2017, 1, 10).atStartOfDay(ZoneId.of("UTC"))
val to = LocalDate.of(2017, 1, 31).atStartOfDay(ZoneId.of("UTC"))
val to = LocalDate.of(2017, 2, 1).atStartOfDay(ZoneId.of("UTC"))
val boundingBox = ProjectedExtent(Extent(-86.30859375, 29.84064389983441, -80.33203125, 35.53222622770337), LatLng)

val layer = layerProvider2.readTileLayer(from, to, boundingBox, sc = sc).cache()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ class Sentinel2FileLayerProviderTest extends RasterMatchers {
println(SizeEstimator.estimate(localData))
println((System.currentTimeMillis()-time)/1000)
println(localData.map(_._1.time).mkString(";"))
assertEquals(18,localData.length)
assertEquals(17,localData.length)
assertEquals(4,localData(0)._2.bandCount)
assertFalse(localData(0)._2.band(0).isNoDataTile)
assertEquals(ShortUserDefinedNoDataCellType(32767),localData(0)._2.band(1).cellType)
Expand Down

0 comments on commit fb0c7d3

Please sign in to comment.