Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Features/status2023 metadata #1170

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
971 commits
Select commit Hold shift + click to select a range
5c9da97
Merge branch 'features/status2023_update_scenario_parameters' into fe…
nailend Jan 31, 2024
a8b28c1
Update weather year in scenario paramters to 2023
nailend Jan 31, 2024
200ce6f
Update weather year in scenario paramters to 2023
nailend Jan 31, 2024
5846d2c
Add function to derive scenario year from name
nailend Jan 31, 2024
bc26416
Make scenario generation more lean
nailend Jan 31, 2024
2b74904
Fill empty columns with np.nan to allow multiplication
nailend Jan 31, 2024
9a6d7ab
Add single quotes around scenario for sql-strings
nailend Feb 1, 2024
b59a387
Set weather year to 2017 for CTS gas timeseries
nesnoj Feb 1, 2024
bad9f70
Merge pull request #192 from openego/fixes/#189-limit-versions-flask-…
CarlosEpia Feb 1, 2024
50f5726
Merge branch 'dev' into features/status2023
nailend Feb 1, 2024
05dcd79
Reactivate task insert_cts_ind_demands, remove temporary DB restore a…
nesnoj Feb 1, 2024
9b012a0
Merge branch 'features/status2023_cached_ffe' into features/status2023
nailend Feb 1, 2024
aacc888
Clone osmtgmod only if not existing
nailend Feb 2, 2024
9b721f7
Black&isort
nailend Feb 2, 2024
4c453af
Add status2023 to hh_electricity_demand
nailend Feb 5, 2024
2b4b70a
Bump version number of HouseholdElectricityDemand
nailend Feb 5, 2024
c2b6b3a
Fix cts_buildings to status2023
nailend Feb 5, 2024
2796d02
Remove hard-coded scneario 2021
nailend Feb 7, 2024
3cc1a12
Fix targets years in insert_society_data
nailend Feb 7, 2024
4a81c49
Merge branch 'features/status2023_demandregio_households' into featur…
nailend Feb 7, 2024
b2173b6
Use capital costs of dynamic scenario
nailend Feb 7, 2024
936793b
Add central foreign buses for status2023
nailend Feb 7, 2024
f73c0a6
Merge branch 'features/status2023_electrical_neighbours' into feature…
nailend Feb 7, 2024
462dd48
Pass scn_name to entsoe_to_bus_etrago function
nailend Feb 8, 2024
e08f411
Merge branch 'features/status2023_electrical_neighbours' into feature…
nailend Feb 8, 2024
f5b9527
fix that the population year can differ from scenario year
khelfen Feb 8, 2024
66f66b8
Merge branch 'features/status2023_hh_electricity' into features/statu…
nailend Feb 8, 2024
7e7c1cc
Revert "Fix targets years in insert_society_data"
nailend Feb 8, 2024
8dd5bcb
Merge branch 'features/status2023_demandregio_households' into featur…
nailend Feb 8, 2024
30b9619
Dynamise gaspipes status quo scenario generation
nailend Feb 8, 2024
8ce62e8
Bump version number of GasNodesAndPipes
nailend Feb 8, 2024
e62af4b
Make it a tuple
nailend Feb 8, 2024
8eb9cc2
Dynamise gas areas status quo tasks
nailend Feb 8, 2024
9c49330
Bump version number of GasAreas
nailend Feb 8, 2024
e1ed031
Revert "fix that the population year can differ from scenario year"
khelfen Feb 8, 2024
4aba3ed
Dynamise CH4 production
nailend Feb 8, 2024
be3c7c2
Bump version number of CH4Production
nailend Feb 8, 2024
10bf55a
Merge pull request #206 from openego/features/status2023_hh_electricity
khelfen Feb 8, 2024
e97f725
Deactivate CH4 storages as not needed in StatusQuo
nailend Feb 8, 2024
d3ed143
Deactivate GasNeighbours for same reasons
nailend Feb 8, 2024
d67f5f7
Fix pipeline
nailend Feb 8, 2024
cca9931
Add fake tasks
nailend Feb 8, 2024
43df566
Fix import
nailend Feb 8, 2024
9e0e047
Use status2023
nailend Feb 8, 2024
8b13361
Merge branch 'features/status2023_update_mastr' into features/status2023
nailend Feb 8, 2024
fa9640c
Change order of gas voronoi tasks
nailend Feb 8, 2024
3eb9757
Make scn_name a sql string
nailend Feb 8, 2024
6aa7307
Add wrapped_partial function for dynamic tasks
nailend Jan 17, 2024
eadfc4e
Add optional postfix for new partial function
nailend Jan 17, 2024
bb77049
Add changelog entry
nailend Feb 9, 2024
dc857b7
Add status2023 to scenario capacities and dynamize status quo generation
khelfen Feb 9, 2024
f19d665
Merge remote-tracking branch 'origin/features/wrapped_partial' into f…
khelfen Feb 9, 2024
b54cc0f
dynamize status quo checks
khelfen Feb 9, 2024
fb3c4d7
specify todo
khelfen Feb 9, 2024
e9977e6
Dynamise powerplants status quo
nailend Feb 9, 2024
34d748b
Bump version number for PowerPlants
nailend Feb 9, 2024
7eb3c54
Add changelog entry
nailend Feb 9, 2024
b25e252
Merge branch 'features/status2023' into features/status2023_heat_demand
nailend Feb 9, 2024
12f031b
Merge pull request #199 from openego/features/status2023_heat_demand
nailend Feb 9, 2024
c3d3167
Add changelog entry
nailend Feb 9, 2024
8a9909a
Merge branch 'features/status2023' into features/status2023_osmtgmod
nailend Feb 9, 2024
58a876c
Merge pull request #202 from openego/features/status2023_osmtgmod
nailend Feb 9, 2024
c8efafa
Add changelog entry
nailend Feb 9, 2024
1683a34
Merge branch 'features/status2023' into features/status2023_gasnodes
nailend Feb 9, 2024
4645b02
Merge pull request #205 from openego/features/status2023_gasnodes
nailend Feb 9, 2024
481ef44
Add logging for select_bus_id
nailend Feb 12, 2024
fae0332
Make entsoe-token function
nailend Feb 12, 2024
20231a7
Append exception message
nailend Feb 12, 2024
3f090e1
Black&Isort
nailend Feb 12, 2024
578a195
Fix
nailend Feb 12, 2024
a321fbc
Raise error if opene returns none
nailend Feb 12, 2024
a834e71
Hardcode generation capacity for GB in 2023
nailend Feb 12, 2024
760df5d
Use replace get_terminal_size by shutil
nailend Feb 12, 2024
7be635b
Merge branch 'fix/logger' into features/status2023
nailend Feb 12, 2024
e596fe5
Fix index
nailend Feb 12, 2024
4d3f48d
Add logging message
nailend Feb 12, 2024
efaff8b
Use backup 2019 if country is not available at entsoe
nailend Feb 12, 2024
9e0e841
fix pv rooftop to work without any future scenario
khelfen Feb 13, 2024
18f8faf
Fix string
nailend Feb 13, 2024
655d9ad
update wind offshore
khelfen Feb 13, 2024
482e065
update storages to status2023
khelfen Feb 13, 2024
3653bce
fix wrong call to scenario_parameters
khelfen Feb 13, 2024
7028bb0
set dataset version number
khelfen Feb 13, 2024
00716c1
Minors
nailend Feb 13, 2024
d90c47b
Move warning into exception
nailend Feb 13, 2024
cf5c29c
Create empty df, if no return from entsoe
nailend Feb 14, 2024
288ff72
Save retrieved data in working-dir
nailend Feb 14, 2024
0e2b124
Black&Isort
nailend Feb 14, 2024
64b2419
Only send unique cell_ids via sql query
nailend Feb 15, 2024
5956627
Merge branch 'features/status2023_hh_electricity' into features/statu…
nailend Feb 15, 2024
be9f9ec
Add countries only for retrieved data
nailend Feb 15, 2024
8b3bcb2
Fix list-comprehension
nailend Feb 15, 2024
a6a18b4
adapt heat tasks to work with any status quo scenario
khelfen Feb 16, 2024
4e5023e
fix status quo bulk heat pump generation
khelfen Feb 16, 2024
a8f2aef
Add casting to integer
nailend Feb 16, 2024
f52ce9b
Rename variable
nailend Feb 16, 2024
9eb8420
Merge branch 'features/status2023_hh_electricity' into features/statu…
nailend Feb 16, 2024
b3f6690
Use session_scope()
nailend Feb 16, 2024
25c1b01
Only call temperatue_profile_extract() once
nailend Feb 16, 2024
35655b4
Define sql query in variable
nailend Feb 16, 2024
949660b
Clean sql query
nailend Feb 16, 2024
6e87a80
Get h_values for 2023
nailend Feb 16, 2024
08005ca
Fix weather year for temp interval to 2023
nailend Feb 16, 2024
84f6753
update scenario capacities for status2023 for small_storages and rura…
khelfen Feb 19, 2024
9cc6925
update scenario capacities for status2023 for small_storages and rura…
khelfen Feb 19, 2024
785cb8b
update dataset version
khelfen Feb 19, 2024
35a8fc2
Add status2023 to heat-etrago
nailend Feb 19, 2024
47d1e3c
Set drop in qcut
nailend Feb 19, 2024
de4a24b
Update fuel prices to 2023 forecast of tyndp 2020
nailend Feb 20, 2024
df57df0
Add logging for osm dataset choice
nailend Feb 20, 2024
c8de5aa
Merge branch 'features/status2023_update_osm' into features/status2023
nailend Feb 20, 2024
034b296
Merge branch 'features/status2023_update_scenario_parameters' into fe…
nailend Feb 20, 2024
9c827a9
Merge branch 'features/status2023_era5' into features/status2023
nailend Feb 20, 2024
28f35b0
Merge branch 'features/status2023_update_emobility' into features/sta…
nailend Feb 20, 2024
200ac58
Revert "Set drop in qcut"
nailend Feb 20, 2024
f106881
Merge branch 'features/status2023_powerplants' into features/status2023
nailend Feb 20, 2024
19d5965
Merge branch 'features/status2023-storages' into features/status2023
nailend Feb 20, 2024
ef9d2db
Merge branch 'features/status2023_electrical_neighbours' into feature…
nailend Feb 20, 2024
1aa738f
Merge branch 'features/status2023-heat' into features/status2023
nailend Feb 20, 2024
3e290b3
Merge branch 'features/status2023_heat_demand_timeseries' into featur…
nailend Feb 20, 2024
7b20482
Merge branch 'features/status2023_heat_etrago' into features/status2023
nailend Feb 20, 2024
943502f
Merge branch 'features/status2023' into features/status2023-scenario-…
nailend Feb 20, 2024
013a711
Merge pull request #208 from openego/features/status2023-scenario-cap…
nailend Feb 20, 2024
0c201fe
Rename datasetvariable in pipeline
nailend Feb 20, 2024
dd4c5d6
Merge branch 'features/status2023_gasnodes' into features/status2023
nailend Feb 20, 2024
de020d6
Rename dataset variable for heat pumps in pipeline
nailend Feb 20, 2024
f6c1248
Merge branch 'features/status2023-heat' into features/status2023
nailend Feb 20, 2024
a79b157
Only give status2023 as default scenario
nailend Feb 20, 2024
6bb4c6f
Only give status2023 as default scenario
nailend Feb 20, 2024
ed0f051
Add comment
nailend Feb 20, 2024
4f734b6
fix behaviour share ctd demands
CarlosEpia Feb 12, 2024
cf2e285
apply changes due to deprecated functions
CarlosEpia Feb 1, 2024
cdf347e
fix concat fill etrago loads
CarlosEpia Feb 15, 2024
427c892
include biomass into carrier dic
CarlosEpia Feb 15, 2024
8ecc530
include biomass CHP generators
CarlosEpia Feb 15, 2024
611a3f3
add new dependency to etrago_loads task
CarlosEpia Feb 15, 2024
c1df65c
Bump version number of ElectricalLoadEtrago
nailend Feb 21, 2024
61bd008
bump demandregio version
CarlosEpia Feb 13, 2024
e7377b1
add parameter ousehold-demand-source to cli
CarlosEpia Jan 15, 2024
5ad85c1
download and import HH timeseries demand data
CarlosEpia Jan 23, 2024
2b713a0
Import logger
nailend Feb 21, 2024
76ce6ea
Remove try/except and pickle alternative
nailend Feb 21, 2024
3f84c04
adjust mv_grid_district_HH_electricity_load
CarlosEpia Jan 25, 2024
e171760
Fix method name
nailend Feb 21, 2024
d056866
Remap nuts3 codes
CarlosEpia Jan 30, 2024
9439875
Remove hardcoded status2021 demandregio demand timeseries
nailend Feb 21, 2024
b943d4b
Merge branch 'features/status2023_use_demandregio_timeseries' into fe…
nailend Feb 21, 2024
bdd2f91
Remove gitmerge relict
nailend Feb 21, 2024
5c634d9
Use pickled profiles if FFE doesnt work
nailend Feb 23, 2024
f0b2de0
Adhoc fix year for status2023
nailend Feb 23, 2024
6151181
Merge branch 'features/wrapped_partial' into features/improve_ppweath…
nailend Feb 29, 2024
5857364
Remove slow functions
nailend Feb 29, 2024
ab99a66
Add function to assign missing buses
nailend Feb 29, 2024
a42c002
Add function to assign weather id
nailend Feb 29, 2024
747b59a
Add function to combine both
nailend Feb 29, 2024
6ffcdd7
Integrate task
nailend Feb 29, 2024
77d9e4a
Bump version of PowerPlants to 0.0.23
nailend Feb 29, 2024
09e63a5
Add timer to functions
nailend Feb 29, 2024
040d6cb
Adhoc remove postfix
nailend Feb 29, 2024
756dc95
Fix bug bus_id2
nailend Feb 29, 2024
5dcd280
Fix marginal costs 0 assignement
nailend Mar 1, 2024
f7b5bca
Bump version of Egon_etrago_gen to 0.0.10
nailend Mar 1, 2024
3b5e220
Add function to derive scenario year from name
nailend Jan 31, 2024
66443a7
Fix peak_load retrival
nailend Mar 1, 2024
4f286b9
Merge branch 'features/status2023_powerplants' into features/status2023
nailend Mar 1, 2024
7af46e6
Fast fix with dropna
nailend Mar 3, 2024
91829ac
Bump version of egon_etrago_gen to 0.0.10
nailend Mar 3, 2024
a0c0a5a
Use KBA 2021 dataset
nesnoj Mar 4, 2024
05a9d8e
Merge branch 'features/status2023_update_emobility' into features/sta…
nesnoj Mar 4, 2024
e00f234
Merge branch 'features/status2023' into features/status2023_update_em…
nesnoj Mar 4, 2024
c8ec34e
Bugfix: use 2023's emob params
nesnoj Mar 4, 2024
d8c6c11
Apply stricter tolerances for EV count tests.
nesnoj Mar 4, 2024
7584e6f
Bump emob dataset version to 0.0.10
nesnoj Mar 4, 2024
b18a352
Bump scenario_parameters dataset version to 0.0.17
nesnoj Mar 4, 2024
67a6fd5
Merge branch 'features/status2023_update_emobility_2' into features/s…
nesnoj Mar 4, 2024
c9f7202
Improve task generation
nailend Mar 7, 2024
8bd47f4
Improve data period detection
nailend Mar 7, 2024
21f2fc0
Improve code
nailend Mar 7, 2024
06348fa
Black&Isort
nailend Mar 7, 2024
84a2a9f
Rename functions
nailend Mar 7, 2024
1278566
Move function
nailend Mar 7, 2024
7fafe1e
Add minimal docstring
nailend Mar 7, 2024
5d55e17
Add pumped hydro storage to electrical_neighbours
nailend Mar 7, 2024
9b0d913
Use session_scope()
nailend Mar 7, 2024
4f5f25f
Pass scn_name to function
nailend Mar 7, 2024
ac7c488
Add commit for each line entry
nailend Mar 7, 2024
d5bffda
Filter_mastr_geoometry only for SH
nailend Mar 7, 2024
a71a117
Add session_scope()
nailend Mar 7, 2024
cb62906
Drop hydro_power without federal_states
nailend Mar 7, 2024
8183ecc
drop conventional plants that were decommissioned
khelfen Mar 11, 2024
10f60f1
Update folder name mastr dump 2024
nailend Mar 11, 2024
637f004
Merge branch 'features/status2023_update_mastr' into features/status2023
nailend Mar 11, 2024
8ec7a71
Merge branch 'features/status2023_powerplants' into features/status2023
nailend Mar 11, 2024
209d2eb
Use 2024 mastr dump for hydro power
nailend Mar 11, 2024
58329fa
Download pumped hydro csv from openmastr
nailend Mar 11, 2024
3360a73
Remove hydro power outside of germany
nailend Mar 11, 2024
e460c12
Move code to remove foreign entries
nailend Mar 11, 2024
6985efb
Add new function to get pumped hydro
nailend Mar 12, 2024
4225e3c
Use new function for statusquo scenarios
nailend Mar 12, 2024
20703ab
Bump version of Storages to 0.0.8
nailend Mar 12, 2024
d4fff66
Merge branch 'features/status2023_electrical_neighbours' into feature…
nailend Mar 12, 2024
ff555d2
Merge branch 'features/status2023_etrago_gen' into features/status2023
nailend Mar 12, 2024
d441d5d
Merge branch 'features/improve_ppweatherid_task' into features/status…
nailend Mar 12, 2024
f0c4895
Merge branch 'features/status2023-storages' into features/status2023
nailend Mar 12, 2024
f213fe7
Adhoc direct fix, merge hell
nailend Mar 17, 2024
ec8d8c1
Recommit decommisiong
nailend Mar 17, 2024
3ac6bdc
Improve comments
nailend Mar 19, 2024
2f16d80
Add missing_dependencies
nailend Mar 21, 2024
266ea03
Merge branch 'features/status2023-storages' into features/status2023
nailend Mar 27, 2024
8b3cc57
Merge branch 'features/status2023_use_demandregio_timeseries' into fe…
nailend Mar 27, 2024
a9b6e25
adapt weather year for aggregated load curve for service sector
khelfen May 23, 2024
763d050
Merge pull request #253 from openego/features/status2023_use_demandre…
khelfen May 23, 2024
05e23d7
Replace logging by logger
nailend Mar 19, 2024
232cc5e
Add logging about droped CHP capacities
nailend Mar 19, 2024
7724352
Make commisssioning and decomissioning date check dynamic
nailend Mar 19, 2024
6756fbf
Rework script
nailend Mar 19, 2024
9e1ce62
Black&Isort
nailend Mar 19, 2024
6396e0c
Minors
nailend Mar 19, 2024
b156a20
Improve logging
nailend Mar 19, 2024
da69403
Improve logging
nailend Mar 19, 2024
b597d13
Add missing scenario
nailend Mar 19, 2024
08de637
Fix minors
nailend Mar 19, 2024
09fecac
Fix minors
nailend Mar 19, 2024
baeec25
Drop ids
nailend Mar 19, 2024
337b387
Drop id hydro
nailend Mar 20, 2024
cabf9dc
Skip download if data-bundle.zip exists
nailend Jan 26, 2024
a1b745a
Bump version number for DataBundle
nailend Jan 26, 2024
ab204b9
update timeseries_per_wz to be run for each weather year of each scen…
khelfen Jun 5, 2024
48ff5d6
hand over scenario information to adapted function calc_load_curve
khelfen Jun 19, 2024
c4d19d2
update dataset version
khelfen Jun 19, 2024
160fef3
Merge pull request #266 from openego/features/status2023_use_demandre…
khelfen Jun 19, 2024
a421b7a
add SH filter to storages in SH run
khelfen Jun 21, 2024
1037323
correct call to config
khelfen Jun 21, 2024
4600871
do not use foreig storages in SH run
khelfen Jun 21, 2024
0874e1a
Merge pull request #270 from openego/features/status2023-storages
khelfen Jun 21, 2024
9b9180d
Merge branch 'features/status2023' of github.com:openego/powerd-data …
khelfen Jun 21, 2024
e5b09b8
shift slp time series to fit year 2023
khelfen Jul 29, 2024
0d33a93
renamed metadata.py
khelfen Aug 22, 2024
14373af
Merge remote-tracking branch 'origin/features/#450-add-metadata' into…
khelfen Aug 22, 2024
39327ea
replace oep_metadata_version function
khelfen Aug 22, 2024
cfe1b13
remove zenodo sandbox from metadata strings
khelfen Aug 22, 2024
7a03d06
Merge pull request #1169 from openego/dev
khelfen Aug 23, 2024
c0d1c80
Merge remote-tracking branch 'upstream/features/#450-add-metadata-kh'…
khelfen Aug 26, 2024
2486137
fix wrong oep version string for omi
khelfen Aug 29, 2024
173b574
add call to metadata function for mastr
khelfen Oct 14, 2024
6122eea
update dataset version
khelfen Oct 14, 2024
8b890bf
fixing some merge errors
khelfen Oct 14, 2024
2b4d660
Merge pull request #329 from openego/features/#450-add-metadata-kh
khelfen Oct 14, 2024
224aa7a
correct use of ' token in metadata
khelfen Oct 14, 2024
53f304d
Merge pull request #330 from openego/features/#450-add-metadata-kh
khelfen Oct 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,9 @@ jobs:
strategy:
matrix:
python-version:
- "3.7"
- "3.8"
platform: [ubuntu-latest, macos-latest]
exclude:
- platform: macos-latest
python-version: "3.7"
- platform: macos-latest
python-version: "3.8"
max-parallel: 4
Expand Down
2 changes: 1 addition & 1 deletion AUTHORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
Authors
=======

