Fix paths in docker images

This commit is contained in:
Guntis Smaukstelis
2025-02-13 23:21:19 +02:00
parent 37ac7eb0e3
commit dc82b95a8a
5 changed files with 17 additions and 8 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ class DataService(log: Logger[IO]) {
}
def getBinaryChunk(offset: Int, length: Int, fileName: String): IO[Array[Byte]] = {
IO {
IO.blocking {
val source = Source.fromFile(s"$GRIB_FOLDER/$fileName", "ISO-8859-1")
try {
source.slice(offset, offset + length).map(_.toByte).toArray