Commit Graph

28 Commits

Author SHA1 Message Date
euronion
85c356297a Add logging to logfiles to all snakemake workflow scripts. (#102)
* Add logging to logfiles to all snakemake workflow scripts.

* Fix missing quotation marks in Snakefile.

* Apply suggestions from code review

Co-Authored-By: Fabian Neumann <fabian.neumann@outlook.de>

* Apply suggestions from code review

Co-Authored-By: Fabian Neumann <fabian.neumann@outlook.de>

* doc: fix _ec_ filenames in docs

* Allow logging message format to be specified in config.yaml.

* Add logging for Snakemake rule 'retrieve_databundle '.

* Add limited logging to STDERR only for retrieve_*.py scripts.

* Import progressbar module only on demand.

* Fix logging to file and enable concurrent printing to STDERR for most scripts.

* Add new 'logging_format' option to Travis CI test config.yaml.

* Add missing parenthesis (bug fix) and cross-os compatible paths.

* Fix typos in messages.

* Use correct log files for logging (bug fix).

* doc: fix line references

* config: logging_format in all configs

* doc: add doc for logging_format

* environment: update to powerplantmatching 0.4.3

* doc: update line references for tutorial.rst

* Change logging configuration scheme for config.yaml.

* Add helper function for doing basic logging configuration.

* Add logpath for prepare_links_p_nom rule.

* Outsource basic logging configuration for all scripts to _helper submodule.

* Update documentation for changed config.yaml structure.

Instead of 'logging_level' and 'logging_format', now 'logging' with subcategories is used.

* _helpers: Change configure_logging signature.
2019-11-28 08:22:52 +01:00
Fabian Neumann
81d9d2ab4d
battery+H2: option for stores and links instead of storage_units (#97)
* add_electricity: stores and links instead of storageunits

* move code for attaching in add_extra_stores.py

* Update Snakefile

Co-Authored-By: Fabian Neumann <fabian.neumann@outlook.de>

* Update Snakefile

Co-Authored-By: Fabian Neumann <fabian.neumann@outlook.de>

* Update Snakefile

Co-Authored-By: Fabian Neumann <fabian.neumann@outlook.de>

* rename to add_extra_components.py

* incorporate suggestions

* Snakefile: update script name

* extra_components: import _add_missing_carriers_from_costs

* Add '_ec" infix in Snakefile

* Snakefile add infix at missing spot

* remove unintendetely inserted data.bundle, correct import in add_extra_components

* environment: fix pyyaml version

* set powerplantmatching as conda-dependency

* environment fix minimal ppm version

* environment reinsert pyyaml

* environment: carry over changes to environment.docs.yaml

* extra_components: add carriers

* update docstring

* Update scripts/add_extra_components.py

* Update scripts/add_extra_components.py

* tutorial: fix hyperlink [skip travis]

* update release notes

* update documentation

* add_electricity: merge removal of suptech
2019-11-19 19:36:28 +01:00
FabianHofmann
0ea5a5c28f Powerplants (#94)
* add nice carrier names to n.carriers

* closes #48

* update environment
2019-11-09 09:08:25 +01:00
Fabian Neumann
7141ce9e5c environment: update to pypsa v0.15 2019-11-08 17:02:42 +01:00
Fabian Neumann
4010e9450d
Complete test pipeline for windows with vresutils memorylogger fixed (#93) 2019-11-08 16:47:39 +01:00
Fabian Neumann
979ff3de72 revert to pyproj<=1.9.6 2019-10-28 15:08:53 +01:00
Fabian Neumann
7663d71219 update conda environment files 2019-10-28 12:02:33 +01:00
Fabian Neumann
ad61968dac use pypsa master branch 2019-10-25 12:33:39 +02:00
Fabian Neumann
0fef13ee86 resolve merge conflicts 2019-10-24 16:22:57 +02:00
Fabian
c18d00a9ef Closes #73 2019-10-17 09:56:24 +02:00
Fabian Neumann
67f8f6e24e add packages yaml and ppm for docs 2019-10-14 13:19:41 -06:00
Fabian Neumann
245ce357f1 fix pyproj version to 1.9.5.1 (closes #72) 2019-10-14 10:06:11 -04:00
Fabian Neumann
886e6234ce reverse environment update 2019-10-09 10:47:24 -04:00
Fabian Neumann
c24e60a624 update environment.yaml 2019-10-03 16:54:22 +02:00
Fabian Neumann
9ddd9ccd75 update environment.yaml 2019-10-03 12:34:41 +02:00
Fabian Neumann
4056ad7ad8 environment.yaml: install pypsa and dependencies through conda-forge (#44)
* environment.yaml: install pypsa and dependencies through conda-forge

* environment.yaml: remove rasterstats + restore memory_profiler
2019-06-05 14:14:37 +02:00
Jonas Hoersch
97eaebb0ea environment.yaml: Separate dependencies of pip packages more cleanly
Dependencies are either of atlite, pypsa or the workflow itself.

Use snakemake-minimal instead of snakemake (fixes #39)
2019-05-26 10:24:42 +02:00
Jonas Hoersch
8a9248ee15 Update dependencies for new pypsa version 2019-05-24 13:59:45 +02:00
Jonas Hoersch
edb3988e9e README, environment.yaml: Warn about recent fix of network clustering in PyPSA
Update to latest master of PyPSA.
2019-03-02 18:56:18 +01:00
Jonas Hoersch
ef867ebfc0 environment: Update environment.yaml to blacklist netcdf4 version with regression 2019-02-15 20:59:42 +01:00
Jonas Hoersch
e2078f25cd Update environment.yaml to new versions 2019-02-01 18:09:55 +01:00
Jonas Hoersch
70857f955c Use glaes and geokit repositories from PyPSA fork 2018-12-19 14:44:11 +01:00
Jonas Hoersch
802261eedd Use GLAES library by FZJ-IEK-3 for computing GIS potentials 2018-12-11 15:39:42 +01:00
Jonas Hoersch
04a291b91b Move from countrycodes to maintained pycountry 2018-12-10 18:34:22 +01:00
Jonas Hörsch
ba3a008018 add_electricity: Adapt to reverse compatible argument change in timeseries_opsd 2018-09-03 23:20:46 +02:00
Jonas Hörsch
95e0c77e70 Update environment.yaml to reflect the new library versions
Also force all GIS stuff to be provided from conda-forge and not fall back to
defaults, which is THE principal source of library breakage.
2018-08-17 10:42:56 +02:00
Jonas Hörsch
b2d23a3355 Remove dependency on ECMWF API
The ECMWF API is being deprecated in favor of a new service the CDS API.
Atlite's ERA5 cutout generation code will have to be ported eventually.
2018-08-08 14:49:50 +02:00
Jonas Hörsch
e17ccfec47 Add environment.yaml file for conda 2018-07-10 17:44:19 +02:00