Commit graph

1029 commits

Author SHA1 Message Date
Phil Elson
4ab6cfb8bf Refactor the weather data production, restoring as much of the old test behaviour as possible to minimise the changes 2021-08-26 12:01:53 +02:00
jdevine
151ab9af54 Replaced had_isd file with custom cara list
Amended filename in data.py
2021-08-26 00:31:59 +02:00
Luis Aleixo
15058ec3d6 test for all weather stations 2021-08-24 15:33:30 +02:00
Luis Aleixo
5c37f20030 update README with LFS dependencies 2021-08-20 17:13:05 +02:00
Luis Aleixo
b40170f58d correct global weather format 2021-08-20 16:03:59 +02:00
Luis Aleixo
a3b47ed888 Location relative to the current script using __file__ 2021-08-20 14:31:19 +02:00
Luis Aleixo
8fe4825a11 updated coordinates file path 2021-08-20 14:07:30 +02:00
Luis Aleixo
26231a4353 bug related to location coordinates and qr code 2021-08-20 11:20:46 +02:00
Luis Aleixo
8f2ecac839 removed unused lines of code 2021-08-20 09:27:24 +02:00
Luis Aleixo
c4ae6ef9b4 all tests corrected and adjusted 2021-08-20 09:17:00 +02:00
Luis Aleixo
95af32a6d8 correct default location coordinates variable and test bug 2021-08-19 17:20:33 +02:00
Luis Aleixo
a7c0b5851f updated monte carlo full model tests 2021-08-16 18:35:11 +02:00
Luis Aleixo
87ff8ac778 updated known quantities tests 2021-08-16 18:29:23 +02:00
Luis Aleixo
46069d7e20 Merge branch 'master' into feature/climate_function 2021-08-16 18:14:00 +02:00
Philip James Elson
fe04e201f1 Merge branch 'update/d3plot' into 'master'
Update d3 plot units and title - missing from previous MRs

See merge request cara/cara!244
2021-08-12 07:52:35 +00:00
Andre Henriques
277044473c Update the plots in the report to show virons / m³, following on from !236. 2021-08-12 07:52:34 +00:00
jdevine
2d275ac560 fixed python formatting 2021-08-10 19:43:31 +02:00
jdevine
a2367ddc86 Merge remote-tracking branch 'origin/feature/climate_function' into feature/climate_function
# Conflicts:
#	cara/tests/test_known_quantities.py
#	cara/tests/test_monte_carlo_full_models.py
2021-08-10 19:37:57 +02:00
jdevine
c2b6ba2cee Changes to temperature handling (more) 2021-08-10 19:36:29 +02:00
jdevine
27acb96b65 Changes to temperature handling 2021-08-10 19:36:24 +02:00
jdevine
629732533c More updates to unit tests 2021-08-10 19:36:20 +02:00
jdevine
8bbaee0712 Changed requirements to remove integral libs 2021-08-10 19:36:00 +02:00
jdevine
4c7d60418f Tidied up outputs. Core functionality now working. 2021-08-10 19:36:00 +02:00
jdevine
f61a41deb7 Tidied up outputs. Core functionality now working. 2021-08-10 19:36:00 +02:00
jdevine
82ef77fc22 Weather station lookup and passing to form working.
Need to tidy up and turn off debugging.
2021-08-10 19:35:57 +02:00
jdevine
25314dc5a0 Moved weather station data to LFS 2021-08-10 19:35:35 +02:00
jdevine
b13a8e1110 fixed path issues 2021-08-10 19:35:24 +02:00
jdevine
80ef31788c Added routines to retrive weather data file
data.py now contains a modified Temperature dict, which is updated
with the weather station from the nearest location.
The location (lat, long) need to be passed to this module.
The name/ID of the weather station need to be passed back.
2021-08-10 19:35:19 +02:00
Luis Aleixo
6076f9345b Added hadisd file 2021-08-10 19:35:13 +02:00
Luis Aleixo
1a000975f3 revert commit for data.py 2021-08-10 19:35:13 +02:00
jdevine
b3ed36236e local weather function added 2021-08-10 19:35:05 +02:00
jdevine
6bc5f2e7b8 added weather data set 2021-08-10 19:33:50 +02:00
James Devine
3cea901a5d Global weather json compiled. NB needs to be checked for quality (some records are not complete, others contain NaN). This is (I think) a small issue, affecting only a few weather stations out of the total 8k. 2021-08-10 19:33:50 +02:00
jdevine
7b21c5ea46 changes to month, from 3 letters to number 2021-08-10 19:33:50 +02:00
jdevine
1957cc1523 New branch for handling different locations 2021-08-10 19:33:50 +02:00
Luis Aleixo
16b056dbd3 Coordinates of each ``location`` passed from the form to the model 2021-08-10 19:33:50 +02:00
gaazzopa
821fc67c0d Remove extra space 2021-08-10 19:33:50 +02:00
gaazzopa
e88a93ec1c Access location in model_generator and report 2021-08-10 19:33:50 +02:00
gaazzopa
de4e59b9c0 Fixed location search and show country 2021-08-10 19:33:50 +02:00
gaazzopa
9eaeb02efc Added foundations for location selection 2021-08-10 19:33:50 +02:00
jdevine
f98fe4b357 Changes to temperature handling (more) 2021-08-10 19:26:42 +02:00
jdevine
08fcdb1ee2 Changes to temperature handling 2021-08-10 18:57:17 +02:00
jdevine
4d801e746a More updates to unit tests 2021-08-10 18:48:26 +02:00
jdevine
ea2e1fbd72 Updated unit tests for multi-location weather data 2021-08-10 18:41:25 +02:00
jdevine
8c8b77ad52 Changed requirements to remove integral libs 2021-08-10 18:36:31 +02:00
jdevine
d08fe9534e Tidied up outputs. Core functionality now working. 2021-08-10 18:31:48 +02:00
jdevine
10a1d059cd Tidied up outputs. Core functionality now working. 2021-08-10 18:28:42 +02:00
jdevine
3f238321fc Weather station lookup and passing to form working.
Need to tidy up and turn off debugging.
2021-08-10 15:10:33 +02:00
Nicolas Mounet
559ac2723f Merge branch 'feature/higher_resolution_temperature' into 'master'
Restore the outside temperature data to a 6 minute resolution

See merge request cara/cara!212
2021-08-06 17:04:03 +00:00
Philip James Elson
eafa8331bc Merge branch 'feature/plotting_d3' into 'master'
Correct the yrange calculation in the report concentration plot

Closes #183 and #187

See merge request cara/cara!240
2021-08-06 15:21:49 +00:00