Commit Graph

187 Commits

Author SHA1 Message Date
Guntis Smaukstelis 9d6b86e218 Fetching from ftp server 2025-03-09 20:02:16 +02:00
Guntis Smaukstelis 52180544e9 Add debugging rest methods for folders and time 2025-03-06 00:00:21 +02:00
Guntis Smaukstelis e9408391ac Rest api for deleting old forecasts 2025-03-05 23:25:42 +02:00
Guntis Smaukstelis 07df4d2cde Restart policy on docker level, max retries 10 2025-03-03 22:46:56 +02:00
Guntis Smaukstelis 17cb0e550a Recover dateTime parsing with hardcded date 2025-03-03 22:32:39 +02:00
Guntis Smaukstelis b43764b868 Restart program 5sec after fatal error 2025-03-03 22:22:20 +02:00
Guntis Smaukstelis 5b99d12d9e Try().recover() for reference date time extracting from grib 2025-03-03 21:31:39 +02:00
Guntis Smaukstelis a3048d7cb3 Scala depends on node 2025-03-02 22:03:27 +02:00
Guntis Smaukstelis 6237788486 Data volume in docker-compose 2025-03-02 20:58:30 +02:00
Guntis Smaukstelis f0c5d2c42b Fix Dockerfile.local except volumes 2025-03-01 18:16:56 +02:00
Guntis Smaukstelis 4bd3733781 Wind direction arrows draw after background scale rotate 2025-02-28 22:45:01 +02:00
Guntis Smaukstelis 38a3d1ccc3 Refactor crop bounds 2025-02-28 13:01:08 +02:00
Guntis Smaukstelis f98537b2d6 Postgres to 16.1 2025-02-27 11:10:33 +02:00
Guntis Smaukstelis 5bb4f1536f Update node, postgres. env variables for scala 2025-02-27 11:05:17 +02:00
Guntis Smaukstelis 2206e1018a Remove console logs 2025-02-26 13:32:07 +02:00
Guntis Smaukstelis 5e47a336e6 Process slideshow requests in batches, add more memory 2025-02-25 18:19:42 +02:00
Guntis Smaukstelis 3696172c72 Optimize getAllStructure with parTraverseN, chunk reading with RandomAccessFile 2025-02-24 23:56:21 +02:00
Guntis Smaukstelis 766d1c8395 List of drawing meteo params, fix canvas race condition 2025-02-24 19:35:49 +02:00
Guntis Smaukstelis ee9fb0e5e9 Download .zip of .webp images 2025-02-24 18:55:39 +02:00
Guntis Smaukstelis e099addd66 SlideShow controls - prev, next, play and download (not finished) 2025-02-23 22:08:26 +02:00
Guntis Smaukstelis b6cc4a4b24 Show which slide show hours is fetched 2025-02-23 20:21:11 +02:00
Guntis Smaukstelis 6c9f544342 Add count to reference date 2025-02-23 17:30:37 +02:00
Guntis Smaukstelis 2893b5acff Basic slideshow functionality 2025-02-21 23:07:49 +02:00
Guntis Smaukstelis 832f723f39 Extract fetch functions to separate file 2025-02-21 20:28:18 +02:00
Guntis Smaukstelis 60c0c0e54c Starting on downloading all gribs for reference date 2025-02-21 19:48:34 +02:00
Guntis Smaukstelis 8cf4cc826d Fix double drawing by taking out canvas from gribfile.tsx 2025-02-18 23:08:31 +02:00
Guntis Smaukstelis ea776991cc Comment out secrets from deploy, interpolate for rotated pic 2025-02-18 20:43:01 +02:00
Guntis Smaukstelis 29ef46f4c7 Interpolate option, also interpolate wind data 2025-02-18 16:03:33 +02:00
Guntis Smaukstelis cb9e6a88a0 Draw latvia contour, rescale canvas 2025-02-18 15:37:17 +02:00
Guntis Smaukstelis b78e8c20b6 Add checkbox for latvia contour 2025-02-16 20:20:06 +02:00
Guntis Smaukstelis 692594dcad Save csv to postgres after fetching 2025-02-16 16:42:35 +02:00
Guntis Smaukstelis 28d0ab2267 Calculate and draw hour precipitation rate 2025-02-14 22:35:02 +02:00
Guntis Smaukstelis 0b221bcfee Download structure for all files in one go. For better UX 2025-02-14 20:26:57 +02:00
Guntis Smaukstelis 8bd5be413d Cleanup now keeps only needed grib files 2025-02-14 14:59:07 +02:00
Guntis Smaukstelis 15cfbd1801 Refactor to one scheduler, separated csv/grib under one folder 2025-02-14 14:46:31 +02:00
Guntis Smaukstelis 3b8bb7d826 Hacky way to hardcode routes for spa 2025-02-14 12:58:19 +02:00
Guntis Smaukstelis dc82b95a8a Fix paths in docker images 2025-02-13 23:21:19 +02:00
Guntis Smaukstelis 37ac7eb0e3 Fix deployment for fly.io 2025-02-13 16:11:50 +02:00
Guntis Smaukstelis c3f85fb477 Create just one scheduler instance 2025-02-13 13:15:46 +02:00
Guntis Smaukstelis 78060f61c0 Add fetch recent gribs to scheduler 2025-02-12 23:32:30 +02:00
Guntis Smaukstelis 35acc79095 Universal scheduler, cleanup task for scheduler 2025-02-12 23:18:40 +02:00
Guntis Smaukstelis 09449b5675 Delete old grib files more than 9hours old 2025-02-11 11:33:27 +02:00
Guntis Smaukstelis cf69372204 Download recent forecasts with checking local files 2025-02-10 23:43:58 +02:00
Guntis Smaukstelis 63d555bf5b Read forecast dates which are already downloaded 2025-02-08 23:34:50 +02:00
Guntis Smaukstelis e203b4c01b Downlaod available forecasts from stac api 2025-02-08 22:31:23 +02:00
Guntis Smaukstelis af9debbb2e Consistent data formatting 2025-02-05 23:35:40 +02:00
Guntis Smaukstelis 9c8902e746 Add wind direction drawing 2025-02-04 22:47:01 +02:00
Guntis Smaukstelis e03ae14cfa Crop Latvia feature, fixed spinner 2025-02-04 22:19:03 +02:00
Guntis Smaukstelis 5cb5b5fc47 Correct colors for categorical rain 2025-02-04 21:59:39 +02:00
Guntis Smaukstelis 2b1e348dde Fix drawing of temperature, precipitation, wind 2025-02-04 19:42:35 +02:00