Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Chris Jewell
covid19uk
Commits
4a43ffde
Commit
4a43ffde
authored
Apr 26, 2021
by
Chris Jewell
Browse files
Merge branch 'fix-geodata-filter' into 'master'
Fix geodata filter See merge request
!41
parents
078e75b2
7c552eba
Changes
2
Hide whitespace changes
Inline
Side-by-side
covid/model_spec.py
View file @
4a43ffde
...
...
@@ -15,7 +15,7 @@ import covid.data as data
tfd
=
tfp
.
distributions
VERSION
=
"0.7.
0
"
VERSION
=
"0.7.
1
"
DTYPE
=
np
.
float64
STOICHIOMETRY
=
np
.
array
([[
-
1
,
1
,
0
,
0
],
[
0
,
-
1
,
1
,
0
],
[
0
,
0
,
-
1
,
1
]])
...
...
@@ -46,6 +46,7 @@ def gather_data(config):
)
geo
=
gp
.
read_file
(
config
[
"geopackage"
])
geo
=
geo
.
sort_values
(
"lad19cd"
)
geo
=
geo
[
geo
[
'lad19cd'
].
isin
(
locations
[
'lad19cd'
])]
area
=
xarray
.
DataArray
(
geo
.
area
,
name
=
"area"
,
...
...
pyproject.toml
View file @
4a43ffde
[tool.poetry]
name
=
"covid19uk"
version
=
"0.7.
1
"
version
=
"0.7.
2
"
description
=
"Spatial stochastic SEIR analysis of COVID-19 in the UK"
authors
=
[
"Chris Jewell <c.jewell@lancaster.ac.uk>"
]
license
=
"MIT"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment