Skip to content
This repository was archived by the owner on Aug 9, 2021. It is now read-only.

Commit 9891797

Browse files
authored
Publish v0.4.0 (#169)
See CHANGELOG for details
1 parent af4b3a2 commit 9891797

File tree

2 files changed

+39
-2
lines changed

2 files changed

+39
-2
lines changed

CHANGELOG.md

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,48 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
11+
---
12+
13+
14+
## [0.4.0] - 2020-11-03
15+
16+
### Added
17+
18+
- Roughly estimate (not in a prefect flow yet...) & map Small Area energy demand for
19+
- Residential using SEAI BER archetypes, CSO 2016 Census HH statistics
20+
- Commercial using VO Floor areas and CIBSE 2009 / Dublin LA derived benchmarks
21+
- Map using CSO 2016 Census Small Areas and Shane McGuinness Postcodes
22+
23+
- Clean cso 2019 postcode network gas consumption (residential & non-residential) and link these demands to postcode households statistics (Census 2016 CSO) and to postcode geometries. These demands can be used as a 'ground-truth' for district level heating demand.
24+
25+
- Roughly adapt BER hh fabric info, CSO Small Area stats & geodirectory hh stats via scripting for input to CityEnergyAnalyst
26+
27+
- Download VO data via their API LA by LA
28+
29+
- Add generic dask_dataframe_tasks to wrap generic dask dataframe methods for prefect
30+
31+
- Add filepath_tasks so can use functions to find ROOT_DIR which can be easily mocked out for the prefect pipeline dummy flows...
32+
33+
- Add immutable dicts to utilities.filepaths to store filepaths accross files - WIP
34+
35+
- Add flow visualization mixin that can be inherited by transform tasks to easily visualize each task in the form of a flow chart so that non-programmers can follow the transform pipeline at a glance...
36+
1037
### Changed
1138

39+
- Rename commercial benchmark filenames to remove irrelevant strings (s.a. Table X.X) and move unmatched benchmarks (to VO uses) to the appropriate corresponding benchmark
40+
41+
- Skip download ber if file exists
42+
43+
- Refactor all residential & commercial etl flow tasks to read/write to files instead of passing DataFrames & GeoDataFrames. Consequently once a flow each step of the pipeline is now checkpointed. This enables the running of each transform file independent of flow context. It also enables Excel, Tableau or QGIS users to visualize these intermediate steps provided that the data is checkpointed in a compatible file format.
44+
45+
- Refactor testing of residential etl to mock out DATA_DIR rather than replacing it via prefect flow parameter. Consequently the prefect flow visualisation for this etl is much cleaner as DATA_DIR is no longer split into 10s of div bubbles. Also, it is now possible to use prefect's built-in file checkpointing in place of read/write file explicitely in each etl task as this DATA_DIR variable can be passed outside of flow context during the Task instantiation step at the top of the etl file. It's still possible to run transform tasks independently of flow provided that a default read-from-filepath argument is set for each data file.
46+
1247
- Refactor `drem.transform.dublin_postcodes` into a `prefect` flow & dissolve all Co Dublin postcodes into one multipolygon geometry using `geopandas` dissolve.
1348

1449
- Pull generalisable `pandas` and `geopandas` prefect tasks into `drem.utilities.pandas_tasks` and `drem.utilities.geopandas_tasks` respectively. Only unit tested if functionality differs from `pandas` or `geopandas` implementation...
1550

51+
### Removed
1652

1753
---
1854

@@ -224,7 +260,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
224260
225261
- Copy `drem` code from `rdmolony` to `codema-dev` and restart Git History from there...
226262
227-
[Unreleased]: https://github.com/codema-dev/drem/compare/v0.3.1...HEAD
263+
[Unreleased]: https://github.com/codema-dev/drem/compare/v0.4.0...HEAD
264+
[0.4.0]: https://github.com/codema-dev/drem/compare/v0.3.1...v0.4.0
228265
[0.3.1]: https://github.com/codema-dev/drem/compare/v0.3.1...v0.3.0
229266
[0.3.0]: https://github.com/codema-dev/drem/compare/v0.3.0...v0.2.0
230267
[0.2.0]: https://github.com/codema-dev/drem/compare/v0.2.0...v0.1.2

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "drem"
3-
version = "0.3.1"
3+
version = "0.4.0"
44
description = "https://www.codema.ie/projects/local-projects/dublin-region-energy-master-plan"
55
authors = ["Rowan Molony <rowan.molony@codema.ie>"]
66
license = "MIT"

0 commit comments

Comments
 (0)