* Guido Pleßmann, Ilka Cußmann, Stephan Günther, Jonathan Amme, Julian Endres, Kilian Helfenbein - https://github.com/openego/eGon-data
* Jonathan Amme, Clara Büttner, Ilka Cußman, Julian Endres, Carlos Epia, Kilian Helfenbein, Stephan Günther, Ulf Müller, Amélia Nadal, Guido Pleßmann, Francesco Witte - https://github.com/openego/eGon-data
16 changes: 14 additions & 2 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,16 @@ Added
`PR #903 <https://github.com/openego/eGon-data/pull/903>`_
* Add low flex scenario 'eGon2035_lowflex'
`#822 <https://github.com/openego/eGon-data/issues/822>`_
* Add Status2023 update heat demand
`#199 <https://github.com/openego/powerd-data/pull/199>`_
* Add status2023 electrical neighbours
`#182 <https://github.com/openego/powerd-data/pull/182>`_
* Add Status2023 to gas nodes
`#205 <https://github.com/openego/powerd-data/pull/205>`_
* Update osm for status2023
`#169 <https://github.com/openego/powerd-data/pull/169>`_
* Add wrapped_partial to dynamise task generation
`#207 <https://github.com/openego/powerd-data/pull/207>`_
* Add MaStR geocoding and handling of conventional generators
`#1095 <https://github.com/openego/eGon-data/issues/1095>`_

