Skip to content

Commit 0cf6b19

Browse files
authored
Merge pull request #504 from OpenEnergyPlatform/release-v0.14.2
Release v0.14.2
2 parents bfa686f + ef5dc7e commit 0cf6b19

File tree

15 files changed

+173
-78
lines changed

15 files changed

+173
-78
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.14.1
2+
current_version = 0.14.2
33
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)((?P<release>(a|na))+(?P<build>\d+))?
44
serialize =
55
{major}.{minor}.{patch}{release}{build}

.github/workflows/ci-production.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: create package
3232
run: python setup.py sdist
3333
- name: import open-mastr
34-
run: python -m pip install ./dist/open_mastr-0.14.1.tar.gz
34+
run: python -m pip install ./dist/open_mastr-0.14.2.tar.gz
3535
- name: Create credentials file
3636
env:
3737
MASTR_TOKEN: ${{ secrets.MASTR_TOKEN }}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# own testing files
2+
tmptest.py
3+
14
# Byte-compiled / optimized / DLL files
25
__pycache__/
36
*.py[cod]

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ repos:
33
rev: 22.6.0
44
hooks:
55
- id: black
6-
language_version: python3.10
6+
language_version: python3.11

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,17 @@ For each version important additions, changes and removals are listed here.
66
The format is inspired from [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
77
and the versioning aims to respect [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
88

9-
## [v0.14.1] Hotfix - 2023-01-17
9+
## [v0.14.2] Maintenance - 2024-04-10
10+
### Changed
11+
- Fix and add URLs of example projects in readme [#481](https://github.com/OpenEnergyPlatform/open-MaStR/pull/481)
12+
- No longer require web scraping for bulk download [#488](https://github.com/OpenEnergyPlatform/open-MaStR/pull/488)
13+
- Replace deprecated pandas map function [#491](https://github.com/OpenEnergyPlatform/open-MaStR/pull/491)
14+
- Fix the handling of corrupted xml syntax in the downloaded files [#494](https://github.com/OpenEnergyPlatform/open-MaStR/pull/494)
15+
- Implement relevant API WSDL Patchnotes V24.1.128 [#499](https://github.com/OpenEnergyPlatform/open-MaStR/pull/499)
16+
### Removed
17+
- Remove unused Docker File [#501](https://github.com/OpenEnergyPlatform/open-MaStR/pull/501)
18+
19+
## [v0.14.1] Hotfix - 2024-01-17
1020
### Changed
1121
- Change data type of NetzbetreiberpruefungStatus to string [#483](https://github.com/OpenEnergyPlatform/open-MaStR/pull/483)
1222

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ authors:
2828
title: "open-MaStR"
2929
type: software
3030
license: AGPL-3.0
31-
version: 0.14.1
31+
version: 0.14.2
3232
doi:
33-
date-released: 2024-01-17
33+
date-released: 2024-04-10
3434
url: "https://github.com/OpenEnergyPlatform/open-MaStR/"

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ changes in a `Pull Request <https://github.com/OpenEnergyPlatform/open-MaStR/pul
110110

111111
- `PV- und Windflächenrechner <https://www.agora-energiewende.de/service/pv-und-windflaechenrechner/>`_
112112
- `Wasserstoffatlas <https://wasserstoffatlas.de/>`_
113-
- `EE-Status App <https://ee-status.herokuapp.com/>`_
114-
113+
- `EE-Status App <https://ee-status.de/>`_
114+
- `Digiplan Anhalt <https://digiplan.rl-institut.de/>`_
115115

116116

117117
Collaboration

open_mastr/utils/Dockerfile.postgis

Lines changed: 0 additions & 7 deletions
This file was deleted.

open_mastr/utils/constants.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@
310310
"AuflagenAbschaltungTierschutz": "requirementShutdownAnimalProtection",
311311
"AnlagenkennzifferAnlagenregister_nv": "plantIdentificationNumberRegister_nv",
312312
"BiogasDatumLeistungserhoehung": "biogasCapacityIncreaseDate",
313-
"InAnspruchGenommeneAckerflaeche": "areaOfAgriculturalLandInUse",
313+
"InAnspruchGenommeneLandwirtschaftlichGenutzteFlaeche": "areaOfAgriculturalLandInUse",
314314
"Aktenzeichen": "fileReference",
315315
"NetzbetreiberpruefungStatus": "gridOperatorCheckStatus",
316316
"AnlageBetriebsstatus": "plantOperatingStatus",
@@ -511,4 +511,8 @@
511511
"MastrNummer": "mastrNumber",
512512
"Kuestenentfernung": "distanceToCoast",
513513
"eegAusschreibungZuschlag": "eegAuctionBidAward",
514+
"DatumUeberfuehrungInReserve": "dateTransferToReserve",
515+
"ReserveartNachDemEnWG": "typeOfReserveFromEnWG",
516+
"WebportalDesNetzbetreibers": "webPortalGridOperator",
517+
"RegisternummerPraefix": "registerNumberPrefix",
514518
}

open_mastr/utils/orm.py

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ class Extended(object):
134134
PraequalifiziertFuerRegelenergie = Column(Boolean)
135135
GenMastrNummer = Column(String)
136136
Netzbetreiberzuordnungen = Column(String)
137+
ReserveartNachDemEnWG = Column(String)
138+
DatumUeberfuehrungInReserve = Column(Date)
137139
# from bulk download
138140
Hausnummer_nv = Column(Boolean)
139141
Weic_nv = Column(Boolean)
@@ -185,7 +187,7 @@ class SolarExtended(Extended, ParentAllTables, Base):
185187
NebenausrichtungNeigungswinkel = Column(String)
186188
InAnspruchGenommeneFlaeche = Column(Float)
187189
ArtDerFlaeche = Column(String)
188-
InAnspruchGenommeneAckerflaeche = Column(Float)
190+
InAnspruchGenommeneLandwirtschaftlichGenutzteFlaeche = Column(Float)
189191
Nutzungsbereich = Column(String)
190192
Buergerenergie = Column(Boolean)
191193
EegMastrNummer = Column(String)
@@ -202,16 +204,12 @@ class BiomassExtended(Extended, ParentAllTables, Base):
202204
EegMastrNummer = Column(String)
203205
KwkMastrNummer = Column(String)
204206

205-
206207
class CombustionExtended(Extended, ParentAllTables, Base):
207208
__tablename__ = "combustion_extended"
208209

209210
NameKraftwerk = Column(String)
210211
NameKraftwerksblock = Column(String)
211212
DatumBaubeginn = Column(Date)
212-
AnzeigeEinerStilllegung = Column(Boolean)
213-
ArtDerStilllegung = Column(String)
214-
DatumBeginnVorlaeufigenOderEndgueltigenStilllegung = Column(Date)
215213
SteigerungNettonennleistungKombibetrieb = Column(Float)
216214
AnlageIstImKombibetrieb = Column(Boolean)
217215
MastrNummernKombibetrieb = Column(String)
@@ -230,7 +228,6 @@ class CombustionExtended(Extended, ParentAllTables, Base):
230228
Technologie = Column(String)
231229
AusschliesslicheVerwendungImKombibetrieb = Column(Boolean)
232230

233-
234231
class GsgkExtended(Extended, ParentAllTables, Base):
235232
__tablename__ = "gsgk_extended"
236233

@@ -244,9 +241,6 @@ class HydroExtended(Extended, ParentAllTables, Base):
244241

245242
NameKraftwerk = Column(String)
246243
ArtDerWasserkraftanlage = Column(String)
247-
AnzeigeEinerStilllegung = Column(Boolean)
248-
ArtDerStilllegung = Column(String)
249-
DatumBeginnVorlaeufigenOderEndgueltigenStilllegung = Column(Date)
250244
MinderungStromerzeugung = Column(Boolean)
251245
BestandteilGrenzkraftwerk = Column(Boolean)
252246
NettonennleistungDeutschland = Column(Float)
@@ -274,7 +268,7 @@ class StorageExtended(Extended, ParentAllTables, Base):
274268
Notstromaggregat = Column(Boolean)
275269
BestandteilGrenzkraftwerk = Column(Boolean)
276270
NettonennleistungDeutschland = Column(Float)
277-
ZugeordnenteWirkleistungWechselrichter = Column(Float)
271+
ZugeordneteWirkleistungWechselrichter = Column(Float)
278272
NutzbareSpeicherkapazitaet = Column(Float)
279273
SpeMastrNummer = Column(String)
280274
EegMastrNummer = Column(String)
@@ -510,6 +504,7 @@ class GasStorageExtended(ParentAllTables, Base):
510504
DatumBeginnVoruebergehendeStilllegung = Column(Date)
511505
DatumDesBetreiberwechsels = Column(Date)
512506
DatumRegistrierungDesBetreiberwechsels = Column(Date)
507+
DatumEndgueltigeStilllegung = Column(Date)
513508

514509

515510
class StorageUnits(ParentAllTables, Base):
@@ -570,6 +565,7 @@ class GasProducer(ParentAllTables, Base):
570565
FlurFlurstuecknummern = Column(String)
571566
GeplantesInbetriebnahmedatum = Column(Date)
572567
DatumBeginnVoruebergehendeStilllegung = Column(Date)
568+
DatumEndgueltigeStilllegung = Column(Date)
573569

574570

575571
class GasConsumer(ParentAllTables, Base):
@@ -734,6 +730,8 @@ class MarketActors(ParentAllTables, Base):
734730
Stromgrosshaendler = Column(Boolean)
735731
MarktakteurVorname = Column(String)
736732
MarktakteurNachname = Column(String)
733+
WebportalDesNetzbetreibers = Column(String)
734+
RegisternummerPraefix = Column(String)
737735

738736

739737
class Grids(ParentAllTables, Base):

0 commit comments

Comments
 (0)