Luis Aleixo
7dd8fa2b21
Changed numpy version
2022-01-17 11:16:31 +01:00
Luis Aleixo
e4a7a1bfd0
Changed numpy version
2022-01-06 14:29:16 +01:00
Luis Aleixo
5e7d237e16
Updated ipympl compatible version
2021-10-20 14:43:03 +02:00
Phil Elson
dfc66991f4
Move QR generation to the browser, saving some time and effort on the server.
2021-10-06 11:56:09 +02:00
Luis Aleixo
480e5237c9
ipympl (Matplotlib Jupyter Extension) version
2021-09-28 09:48:26 +02:00
James Devine
db02132853
Allow location selection as part of the calculator, with temp profile from local weather station
2021-09-02 11:58:32 +02:00
Phil Elson
3103663978
Create a Python3.9 based Dockerfile for cara to run on openshift.
2021-07-30 08:53:06 +02:00
Phil Elson
77e9215812
Re-introduce parallelism through loky.
2021-07-16 13:56:28 +02:00
Phil Elson
6aca5164c1
Increment the major version of the CARA model and the calculator.
2021-07-13 13:02:28 +02:00
Phil Elson
83ec4831b5
Re-enable mypy CI after turning it off in an emergency in https://gitlab.cern.ch/cara/cara/-/merge_requests/196 .
2021-07-07 16:03:16 +02:00
Phil Elson
1c35c89e8a
Include the new types packages for types that we depend upon.
2021-06-10 17:26:41 +02:00
Nicolas Mounet
185d576397
Adding sklearn to the dependencies
2021-06-02 07:16:00 +02:00
Phil Elson
05dffa3f50
Compromise on the header information added to key files, ensuring that the details are correct, but are canonically defined in one place.
2021-05-03 13:46:03 +02:00
Andre Henriques
58006ebe5f
Merge branch 'feature/OSS_license' into 'master'
...
Prepare the repository for an Apache 2.0 license
See merge request cara/cara!161
2021-05-03 11:38:43 +00:00
Philip James Elson
49c28aaa98
Implement common markdown blocks infrastructure
2021-05-03 11:33:17 +00:00
Phil Elson
597a27eadc
Prepare the repository for an Apache 2.0 license.
2021-04-29 23:56:33 +02:00
Nicolas Mounet
2d00bc859f
Merge branch 'feature/model_vectorisation_pt2' into 'master'
...
Vectorise PiecewiseConstant and WindowOpenings
See merge request cara/cara!159
2021-04-29 04:35:10 +00:00
Phil Elson
9a17121d9e
Allow theming of CARA (initially in the report only, to be extended later on).
2021-04-15 13:46:46 +02:00
Phil Elson
eccc57702d
Vectorise PiecewiseConstant and WindowOpenings.
2021-04-07 10:19:20 +02:00
Nicolas Mounet
7152be47e6
Merge branch 'feature/model_vectorisation' into 'master'
...
Begin to introduce vectorisation in the model
See merge request cara/cara!158
2021-04-06 18:21:14 +00:00
Phil Elson
e6fb1b9374
Use the compressed URL only for the QR code, and always present the full URL to the user/browser.
2021-04-06 12:19:07 +02:00
Phil Elson
9b836a6507
Handle arrays in the cache of the model by using the memoization library. Speeds up the single model case too.
2021-03-28 06:56:49 +02:00
Gabriella Azzopardi
2997607e60
Automatic report regeneration
2021-03-01 15:19:15 +00:00
Phil Elson
c8f39dc26b
Track down the issue with the expert app and typing.
...
The visitor pattern in the StateBuilder means that it is easy to miss type changes in the dataclass definition.
2021-01-06 16:21:33 +01:00
Phil Elson
f968075116
Add the README as a user-guide in the calculator application.
2020-11-11 10:11:34 +01:00
Phil Elson
331b8e733f
Fix to use the updated PiecewiseConstant scheme for temperatures, and turn on testing, even if trivial, for the report generation.
2020-11-05 23:22:17 +01:00
Phil Elson
f63e1d3760
Abstract the model state so that we can mutate it conveniently.
...
This rather large change adds a layer between the underlying (immutable) model and the application.
In doing so we can avoid the use of a global state (useful for the purposes of configuring multiple models in the same application later on) and it also unlocks the ability to implement an MVC-like separation of concerns - again, the intention is that when it comes to comparisons, we will just be able to re-use our application views.
I was hoping that ``cara.state`` could have been avoided in lieu of using traitlets, but unfortunately I found a number of limitations which were prohibitive for its use here.
Foremost of which was the lack of first-class dataclass support and the difficulty in needing either to use instances of the model (immutable) or duplicate the model and its structure in a mutable form and use the ``traitlets.Instance`` type.
Instead I opted for doing it myself - the ``cara.state`` module would make a very good standalone project in the future.
2020-10-21 20:59:01 +02:00
Phil Elson
ca5633a988
Bring over the prototyped voila app, and handle installation dependencies correctly.
2020-10-20 09:51:34 +02:00
Phil Elson
4e21c0efb0
Added an initial project structure.
2020-10-19 13:49:40 +02:00