Commit Graph

87 Commits

Author SHA1 Message Date
Guntis Smaukstelis 2b1e348dde Fix drawing of temperature, precipitation, wind 2025-02-04 19:42:35 +02:00
Guntis Smaukstelis df8d16ed4a Fetch binary chunk and draw on canvas 2025-02-03 23:33:28 +02:00
Guntis Smaukstelis 8d77a6a582 Setting up harmonie page in frontend 2025-02-02 23:33:15 +02:00
Guntis Smaukstelis ae4080103f Server responses for grib list and grib structure 2025-02-01 23:14:20 +02:00
Guntis Smaukstelis d9303c2e16 Fetch list of harmonie files 2025-02-01 21:20:27 +02:00
Guntis Smaukstelis 94d0612d80 Fetching from harmonie servers 2025-02-01 20:19:58 +02:00
Guntis Smaukstelis cb662e5f53 Add mapping of meteo discipline, category, product 2025-01-31 14:56:59 +02:00
Guntis Smaukstelis 3dbd2b5b55 Moved parser run to GribParserTest 2025-01-30 22:57:32 +02:00
Guntis Smaukstelis de69deb891 Grib list as json 2025-01-30 22:53:00 +02:00
Guntis Smaukstelis 762924cc79 Finish Grib file parser 2025-01-30 22:44:25 +02:00
Guntis Smaukstelis 912ca51cd6 Parse grib file initial attempt 2025-01-30 15:53:26 +02:00
Guntis Smaukstelis 23c0990495 Query and display phenomena 2024-02-08 22:48:27 +02:00
Guntis Smaukstelis 65dfcf052a Query and display city field chart and all city weather data 2024-01-12 17:13:39 +02:00
Guntis Smaukstelis a1ada147f4 Fix hardcoded 2023 year 2024-01-01 20:56:50 +02:00
Guntis Smaukstelis 8534d36ec6 Add postgres host to .env, filter out sum values for country 2024-01-01 20:25:39 +02:00
Guntis Smaukstelis 5dfe61137c Add url logging to database url parsing exception 2023-12-28 00:30:31 +02:00
Guntis Smaukstelis 9851b9dcd3 Fix css for menu, fix prod api url 2023-12-25 23:20:34 +02:00
Guntis Smaukstelis a48b9df91f Query and display weather data for all country 2023-12-24 23:54:16 +02:00
Guntis Smaukstelis 7305718c34 Cleanup and env file 2023-12-19 17:48:48 +02:00
Guntis Smaukstelis d08422f929 Docker compose for scala and postgres 2023-12-19 14:49:22 +02:00
Guntis Smaukstelis 69458131bd Removed time zone from dateTime in db 2023-12-18 16:19:27 +02:00
Guntis Smaukstelis 2aa6c5f43c Cleanup fileservice and dataservice 2023-12-17 22:48:24 +02:00
Guntis Smaukstelis 578fdd778f Querying min,max,avg,sum and also list data 2023-12-17 22:02:53 +02:00
Guntis Smaukstelis 3a1f0ac726 First version of querying data from postgres 2023-12-15 13:49:07 +02:00
Guntis Smaukstelis e89b526a88 Cleaning up data in file manager 2023-12-12 16:15:36 +02:00
Guntis Smaukstelis eaf2788031 Move queries in file manager to postgres 2023-12-12 15:36:30 +02:00
Guntis Smaukstelis 51ed1e2c7a Improving insert queries for postgres 2023-12-11 00:12:52 +02:00
Guntis Smaukstelis 8f2ade2fcf Fix parsing db url, remove 24h state, add db saving 2023-12-10 20:37:53 +02:00
Guntis Smaukstelis f956d658d5 Connect to local/fly database, insert new weather data 2023-12-10 18:47:56 +02:00
Guntis Smaukstelis 526426139c Comment out postgres 2023-11-05 23:21:42 +02:00
Guntis Smaukstelis 4dddcbff03 Add readme about docker, remove postgres.conf from git 2023-10-24 19:59:52 +03:00
Guntis Smaukstelis 6819aa3166 DB connection and transactor as separate class with config and IO 2023-10-24 11:59:23 +03:00
Guntis Smaukstelis 47be3bf385 DB insert/update rows from file, query dates from months 2023-10-23 16:20:45 +03:00
Guntis Smaukstelis aa4fa57adb Refactor to FileService and PostgresService 2023-10-22 23:51:59 +03:00
Guntis Smaukstelis e2c19024a2 Select from table in postgres 2023-10-22 21:19:11 +03:00
Guntis Smaukstelis c9120db28a Create, drop, insert table in postgres 2023-10-21 21:12:58 +03:00
Guntis Smaukstelis f1e68c6dba Limit all dates asking to 3 months range 2023-08-11 16:22:15 +03:00
Guntis Smaukstelis b887317c6b Server returns query data, bar chart, styling charts 2023-08-03 00:03:48 +03:00
Guntis Smaukstelis c5b84727a6 Add granularity for aggregation, group by hour/day/month/year 2023-07-03 23:17:43 +03:00
Guntis Smaukstelis 6ce4d139a8 Use IO.blocking to run on separate thread 2023-06-22 14:20:03 +03:00
Guntis Smaukstelis 3e1635d494 Refactor save return type without Either 2023-06-22 13:59:44 +03:00
Guntis Smaukstelis 1abb12d92a Moved to app/Main, scheduler helper methods moved to unfinished test 2023-05-25 13:51:45 +03:00
Guntis Smaukstelis d651e3f3bd Refactor main files to test files 2023-05-25 13:06:39 +03:00
Guntis Smaukstelis be037a311d Remove StatefulFetchService as we have already DataService with lst 24h state 2023-05-25 11:53:32 +03:00
Guntis Smaukstelis f5e4826b88 DataService to save last 24h of data 2023-05-25 01:46:50 +03:00
Guntis Smaukstelis d40aa9ec9b StatefulFetchService to save last 24h of data 2023-05-25 00:06:20 +03:00
Guntis Smaukstelis 77026a9cb0 Small fixes and cleanup 2023-05-24 16:01:48 +03:00
Guntis Smaukstelis c1625e75fa Improve FileFetchSchedulerSpec test 2023-05-24 14:14:04 +03:00
Guntis Smaukstelis eded85b089 Test for FileFetchScheduler 2023-05-23 22:02:56 +03:00
Guntis Smaukstelis 0581260073 Tests for FileNameService 2023-05-23 20:15:25 +03:00