-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsmartmet-engine-observation.spec
1310 lines (942 loc) · 57.6 KB
/
smartmet-engine-observation.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
%define DIRNAME observation
%define LIBNAME smartmet-%{DIRNAME}
%define SPECNAME smartmet-engine-%{DIRNAME}
Summary: SmartMet Observation Engine
Name: %{SPECNAME}
Version: 25.1.10
Release: 1%{?dist}.fmi
License: FMI
Group: SmartMet/Engines
URL: https://github.com/fmidev/smartmet-engine-observation
Source0: %{name}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%if 0%{?rhel} && 0%{rhel} < 9
%define smartmet_boost boost169
%else
%define smartmet_boost boost
%endif
%define smartmet_fmt_min 11.0.0
%define smartmet_fmt_max 12.0.0
BuildRequires: %{smartmet_boost}-devel
BuildRequires: bzip2-devel
BuildRequires: fmt-devel >= %{smartmet_fmt_min}, fmt-devel < %{smartmet_fmt_max}
BuildRequires: gcc-c++
BuildRequires: gdal38-devel
BuildRequires: libatomic
BuildRequires: make
BuildRequires: rpm-build
BuildRequires: smartmet-engine-geonames-devel >= 25.1.10
BuildRequires: smartmet-library-locus-devel >= 24.9.28
BuildRequires: smartmet-library-macgyver-devel >= 24.11.27
BuildRequires: smartmet-library-spine-devel >= 25.1.10
BuildRequires: smartmet-library-timeseries-devel >= 24.11.28
BuildRequires: sqlite3pp-devel >= 1.0.9
BuildRequires: curl-devel >= 7.61.0
BuildRequires: smartmet-utils-devel >= 24.9.10
BuildRequires: zlib-devel
Requires: %{smartmet_boost}-iostreams
Requires: %{smartmet_boost}-locale
Requires: %{smartmet_boost}-serialization
Requires: %{smartmet_boost}-system
Requires: %{smartmet_boost}-thread
Requires: fmt-libs >= %{smartmet_fmt_min}, fmt-libs < %{smartmet_fmt_max}
Requires: gdal38-libs
Requires: libatomic
Requires: smartmet-engine-geonames >= 25.1.10
Requires: smartmet-library-locus >= 24.9.28
Requires: smartmet-library-macgyver >= 24.11.27
Requires: smartmet-library-spine >= 25.1.10
Requires: smartmet-library-timeseries >= 24.11.28
Requires: smartmet-server >= 24.11.27
Requires: unixODBC
%if 0%{?rhel} && 0%{rhel} == 8
Requires: libpqxx >= 7.7.0 libpqxx < 1:7.8.0
BuildRequires: libpqxx-devel >= 7.7.0 libpqxx-devel < 1:7.8.0
%else
%if 0%{?rhel} && 0%{rhel} >= 9
Requires: libpqxx >= 7.9.0 libpqxx < 1:8.0.0
BuildRequires: libpqxx-devel >= 7.9.0 libpqxx-devel < 1:7.10.0
%else
Requires: libpqxx
BuildRequires: libpqxx-devel
%endif
%endif
%if 0%{?rhel} && 0%{rhel} >= 8
Requires: sqlite-libs >= 3.22.0
BuildRequires: sqlite-devel >= 3.22.0
BuildRequires: libspatialite50-devel
BuildRequires: librttopo-devel
#TestRequires: libspatialite50-devel
#TestRequires: librttopo-devel
#TestRequires: sqlite-devel >= 3.22.0
%if 0%{?rhel} && 0%{rhel} >= 9
#TestRequires: catch2-devel >= 2.1.3
%else
#TestRequires: catch-devel >= 2.1.3
%endif
%else
BuildRequires: libspatialite-devel
BuildRequires: librttopo-devel
Requires: sqlite-libs >= 3.22.0
BuildRequires: sqlite-devel >= 3.22.0
#TestRequires: catch2-devel
%endif
Obsoletes: smartmet-brainstorm-obsengine < 16.11.1
Obsoletes: smartmet-brainstorm-obsengine-debuginfo < 16.11.1
#TestRequires: make
#TestRequires: gcc-c++
#TestRequires: gdal38-devel
#TestRequires: bzip2-devel
#TestRequires: zlib-devel
#TestRequires: smartmet-engine-geonames
#TestRequires: smartmet-library-macgyver
#TestRequires: smartmet-library-timeseries
#TestRequires: smartmet-library-timeseries-devel
#TestRequires: smartmet-library-spine
#TestRequires: smartmet-test-data
Requires: libspatialite50
BuildRequires: libspatialite50-devel
#TestRequires: libspatialite50-devel
# pkg-config for libspatialite wants these
BuildRequires: minizip-devel
BuildRequires: freexl-devel
BuildRequires: proj94-devel
Requires: proj94
BuildRequires: libxml2-devel
#TestRequires: minizip-devel
#TestRequires: freexl-devel
#TestRequires: proj94-devel
#TestRequires: libxml2-devel
Provides: %{SPECNAME}
%description
SmartMet engine for fetching observations from the climate database (cldb).
%package -n %{SPECNAME}-devel
Summary: SmartMet %{SPECNAME} development headers
Group: SmartMet/Development
Provides: %{SPECNAME}-devel
Requires: %{SPECNAME} = %{version}-%{release}
Requires: smartmet-library-spine-devel >= 24.11.27
Obsoletes: smartmet-brainstorm-obsengine-devel < 16.11.1
%description -n %{SPECNAME}-devel
SmartMet %{SPECNAME} development headers.
%prep
rm -rf $RPM_BUILD_ROOT
%setup -q -n %{SPECNAME}
%build -q -n %{SPECNAME}
make %{_smp_mflags}
%install
%makeinstall
%post
/sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files -n %{SPECNAME}
%defattr(0775,root,root,0775)
%{_datadir}/smartmet/engines/%{DIRNAME}.so
%defattr(0664,root,root,0775)
%config(noreplace) %{_var}/smartmet/observation/stations.txt
%config(noreplace) %{_var}/smartmet/observation/stations.sqlite
%files -n %{SPECNAME}-devel
%defattr(0664,root,root,0775)
%{_includedir}/smartmet/engines/%{DIRNAME}
%changelog
* Fri Jan 10 2025 Andris Pavēnis <[email protected]> 25.1.10-1.fmi
- Admin/info request update
* Thu Jan 9 2025 Andris Pavēnis <[email protected]> 25.1.9-1.fmi
- Fix missing size check of boost::algorithm::split result before use
* Sat Nov 30 2024 Mika Heiskanen <[email protected]> - 24.11.30-1.fmi
- Speeded up BBOX queries
* Tue Nov 26 2024 Mika Heiskanen <[email protected]> - 24.11.26-1.fmi
- Fixed handling of modified observations in ObservationMemoryCache
* Tue Nov 12 2024 Mika Heiskanen <[email protected]> - 24.11.12-1.fmi
- Removed unnecessary GROUP BY clauses which unnecessarily slow down PG requests
* Fri Nov 8 2024 Andris Pavēnis <[email protected]> 24.11.8-1.fmi
- Register admin requests to SmartMet::Spine::Reactor
* Tue Oct 15 2024 Mika Heiskanen <[email protected]> - 24.10.15-1.fmi
- Removed landscaped parameter handling as obsolete
* Sat Sep 28 2024 Mika Heiskanen <[email protected]> - 24.9.28-1.fmi
- Added optional slow_query_limit (seconds) for PG drivers for reporting slow SQL queries
* Tue Sep 12 2024 Pertti Kinnia <[email protected]> - 24.9.12-1.fmi
- Added 'postgresql_mobile_observations' driver boolean config setting 'loadFmiIoTStations' (defaults to true) to control loading of iot stations from cldb since stations can't be fetched when using opendata connection
- Added loading of config value for some TAPSI observations cache control settings (BRAINSTORM-3008)
* Tue Sep 10 2024 Pertti Kinnia <[email protected]> - 24.9.10-1.fmi
- TAPSI observations support (BRAINSTORM-3008)
* Thu Aug 15 2024 Mika Heiskanen <[email protected]> - 24.8.15-2.fmi
- Added warnings if Spatialite or PostgreSQL connection pools are busy
* Thu Aug 15 2024 Mika Heiskanen <[email protected]> - 24.8.15-1.fmi
- Prefer INSERT OR REPLACE over INSERT OR IGNORE for foreign observations and flash data
* Fri Aug 9 2024 Mika Heiskanen <[email protected]> - 24.8.9-1.fmi
- Removed rest of BK hydrometa code
* Wed Aug 7 2024 Andris Pavēnis <[email protected]> 24.8.7-1.fmi
- Update to gdal-3.8, geos-3.12, proj-94 and fmt-11
* Mon Aug 5 2024 Mika Heiskanen <[email protected]> - 24.8.5-1.fmi
- Fixed bug in generating flash SQL queries when no special details on flashes are requested
* Mon Jul 22 2024 Andris Pavēnis <[email protected]> 24.7.22-1.fmi
- Rebuild dues to smartmet-library-macgyver changes
* Fri Jul 12 2024 Andris Pavēnis <[email protected]> 24.7.12-1.fmi
- Replace many boost library types with C++ standard library ones
* Tue May 28 2024 Andris Pavēnis <[email protected]> 24.5.28-1.fmi
- Do not use LocalTimePool
* Mon May 27 2024 Mika Heiskanen <[email protected]> - 24.5.27-1.fmi
- Repackaged to initialize CacheStats start time properly
* Tue May 21 2024 Mika Heiskanen <[email protected]> - 24.5.21-1.fmi
- Added wsi handling to SpecialParameters
* Thu May 16 2024 Andris Pavēnis <[email protected]> 24.5.16-1.fmi
- Clean up boost date-time uses
* Mon May 6 2024 Andris Pavēnis <[email protected]> 24.5.6-1.fmi
- Use Date library (https://github.com/HowardHinnant/date) instead of boost date_time
* Tue Apr 9 2024 Mika Heiskanen <[email protected]> - 24.49-1.fmi
- Fixed station_elevation handling
* Fri Apr 5 2024 Mika Heiskanen <[email protected]> - 24.4.5-1.fmi
- Added support for WIGOS wsi
* Tue Mar 26 2024 Mika Heiskanen <[email protected]> - 24.3.26-1.fmi
- Faster read of LPNN, WMO and RWSID numbers
* Fri Feb 23 2024 Mika Heiskanen <[email protected]> 24.2.23-1.fmi
- Full repackaging
* Wed Feb 21 2024 Mika Heiskanen <[email protected]> - 24.2.21-1.fmi
- Repackaged
* Tue Feb 20 2024 Mika Heiskanen <[email protected]> - 24.2.20-1.fmi
- Removed obsolete BK hydrometa code
* Wed Jan 17 2024 Mika Heiskanen <[email protected]> - 24.1.17-1.fmi
- Fixed fetching moving stations to take the station type into account (BRAINSTORM-2838)
* Tue Jan 9 2024 Mika Heiskanen <[email protected]> - 24.1.9-1.fmi
- Fixed lat/lon to behave similarly to latitude/longitude for ice buoys
* Thu Jan 4 2024 Mika Heiskanen <[email protected]> - 24.1.4-1.fmi
- Repackaged due to ABI changes in TimeSeriesGeneratorOptions
* Mon Dec 4 2023 Andris Pavēnis <[email protected]> 23.12.4-1.fmi
- Fix getting magnetometer data (avoid incorret std::vector access)
* Wed Nov 8 2023 Mika Heiskanen <[email protected]> - 23.11.8-1.fmi
- Automatically drop redundant cache indices (BRAINSTORM-2785)
* Mon Oct 30 2023 Anssi Reponen <[email protected]> - 23.10.30-1.fmi
- Added handling of stationtype parameter (BRAINSTORM-2756)
* Wed Oct 18 2023 Mika Heiskanen <[email protected]> - 23.10.18-1.fmi
- Repackaged to remove a debug message
* Tue Oct 17 2023 Pertti Kinnia <[email protected]> - 23.10.17-2.fmi
- Added station query group_code 'HELCOM' (BRAINSTORM-2761)
* Tue Oct 17 2023 Mika Heiskanen <[email protected]> - 23.10.17-1.fmi
- Fixed sqlite driver to check the station validity period
- Removed unnecessary separate loading of location coordinates
- Establish allowed station groups just once early in the query instead of in several places
* Mon Oct 16 2023 Mika Heiskanen <[email protected]> - 23.10.16-1.fmi
- Fixed handling of station valid_from - valid_to and location_start - location_end intervals
* Wed Oct 11 2023 Mika Heiskanen <[email protected]> - 23.10.11-1.fmi
- Fixed reading of station metadata time periods
* Tue Oct 10 2023 Mika Heiskanen <[email protected]> - 23.10.10-1.fmi
- Added an extra check for an observation query to prevent undefined behaviour
* Wed Aug 9 2023 Anssi Reponen <[email protected]> - 23.8.9-1.fmi
- Get latest data update time from cache or DB (BRAINSTORM-2613)
* Fri Jul 28 2023 Andris Pavēnis <[email protected]> 23.7.28-1.fmi
- Repackage due to bulk ABI changes in macgyver/newbase/spine
* Wed Jul 12 2023 Andris Pavēnis <[email protected]> 23.7.12-2.fmi
- Use postgresql 15, gdal 3.5, geos 3.11 and proj-9.0
* Wed Jul 12 2023 Mika Heiskanen <[email protected]> - 23.7.12-1.fmi
- Silenced compiler warnings
* Wed Jun 21 2023 Mika Heiskanen <[email protected]> - 23.6.21-1.fmi
- Speed improvements
* Mon Jun 12 2023 Mika Heiskanen <[email protected]> - 23.6.12-1.fmi
- Fixed sqlite prepared statements to be reset after each call
* Thu Jun 1 2023 Mika Heiskanen <[email protected]> - 23.6.1-1.fmi
- Added support for stationgroups subset requests
* Tue May 23 2023 Mika Heiskanen <[email protected]> - 23.5.23-1.fmi
- Do large cache updates in blocks of specific time interval to reduce database load
- Improved sqlite cache fill speed
- Fixed error in a PostgreSQL cache retrieval method
* Tue May 16 2023 Mika Heiskanen <[email protected]> - 23.5.16-1.fmi
- Improved exception tracking
* Thu May 11 2023 Anssi Reponen <[email protected]> - 23.5.11-1.fmi
- Fetch measurand info from database, EDR metadata uses that info
* Wed May 10 2023 Mika Heiskanen <[email protected]> - 23.5.10-1.fmi
- Improved code to look for observations closest to the desired time instead of just the latest time
* Thu Apr 27 2023 Andris Pavēnis <[email protected]> 23.4.27-1.fmi
- Repackage due to macgyver ABI changes (AsyncTask, AsyncTaskGroup)
* Mon Apr 3 2023 Mika Heiskanen <[email protected]> - 23.4.3-1.fmi
- Catch exceptions from illegal dates while reading station metadata from the database
* Wed Mar 22 2023 Mika Heiskanen <[email protected]> - 23.3.22-1.fmi
- Silenced several compiler warnings (including ones on possibly undefined behaviour)
* Tue Mar 21 2023 Andris Pavēnis <[email protected]> 23.3.21-1.fmi
- Allow disabling engine by not providing its configuration file
* Wed Mar 15 2023 Anssi Reponen <[email protected]> - 23.3.15-1.fmi
- Fixed result when only fmisid and place is queried
- Silenced several compiler warnings
* Tue Mar 14 2023 Mika Heiskanen <[email protected]> - 23.3.14-2.fmi
- Memory leak fixes
- Improved shutdown for station metadata update loops
* Tue Mar 14 2023 Anssi Reponen <[email protected]> - 23.3.14-1.fmi
- Added handling of new metaparameters: CloudCeiling,CloudCeilingFT,CloudCeilingHFT (BRAINSTORM-2556)
* Thu Mar 2 2023 Mika Heiskanen <[email protected]> - 23.3.2-1.fmi
- Fixed weather_data_qc cache data value to be possibly NULL
* Wed Feb 22 2023 Mika Heiskanen <[email protected]> - 23.2.22-1.fmi
- Fixed SmartSymbol calculation to handle missing values
- Do not alter the missing value special parameter columns
* Thu Feb 9 2023 Mika Heiskanen <[email protected]> - 23.2.9-1.fmi
- Fixed EXTWATER stations to work
- Improved support for debug=1 : print more SQL queries
* Wed Feb 8 2023 Anssi Reponen <[email protected]> - 23.2.8-1.fmi
- Create moving_locations cache table together with observation_data table
* Wed Feb 1 2023 Mika Heiskanen <[email protected]> - 23.2.1-2.fmi
- Fixed default sqlite database to include moving locations
- Fixed default stations.txt to include translations
* Wed Feb 1 2023 Anssi Reponen <[email protected]> - 23.2.1-1.fmi
- Added language support for station names (BRAINSTORM-2514)
* Thu Jan 26 2023 Anssi Reponen <[email protected]> - 23.1.26-1.fmi
- Added support for request size limits (BRAINSTORM-2443)
* Tue Jan 24 2023 Mika Heiskanen <[email protected]> - 23.1.24-1.fmi
- Use string conversion functions from macgyver to avoid std::locale locks
* Wed Jan 11 2023 Anssi Reponen <[email protected]> - 23.1.11-1.fmi
- Added support for moving stations icebuoy and copernicus (BRAINSTORM-2409)
* Fri Dec 16 2022 Mika Heiskanen <[email protected]> - 22.12.16-1.fmi
- Repackaged since PostgreSQLConnection ABI changed
* Thu Dec 8 2022 Anssi Reponen <[email protected]> - 22.12.8-1.fmi
- Fixed handling of Fmi IoT stations (BRAINSTORM-2494)
* Wed Nov 30 2022 Anssi Reponen <[email protected]> - 22.11.30-1.fmi
- In flash query read bounding box from settings.boundingBox instead of from loc->name
* Tue Nov 29 2022 Anssi Reponen <[email protected]> - 22.11.29-1.fmi
- Flash query must not check empty station list (BRAINSTORM-2490)
* Sat Nov 26 2022 Mika Heiskanen <[email protected]> - 22.11.26-1.fmi
- Don't do database query with empty station list (BRAINSTORM-2478)
* Wed Oct 12 2022 Mika Heiskanen <[email protected]> - 22.10.12-1.fmi
- Removed unnecessary repeated messages on large flash cache updates
* Tue Oct 11 2022 Mika Heiskanen <[email protected]> - 22.10.11-1.fmi
- Restored more special parameters for the benefit of the WFS plugin
* Mon Oct 10 2022 Mika Heiskanen <[email protected]> - 22.10.10-2.fmi
- Restored longitude, latitude, lon and lat special parameters for the benefit of WMS and other plugins
* Mon Oct 10 2022 Mika Heiskanen <[email protected]> - 22.10.10-1.fmi
- Removed obsolete special parameter handling code which is now in TimeSeries library
* Wed Oct 5 2022 Mika Heiskanen <[email protected]> - 22.10.5-1.fmi
- Do not use boost::noncopyable
* Tue Oct 4 2022 Anssi Reponen <[email protected]> - 22.10.4-1.fmi
- Added support for magnetometer observations via WFS-plugin (BRAINSTORM-2279)
* Thu Sep 15 2022 Anssi Reponen <[email protected]> - 22.9.15-1.fmi
- New parameters for producer fmi_iot (BRAINSTORM-2404)
* Fri Sep 9 2022 Mika Heiskanen <[email protected]> - 22.9.9-1.fmi
- Repackaged since TimeSeries library ABI changed
* Mon Aug 29 2022 Andris Pavēnis <[email protected]> 22.8.29-1.fmi
- Fix filling missing values of special parameters
* Thu Jul 28 2022 Mika Heiskanen <[email protected]> - 22.7.28-1.fmi
- More useful and less verbose shutdown messages
* Wed Jul 27 2022 Mika Heiskanen <[email protected]> - 22.7.27-1.fmi
- Repackaged since macgyver CacheStats ABI changed
* Fri Jul 22 2022 Andris Pavēnis <[email protected]> 22.7.22-1.fmi
- Wait for async tasks to terminate at engine shutdown
* Wed Jul 20 2022 Andris Pavēnis <[email protected]> 22.7.20-1.fmi
- Repackage due to macgyver (AsynTaskGroup) ABI changes
* Mon Jul 18 2022 Andris Pavēnis <[email protected]> 22.7.18-1.fmi
- Rebuild due to package update from PGDG (RHEL-9)
* Tue Jun 21 2022 Andris Pavēnis <[email protected]> 22.6.21-2.fmi
- Add support for RHEL9, upgrade libpqxx to 7.7.0 (rhel8+) and fmt to 8.1.1
* Tue Jun 21 2022 Mika Heiskanen <[email protected]> - 22.6.21-1.fmi
- Initialize drivers in parallel for speed
* Tue Jun 7 2022 Anssi Reponen <[email protected]> - 22.6.7-1.fmi
- Check producer_id when reading data from memory cache (BRAINSTORM-2334)
* Thu Jun 2 2022 Anssi Reponen <[email protected]> - 22.6.2-1.fmi
- Added parameters to MetaData structure because of EDR plugin (BRAINSTORM-2308)
* Tue May 31 2022 Andris Pavēnis <[email protected]> 22.5.31-1.fmi
- Support engine disabling
* Tue May 24 2022 Mika Heiskanen <[email protected]> - 22.5.24-1.fmi
- Repackaged due to NFmiArea ABI changes
* Tue May 10 2022 Anssi Reponen <[email protected]> - 22.5.10-1.fmi
- Allow loadStations=true for multiple database drivers (BRAINSTORM-2320)
* Mon May 9 2022 Anssi Reponen <[email protected]> - 22.5.9-1.fmi
- Read producer ids from database (BRAINSTORM-2297)
- Remove useless exceptions (BRAINSTORM-2303)
* Wed Apr 20 2022 Andris Pavenis <[email protected]> 22.4.20-1.fmi
- Property.cpp: fix output of std::string
* Fri Apr 8 2022 Andris Pavēnis <[email protected]> 22.4.8-1.fmi
- QueryResult::castTo<>: add partial specialization for boost::posix_time::ptime
* Mon Apr 4 2022 Anssi Reponen <[email protected]> - 22.4.4-1.fmi
- Added support for magnetometer observations (BRAINSTORM-2279)
* Fri Apr 1 2022 Andris Pavēnis <[email protected]> 22.4.1-1.fmi
- StandardFilter: add filters IsOneOf and IsNotOf
* Fri Mar 18 2022 Andris Pavēnis <[email protected]> 22.3.18-1.fmi
- Update due to smartmet-library-spine and smartmet-library-timeseries changes
* Tue Mar 15 2022 Mika Heiskanen <[email protected]> - 22.3.15-1.fmi
- Optimized sqlite requests for speed when fetched time interval is a single time point
* Thu Mar 10 2022 Mika Heiskanen <[email protected]> - 22.3.10-1.fmi
- Repackaged due to refactored library dependencies
* Tue Mar 8 2022 Anssi Reponen <[email protected]> - 22.3.8-1.fmi
- Started using timeseries-library (BRAINSTORM-2259)
* Mon Feb 28 2022 Mika Heiskanen <[email protected]> - 22.2.28-1.fmi
- Improved error handling of special parameters
* Tue Feb 15 2022 Mika Heiskanen <[email protected]> - 22.2.15-1.fmi
- Allow stationtype "default" when solving measurand ids if no exact match is found
* Thu Feb 10 2022 Andris Pavēnis <[email protected]> 22.2.10-2.fmi
- Fix RPM dependencies
* Thu Feb 10 2022 Mika Heiskanen <[email protected]> - 22.2.10-1.fmi
- Use sqlite33
* Tue Feb 8 2022 Andris Pavēnis <[email protected]> 22.2.8-2.fmi
- Use makefile.inc for support of libspatialite and sqlite3
* Tue Feb 8 2022 Anssi Reponen <[email protected]> - 22.2.8-1.fmi
- sqlite3pp headers moved to sqlite3pp-devel library (BRAINSTORM-2187)
* Tue Feb 1 2022 Anssi Reponen <[email protected]> - 22.2.1-1.fmi
- Default number for parameters in configuration file (BRAINSTORM-2243)
* Fri Jan 21 2022 Andris Pavēnis <[email protected]> 22.1.21-1.fmi
- Repackage due to upgrade of packages from PGDG repo: gdal-3.4, geos-3.10, proj-8.2
* Fri Jan 14 2022 Mika Heiskanen <[email protected]> - 22.1.14-1.fmi
- Use observation_data_r1 instead of observation_data_v1
* Mon Dec 20 2021 Andris Pavēnis <[email protected]> 21.12.20-1.fmi
- Reimplement special parameter support
* Tue Dec 7 2021 Andris Pavēnis <[email protected]> 21.12.7-1.fmi
- Update to postgresql 13 and gdal 3.3
* Tue Nov 30 2021 Mika Heiskanen <[email protected]> - 21.11.30-1.fmi
- Flush important messages to the log immediately
* Thu Nov 11 2021 Mika Heiskanen <[email protected]> - 21.11.11-1.fmi
- Repackaged since ValueFormatter ABI changed
* Thu Nov 4 2021 Anssi Reponen <[email protected]> - 21.11.4-1.fmi
- Fixed default-sensor bug in PostgreSQL driver (BRAINSTORM-2196)
* Mon Sep 20 2021 Mika Heiskanen <[email protected]> - 21.9.20-1.fmi
- Avoid excessive logging on large flash cache updates when the flash season is over
* Thu Sep 16 2021 Anssi Reponen <[email protected]> - 21.9.16-1.fmi
- SpatiaLiteCache::getFlashCount to start using memory cache (BRAINSTORM-2139)
* Mon Sep 13 2021 Mika Heiskanen <[email protected]> - 21.9.13-1.fmi
- Repackaged due to Fmi::Cache statistics fixes
* Tue Sep 7 2021 Andris Pavēnis <[email protected]> 21.9.7-1.fmi
- Rebuild due to dependency changes
* Tue Aug 31 2021 Mika Heiskanen <[email protected]> - 21.8.31-1.fmi
- Fixes to spatialite cache miss counting
* Mon Aug 30 2021 Anssi Reponen <[email protected]> - 21.8.30-1.fmi
- Cache counters added (BRAINSTORM-1005)
* Fri Aug 27 2021 Mika Heiskanen <[email protected]> - 21.8.27-1.fmi
- Avoid stringstreams in pqxx version 5 field conversions
* Sat Aug 21 2021 Mika Heiskanen <[email protected]> - 21.8.21-1.fmi
- Repackaged due to LocalTimePool ABI change
* Thu Aug 19 2021 Mika Heiskanen <[email protected]> - 21.8.19-1.fmi
- Start using local time pool to avoid unnecessary allocations of local_date_time objects (BRAINSTORM-2122)
* Tue Aug 17 2021 Mika Heiskanen <[email protected]> - 21.8.17-1.fmi
- Use new shutdown API
* Mon Aug 16 2021 Mika Heiskanen <[email protected]> - 21.8.16-1.fmi
- Faster bbox searches for lightning data in the memory cache
* Wed Aug 11 2021 Mika Heiskanen <[email protected]> - 21.8.11-2.fmi
- Fixed cleaning of observation memory cache
- Removed sqlite threading_model and memstatus settings as obsolete
- Fixed location of observation memory cache not to be in a pool
* Tue Aug 10 2021 Mika Heiskanen <[email protected]> - 21.8.10-1.fmi
- Fixed updateExtraInterval to be applied to modified_last instead of data_time
* Mon Aug 9 2021 Anssi Reponen <[email protected]> - 21.8.9-1.fmi
- Flash emulator implemented (BRAINSTORM-2126)
* Thu Aug 5 2021 Mika Heiskanen <[email protected]> - 21.8.5-2.fmi
- Speed optimizations
* Thu Aug 5 2021 Anssi Reponen <[email protected]> - 21.8.5-1.fmi
- Added support for new mobile producer 'bk_hydrometa' (BRAINSTORM-2125)
* Mon Aug 2 2021 Mika Heiskanen <[email protected]> - 21.8.2-1.fmi
- ObservationMemoryCache now uses boost::atomic_shared_ptr for better thread safety
* Sat Jul 31 2021 Mika Heiskanen <[email protected]> - 21.7.31-1.fmi
- Use boost::atomic_shared_ptr for better thread safety
* Wed Jul 28 2021 Mika Heiskanen <[email protected]> - 21.7.28-1.fmi
- Silenced more compiler warnings
* Tue Jul 27 2021 Mika Heiskanen <[email protected]> - 21.7.27-1.fmi
- Silenced several compiler warnings
* Tue Jul 13 2021 Andris Pavēnis <[email protected]> 21.7.13-1.fmi
- Update according to macgyver API changes
* Thu Jul 8 2021 Andris Pavēnis <[email protected]> 21.7.8-1.fmi
- Use libpqxx7 for RHEL8
* Mon Jul 5 2021 Andris Pavēnis <[email protected]> 21.7.5-1.fmi
- Move DataFilter to smartmet-library-spine
* Wed Jun 30 2021 Mika Heiskanen <[email protected]> - 21.6.30-1.fmi
- Simplified ObservationMemoryCache::clean
- Fixed ObservationMemoryCache::read_observations to use std::lower_bound instead of std::upper_bound
* Tue Jun 29 2021 Mika Heiskanen <[email protected]> - 21.6.29-2.fmi
- Fixed FlashMemoryCache::getData to handle the end of the flash data correctly
* Thu Jun 24 2021 Mika Heiskanen <[email protected]> - 21.6.24-1.fmi
- Fixed weather_data_qc cache updates logic : sometimes the data contains dates in the future
* Wed Jun 23 2021 Mika Heiskanen <[email protected]> - 21.6.23-3.fmi
- Fixed sorting of memory cache observations. RHEL7 std::inplace_merge seems to be bugged.
* Wed Jun 23 2021 Mika Heiskanen <[email protected]> - 21.6.23-2.fmi
- Fixed a bug in parsing OR/AND clauses in SQLDataFilter
* Wed Jun 23 2021 Mika Heiskanen <[email protected]> - 21.6.23-1.fmi
- Fixed safety issues in ObservationMemoryCache and FlashMemoryCache
* Wed Jun 16 2021 Mika Heiskanen <[email protected]> - 21.6.16-1.fmi
- Fixed PostgreSQL connection pool to use all members of the pool more efficiently to keep the connections alive
* Mon Jun 14 2021 Mika Heiskanen <[email protected]> - 21.6.14-1.fmi
- Fixed handling of NULL modified_last in weather_data_qc caches
* Thu Jun 10 2021 Andris Pavenis <[email protected]> 21.6.10-1.fmi
- Speed up engine shutdown: interruption points and postgresql operation cancel
* Mon May 31 2021 Mika Heiskanen <[email protected]> - 21.5.31-2.fmi
- Use modified_last as search condition in PG flash_data updates
- sqlite cache weather_data_qc and flash_data modified_last is now not null with default 1970-01-01
- sqlite cache weather_data_qc value column may now be null in case quality control decides to reset the value
* Mon May 31 2021 Mika Heiskanen <[email protected]> - 21.5.31-1.fmi
- Use modified_last as search condition in PG weather_data_qc updates
* Thu May 27 2021 Mika Heiskanen <[email protected]> - 21.5.27-1.fmi
- Sorted cache data item members into descending order by size to avoid unnecessary padding
* Thu May 20 2021 Mika Heiskanen <[email protected]> - 21.5.20-2.fmi
- Repackaged with improved hashing functions
* Thu May 20 2021 Mika Heiskanen <[email protected]> - 21.5.20-1.fmi
- Use Fmi hash functions, boost::hash_combine produces too many collisions
* Wed May 19 2021 Anssi Reponen <[email protected]> - 21.5.19-1.fmi
- Fixed handling of empty result set (BRAINSTORM-2061)
* Tue May 18 2021 Anssi Reponen <[email protected]> - 21.5.18-1.fmi
- Fixed data_quality condition in SQL statements (BRAINSTORM-2063)
- Fixed reading of default data_quality condition from configuration file
- Added 'eq' operator in SQLDataFilter
* Mon May 17 2021 Mika Heiskanen <[email protected]> - 21.5.17-1.fmi
- Fixed ObservationCacheAdmihnPostgreSQL to return correct last observation times
- Use only modified_last in PG cache updates, adding an OR for modified_last is very slow
* Tue Apr 20 2021 Anssi Reponen <[email protected]> - 21.4.20-1.fmi
- Added support for station info request (SMARTMET-2039)
* Tue Apr 6 2021 Anssi Reponen <[email protected]> - 21.4.6-1.fmi
- Load stations from database and update stations.txt when loadStations=true (BRAINSTORM-2036)
* Wed Mar 31 2021 Mika Heiskanen <[email protected]> - 21.3.31-1.fmi
- Fixed reloadStations to work even if both Oracle and mobile observations are active
- Dropped stations table from the spatialite cache as unnecessary
- Updated default stations.txt to latest information from FMI
* Tue Mar 23 2021 Anssi Reponen <[email protected]> - 21.3.23-1.fmi
- If WeatherNumber requested from observation engine return null values (BRAINSTORM-1484)
* Thu Mar 18 2021 Anssi Reponen <[email protected]> - 21.3.18-1.fmi
- Database table name configurable for mobile observations (BRAINSTORM-2022)
* Mon Mar 15 2021 Anssi Reponen <[email protected]> - 21.3.15-1.fmi
- Fixed handling of missing timesteps (BRAINSTORM-2028)
* Fri Mar 12 2021 Pertti Kinnia <[email protected]> - 21.3.12-1.fmi
- Crash prevention by ensuring timeseries vector end boundary is not exceeded
* Thu Mar 11 2021 Mika Heiskanen <[email protected]> - 21.3.11-1.fmi
- Map legacy producer 'fmi' to 'observations_fmi'
* Wed Mar 10 2021 Mika Heiskanen <[email protected]> - 21.3.10-1.fmi
- Removed legacy mapping of most producers to observations_fmi in the spatialite/postgresql caches
* Tue Mar 9 2021 Mika Heiskanen <[email protected]> - 21.3.9-1.fmi
- Fixed insertion of NULL values into the sqlite cache
* Mon Mar 8 2021 Mika Heiskanen <[email protected]> - 21.3.8-1.fmi
- Small improvement to error messages
* Tue Mar 2 2021 Mika Heiskanen <[email protected]> - 21.3.2-3.fmi
- Fixed groupok function not to copy the input set of stations
* Tue Mar 2 2021 Mika Heiskanen <[email protected]> - 21.3.2-2.fmi
- Avoid unnecessary LocationDataItems copying
* Tue Mar 2 2021 Mika Heiskanen <[email protected]> - 21.3.2-1.fmi
- Use emplace_back when possible for speed
* Thu Feb 25 2021 Mika Heiskanen <[email protected]> - 21.2.25-1.fmi
- Producer parameter info table in a form more suitable for column sorting and searching
* Thu Feb 11 2021 Anssi Reponen <[email protected]> - 21.2.11-1.fmi
- Fixed special parameter handling in spatialite queries. No more null values
for special parameters when timestep is not found in data.
* Wed Feb 10 2021 Mika Heiskanen <[email protected]> - 21.2.10-1.fmi
- Fixed stationlongitude and -latitude to work in direct spatialite queries
* Tue Feb 9 2021 Anssi Reponen <[email protected]> - 21.2.9-1.fmi
- Timestep-option doesn't work (BRAINSTORM-2003)
* Thu Feb 4 2021 Anssi Reponen <[email protected]> - 21.2.4-1.fmi
- Remove possible sensor number from parameter name in observablePropertyQuery (INSPIRE-874)
* Wed Feb 3 2021 Anssi Reponen <[email protected]> - 21.2.3-1.fmi
- Make it possible to optionally prevent database queries (INSPIRE-914)
* Tue Feb 2 2021 Mika Heiskanen <[email protected]> - 21.2.2-1.fmi
- Re-enabled immutable spatialite caches
* Mon Feb 1 2021 Anssi Reponen <[email protected]> - 21.2.1-1.fmi
- Sensor number stored as integer in internal data structures (BRAINSTORM-1951)
* Mon Jan 25 2021 Mika Heiskanen <[email protected]> - 21.1.25-2.fmi
- Allow NULL values in the spatialite cache
* Mon Jan 25 2021 Anssi Reponen <[email protected]> - 21.1.25-1.fmi
- Report more info about producers, data, parameters (BRAINSTORM-1981)
* Thu Jan 14 2021 Mika Heiskanen <[email protected]> - 21.1.14-2.fmi
- Fixed caches to ignore the end time of the cache, otherwise flash queries go to the database in the winter
* Thu Jan 14 2021 Mika Heiskanen <[email protected]> - 21.1.14-1.fmi
- Repackaged smartmet to resolve debuginfo issues
* Wed Jan 13 2021 Mika Heiskanen <[email protected]> - 21.1.13-1.fmi
- Updated to latest dependencies
* Tue Jan 12 2021 Mika Heiskanen <[email protected]> - 21.1.12-1.fmi
- Fixed spatialite dependency
* Tue Jan 5 2021 Andris Pavenis <[email protected]> - 21.1.5-2.fmi
- Use libspatialite from pgdg repo
* Tue Jan 5 2021 Mika Heiskanen <[email protected]> - 21.1.5-1.fmi
- Upgrade to fmt 7.1.3
* Tue Dec 29 2020 Mika Heiskanen <[email protected]> - 20.12.29-1.fmi
- Enabled immutable read only databases for test purposes
* Tue Dec 15 2020 Mika Heiskanen <[email protected]> - 20.12.15-1.fmi
- Upgrade to pgdg12
* Mon Dec 7 2020 Mika Heiskanen <[email protected]> - 20.12.7-2.fmi
- Minor fixes to silence CodeChecker warnings
* Mon Dec 7 2020 Mika Heiskanen <[email protected]> - 20.12.7-1.fmi
- Fixed afterQuery not to throw if the query result is empty
* Thu Nov 26 2020 Anssi Reponen <[email protected]> - 20.11.26-1.fmi
- Stations sorted accodrding to distance (BRAINSTORM-1976)
- Refactoring: moved special parameter related code from delfoi library to engine
* Mon Nov 23 2020 Mika Heiskanen <[email protected]> - 20.11.23-1.fmi
- Sort nearest stations first by distance and then by station name to get deterministic ordering
* Mon Nov 16 2020 Mika Heiskanen <[email protected]> - 20.11.16-1.fmi
- Fixed flash cache updates
* Mon Nov 9 2020 Anssi Reponen <[email protected]> - 20.11.9-1.fmi
- Data type of paramter-field in weather_data_qc table changed to integer
- Fixed handling of stroke_location field when inserting data in weather_data_qc table in sqlite cache
* Wed Nov 4 2020 Mika Heiskanen <[email protected]> - 20.11.4-2.fmi
- Improved cache update locking logic
* Wed Nov 4 2020 Mika Heiskanen <[email protected]> - 20.11.4-1.fmi
- A dummy driver is implicitly created if no active drivers are registered
* Tue Nov 3 2020 Anssi Reponen <[email protected]> - 20.11.3-1.fmi
- PostgreSQL code moved from delfoi-library to engine
* Thu Oct 29 2020 Anssi Reponen <[email protected]> - 20.10.29-1.fmi
- Datetime-fields changed to integer in SpatiaLite cache (BRAINSTORM-1950)
- Recactoring: SpatiaLite code moved from delfoi-library to engine
- Fixed code, so that it is possible to cache data of fmi_iot producer
* Wed Oct 28 2020 Andris Pavenis <[email protected]> - 20.10.28-1.fmi
- Rebuild due to fmt upgrade
* Thu Oct 22 2020 Anssi Reponen <[email protected]> - 20.10.22-1.fmi
- New fetures:
- SpatiaLite database driver added: reads observations only from cache
- Fake cache feature added: loads data from Oracle to spatialite file
- Bugfixes:
- WHERE-condition corrected when fetching flash data from Oracle to cache (BRAINSTORM-1943)
- Solar and mareograph producers must use its own parameter number (not of observations_fmi) when queried from cache
- Handling of data_source field NULL-value when fetching data from HAV database
- Order of stations in result set must be identical whether data is fetched from HAV database or cache
* Fri Oct 9 2020 Mika Heiskanen <[email protected]> - 20.10.9-1.fmi
- Use DateTimeParser for speed
* Mon Oct 5 2020 Mika Heiskanen <[email protected]> - 20.10.5-2.fmi
- Added created column to flash_data schema
- Added modified_last index to flash_data schema
* Mon Oct 5 2020 Mika Heiskanen <[email protected]> - 20.10.5-1.fmi
- Added modified_last column to weather_data_qc schema
- Added missing SRID to some flash queries
* Tue Sep 29 2020 Anssi Reponen <[email protected]> - 20.9.29-1.fmi
- PostgreSQL-database driver completed (BRAINSTORM-1783,BRAINSTORM-1678)
- The source database is resolved at runtime based on producer and requested period
- When updating flash data in cache last_modified field is utilized (BRAINSTORM-1910)
* Wed Sep 23 2020 Mika Heiskanen <[email protected]> - 20.9.23-1.fmi
- Use Fmi::Exception instead of Spine::Exception
* Fri Sep 18 2020 Mika Heiskanen <[email protected]> - 20.9.18-1.fmi
- Faster station searches by accepting the first match
* Tue Sep 1 2020 Mika Heiskanen <[email protected]> - 20.9.1-1.fmi
- Cache handling added in PostgreSQL-driver (BRAINSTORM-1783)
- Support for both 'itmf' and 'fmi_iot' producer names (INSPIRE-909)
- Station info is now read into memory at startup and can ce reloaded either
via admin-plugin (what=reloadstations) or database driver can start reload-loop
in its own thread (BRAINSTORM-1856)
* Fri Aug 21 2020 Mika Heiskanen <[email protected]> - 20.8.21-1.fmi
- Upgrade to fmt 6.2
* Fri Aug 7 2020 Mika Heiskanen <[email protected]> - 20.8.7-1.fmi
- Fixed sqlite and potsgresql caches to require correct producer_id numbers too
* Tue Jul 28 2020 Mika Heiskanen <[email protected]> - 20.7.28-1.fmi
- Fixed station number searches to also check the station group is correct
* Tue Jul 21 2020 Mika Heiskanen <[email protected]> - 20.7.21-1.fmi
- Added optional fmisid information to locations to avoid unnecessary coordinate searches
* Wed Jun 17 2020 Mika Heiskanen <[email protected]> - 20.6.17-1.fmi
- Fixed observation_data to use sensor_no in the primary key
* Wed Jun 10 2020 Andris Pavēnis <[email protected]> - 20.6.10-1.fmi
- Add possibility to provide debugging options in calls to obsengine
* Mon Jun 8 2020 Mika Heiskanen <[email protected]> - 20.6.8-1.fmi
- Upgraded libpqxx
* Mon Jun 8 2020 Anssi Reponen <[email protected]> - 20.6.8-2.fmi
- PostgresSQL-driver for mirrored Oracle data (BRAINSTORM-1783)
- Support for itmf-producer (INSPIRE-909)
* Wed May 27 2020 Anssi Reponen <[email protected]> - 20.5.27-2.fmi
- Fixed sensor queries from memory cache
* Wed May 27 2020 Mika Heiskanen <[email protected]> - 20.5.27-1.fmi
- Use atomic_load for shared station information
* Mon May 18 2020 Mika Heiskanen <[email protected]> - 20.5.18-3.fmi
- Fixed getLatest/OldestTime type methods to return not_a_date_time on missing tables
* Mon May 18 2020 Mika Heiskanen <[email protected]> - 20.5.18-2.fmi
- Fixed checking whether the given time period is cached or not
* Mon May 18 2020 Mika Heiskanen <[email protected]> - 20.5.18-1.fmi
- Fixed sqlite timestamps to use 'T'
* Wed May 13 2020 Mika Heiskanen <[email protected]> - 20.5.13-1.fmi
- Removed obsolete tables from the default stations.sqlite database
- Added sensor_no column to the default stations.sqlite database
* Tue May 12 2020 Anssi Reponen <[email protected]> - 20.5.12-1.fmi
- Major code refactoring. Big changes in Engine-interface (BRAINSTORM-1678)
- Stations (FMISIDs) are resolved in a seprate function call before actual observation-query
- All relevant information of stations is kept in memory, as a result the following tables
has been removed from cache: STATIONS, STATION_GROUPS, GROUP_MEMBERS, LOCATIONS
- Support for sensors added, as a result the related tickets has been fixed (BRAINSTORM-1549)
- Fixed non-active station bug (BRAINSTORM-1718,BRAINSTORM-568,BRAINSTORM-569)
- Fixed bug in query with numberofstations-option (BRAINSTORM-1609)
- Added support for data_quality option (BRAINSTORM-1706)
* Sat Apr 18 2020 Mika Heiskanen <[email protected]> - 20.4.18-1.fmi
- Upgraded to Boost 1.69
* Wed Mar 18 2020 Mika Heiskanen <[email protected]> - 20.3.18-1.fmi
- Faster sorting of observations in the memory cache
* Wed Mar 11 2020 Mika Heiskanen <[email protected]> - 20.3.11-1.fmi
- Fixed sorting of observations in the memory cache
* Mon Mar 9 2020 Andris Pavēnis <[email protected]> - 20.3.9-1.fmi
- Remove more functionality now in smartmet-library-spine (is_time_parameter)
* Fri Mar 6 2020 Andris Pavēnis <[email protected]> - 20.3.6-1.fmi
- Remove functionality now in smartmet-library-spine (Engine::isSpecialParameter, Engine::makeParameter)
* Thu Feb 20 2020 Andris Pavēnis <[email protected]> - 20.2.20-1.fmi
- New method Engine::isSpecialParameter
* Mon Feb 10 2020 Mika Heiskanen <[email protected]> - 20.2.10-1.fmi
- Updated default stations.txt and stations.sqlite
* Sun Feb 9 2020 Mika Heiskanen <[email protected]> - 20.2.9-1.fmi
- Fixed handling of missing wmo and lpnn numbers
* Fri Feb 7 2020 Mika Heiskanen <[email protected]> - 20.2.7-1.fmi
- Spine::Station API changed to use default construction
* Thu Dec 19 2019 Mika Heiskanen <[email protected]> - 19.12.19-2.fmi
- Preprocess station groups using StationInfo instead of using station_groups etc tables
* Thu Dec 19 2019 Mika Heiskanen <[email protected]> - 19.12.19-1.fmi
- Added indexes to station_groups and group_members
* Tue Dec 17 2019 Mika Heiskanen <[email protected]> - 19.12.17-2.fmi
- Add separate observation time indexes to weather_data_qc and flash_data tables for extra speed
* Tue Dec 17 2019 Mika Heiskanen <[email protected]> - 19.12.17-1.fmi
- Added default value for modified_last field when cache is created from scratch
* Mon Dec 16 2019 Mika Heiskanen <[email protected]> - 19.12.16-1.fmi
- Reordered spatialite cache columns for efficiency - group primary key columns together
- Add modified_last index to newly created observation_data caches
* Tue Nov 26 2019 Anssi Reponen <[email protected]> - 19.11.26-1.fmi
- Station group must be checked when reading stations/observations from cache (BRAINSTORM-1722)
* Wed Nov 20 2019 Mika Heiskanen <[email protected]> - 19.11.20-1.fmi
- Rebuilt since Spine::Parameter size changed
* Thu Oct 31 2019 Mika Heiskanen <[email protected]> - 19.10.31-1.fmi
- Rebuilt due to newbase API/ABI changes
* Wed Oct 30 2019 Anssi Reponen <[email protected]> - 19.10.30-1.fmi
- Add spatial indexes at startup to cache database tables flash_data, ext_obsdata_netatmo, ext_obsdata_roadcloud (BRAINSTORM-1716)
* Tue Oct 29 2019 Mika Heiskanen <[email protected]> - 19.10.29-1.fmi
- Fixed data_source handling when reading observations from the cache
* Mon Oct 28 2019 Anssi Reponen <[email protected]> - 19.10.28-1.fmi
- Add missing value for data_source-field when fetching data from cache (BRAINSTORM-1711)
* Mon Oct 21 2019 Anssi Reponen <[email protected]> - 19.10.21-1.fmi
- Added new function to get parameter id as string (related to INSPIRE-889)
* Wed Oct 2 2019 Anssi Reponen <[email protected]> - 19.10.2-1.fmi
- Bugfix in dummy database driver to prevent segfault (BRAINSTORM-1381)
* Thu Sep 26 2019 Mika Heiskanen <[email protected]> - 19.9.26-1.fmi
- Added support for ASAN & TSAN builds
- Explicit initialization of POD types (ASAN)
- Avoid locale locks by not using regex for matching simple numbers
* Tue Sep 17 2019 Anssi Reponen <[email protected]> - 19.9.17-1.fmi
- Modify SQL-queries of mobile data and of queries where data_source-field is present, so that we can get rid of ResultSet class (BRAINSTORM-1673)
- Improve updating of mobile data cache by utilizing 'created' field in the query
- Fix bug in iterator of sqlite3pp-API query_iterator-constructor
- Add missing try-catch blocks and re-write some exception messages to be more accurate
* Fri Sep 13 2019 Mika Heiskanen <[email protected]> - 19.9.13-1.fmi
- Do not throw in destructors
* Thu Sep 12 2019 Mika Heiskanen <[email protected]> - 19.9.12-1.fmi
- Fixed two base classes to have a virtual destructor
* Thu Sep 5 2019 Mika Heiskanen <[email protected]> - 19.9.5-1.fmi
- Added quick exits on shutdown to the station preload thread
* Wed Aug 28 2019 Mika Heiskanen <[email protected]> - 19.8.28-1.fmi
- Added handling of optional fmisid provided with Location objects
* Fri Aug 23 2019 Mika Heiskanen <[email protected]> - 19.8.23-2.fmi
- Skip protected stations
* Fri Aug 23 2019 Mika Heiskanen <[email protected]> - 19.8.23-1.fmi
- Do not use stations without timezone information
- Optimized memory cache implementation
* Mon Aug 5 2019 Mika Heiskanen <[email protected]> - 19.8.5-1.fmi
- Added a memory cache for narrow table observations
* Wed Jul 31 2019 Anssi Reponen <[email protected]> - 19.7.31-1.fmi
- Fixed PostgreSQL cache update error (BRAINSTORM-1647)
* Tue Jul 30 2019 Anssi Reponen <[email protected]> - 19.7.30-1.fmi
- Fixed incorrect field names in PostgreSQL cache (BRAINSTORM-1646)
* Wed Jul 3 2019 Mika Heiskanen <[email protected]> - 19.7.3-1.fmi
- Added a memory cache for flashes
* Wed Jul 3 2019 Mika Heiskanen <[email protected]> - 19.7.3-1.fmi
- Added a memory cache for flashes
* Fri Jun 28 2019 Mika Heiskanen <[email protected]> - 19.6.28-1.fmi
- Fixed testing whether the given producer is available in the spatialite cache
* Thu Jun 27 2019 Mika Heiskanen <[email protected]> - 19.6.27-2.fmi
- Fixed code to check if observations_fmi or observations_fmi_extaws data is in the SpatiaLite cache
* Thu Jun 27 2019 Mika Heiskanen <[email protected]> - 19.6.27-1.fmi
- Revert to a single database due to speed issues
- Disable shared cache for improved speed
* Mon Jun 24 2019 Mika Heiskanen <[email protected]> - 19.6.24-1.fmi