Expand Down Expand Up @@ -494,12 +504,14 @@ Changed
`#1073 <https://github.com/openego/eGon-data/issues/1073>`_
* Change hgv data source to use database
`#1086 <https://github.com/openego/eGon-data/issues/1086>`_
* Rename eMob MIT carrier names (use underscores)
`#1105 <https://github.com/openego/eGon-data/issues/1105>`_
* Change desposit ID for data_bundle download from zenodo sandbox
`#1110 <https://github.com/openego/eGon-data/issues/1110>`_
* Use MaStR geocoding results for pv rooftop to buildings mapping workflow
`#1095 <https://github.com/openego/eGon-data/issues/1095>`_
* Rename eMob MIT carrier names (use underscores)
`#1105 <https://github.com/openego/eGon-data/issues/1105>`_
* Add eMob MIT for SQ2023 scenario
`#176 <https://github.com/openego/powerd-data/issues/176>`_

.. _#799: https://github.com/openego/eGon-data/issues/799

Expand Down
12 changes: 12 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,18 @@ packages are required too. Right now these are:
You also have to agree on the `terms of use
<https://cds.climate.copernicus.eu/cdsapp/#!/terms/licence-to-use-copernicus-products>`_

* To download generation and demand data from entsoe you need to register in
the `entsoe platform <https://transparency.entsoe.eu/>`_. Once the user is
created, send an email to [email protected] with “Restful API access” in
the subject line. Indicate the email address you entered during registration
in the email body. After authorisation a personal token can be generated in
'My Account Settings'to access the available data. This token must be saved
in a text file called *.entsoe-token* in the home directory.
In Ubuntu you can go to the home directory by typing :code:`cd ~` in a
terminal. To create the file execute :code:`nano ".entsoe-token"` and then
paste your personal token (36 characters). Finally press :code:`CRL + x` to
save and exit.

* Make sure you have enough free disk space (~350 GB) in your working
directory.

Expand Down
37 changes: 21 additions & 16 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ def read(*names, **kwargs):
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: Implementation :: CPython",
# uncomment if you test on these interpreters:
Expand All @@ -79,39 +78,45 @@ def read(*names, **kwargs):
keywords=[
# eg: 'keyword1', 'keyword2', 'keyword3',
],
python_requires=">=3.7",
python_requires=">=3.8",
install_requires=[
# eg: 'aspectlib==1.1.1', 'six>=1.7',
"apache-airflow>=1.10.14,<2.0", # See accompanying commit message
"atlite==0.2.5",
"apache-airflow>2.0",
"apache-airflow[postgres]",
"apache-airflow-providers-sendgrid",
"atlite==0.2.11",
"cdsapi",
"click",
"geopandas>=0.10.0,<0.11.0",
"click<8.1",
"entsoe-py >=0.6.2",
"Flask-Session<0.6.0",
"GeoAlchemy2",
"geopandas>=0.10.0",
"geopy",
"geovoronoi==0.3.0",
"importlib-resources",
"geovoronoi",
"importlib-resources<6.0",
"loguru",
"markupsafe<2.1.0", # MarkupSafe>=2.1.0 breaks WTForms<3
"markupsafe",
"matplotlib",
"netcdf4",
"numpy<1.23", # incompatibilities with shapely 1.7.
# See: https://stackoverflow.com/a/73354885/12460232
"oedialect==0.0.8",
"numpy",
"omi",
"openpyxl",
"pandas>1.2.0,<1.4", # pandas>=1.4 needs SQLAlchemy>=1.4
"pandas>2.0.0",
"psycopg2",
"pyaml",
"pypsa==0.17.1",
"pypsa==0.20.1",
"pydantic<2.0",
"rasterio",
"requests",
"rioxarray",
"rtree",
"saio",
"seaborn",
"setuptools>60.0",
"shapely",
"snakemake<7",
"sqlalchemy<1.4", # Airflow<2.0 is not compatible with SQLAlchemy>=1.4
"wtforms<3", # WTForms>=3.0 breaks Airflow<2.0
"sqlalchemy",
"wtforms",
"xarray",
"xlrd",
],
Expand Down
4 changes: 2 additions & 2 deletions src/egon/data/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

from loguru import logger
import click

import shutil
__version__ = "0.0.0"


def echo(message):
prefix, message = message.split(" - ")
lines = message.split("\n")
width = min(72, click.get_terminal_size()[0])
width = min(72, shutil.get_terminal_size()[0])
wraps = ["\n".join(wrap(line, width)) for line in lines]
message = "\n".join([prefix] + wraps)
click.echo(message, err=True)
Expand Down
Loading
Loading