Conditions | 1 |
Total Lines | 293 |
Code Lines | 145 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
Small methods make your code easier to understand, in particular if combined with a good name. Besides, if your method is small, finding a good name is usually much easier.
For example, if you find yourself adding comments to a method's body, this is usually a good sign to extract the commented part to a new method, and use the comment as a starting point when coming up with a good name for this new method.
Commonly applied refactorings include:
If many parameters/temporary variables are present:
1 | from geoalchemy2 import Geometry |
||
362 | def sources(): |
||
363 | return { |
||
364 | "bgr_inspee": { |
||
365 | "title": "Salt structures in Northern Germany", |
||
366 | "description": 'The application "Information System Salt Structures" provides information about the ' |
||
367 | "areal distribution of salt structures (stocks and pillows) in Northern Germany. With general structural " |
||
368 | "describing information, such as depth, secondary thickness, types of use or state of exploration, queries " |
||
369 | "can be conducted. Contours of the salt structures can be displayed at horizontal cross-sections at four " |
||
370 | "different depths up to a maximum depth of 2000 m below NN. A data sheet with information and further " |
||
371 | "reading is provided for every single salt structure. Taking into account the fact that this work was " |
||
372 | "undertaken at a scale for providing an overview and not for investigation of single structures, the scale " |
||
373 | "of display is limited to a minimum of 1:300.000. This web application is the product of a BMWi-funded " |
||
374 | 'research project "InSpEE" running from the year 2012 to 2015. The acronym stands for "Information system ' |
||
375 | "salt structures: planning basis, selection criteria and estimation of the potential for the construction " |
||
376 | 'of salt caverns for the storage of renewable energies (hydrogen and compressed air)".', |
||
377 | "path": "https://produktcenter.bgr.de/terraCatalog/DetailResult.do?fileIdentifier=338136ea-261a-4569-a2bf-92999d09bad2", |
||
378 | "licenses": [license_geonutzv("© BGR, Hannover, 2015")], |
||
379 | }, |
||
380 | "bgr_inspeeds": { |
||
381 | "title": "Flat layered salts in Germany", |
||
382 | "description": "Which salt formations are suitable for storing hydrogen or compressed air? " |
||
383 | "In the InSpEE-DS research project, scientists developed requirements and criteria for the assessment " |
||
384 | "of suitable sites even if their exploration is still at an early stage and there is little knowledge of " |
||
385 | "the salinaries structures. Scientists at DEEP.KBB GmbH in Hanover, worked together with their project " |
||
386 | "partners at the Federal Institute for Geosciences and Natural Resources and the Leibniz University " |
||
387 | "Hanover, Institute for Geotechnics Hanover, to develop the planning basis for the site selection and for " |
||
388 | "the construction of storage caverns in flat layered salt and multiple or double saliniferous formations. " |
||
389 | "Such caverns could store renewable energy in the form of hydrogen or compressed air. While the previous " |
||
390 | "project InSpEE was limited to salt formations of great thickness in Northern Germany, salt horizons of " |
||
391 | "different ages have now been examined all over Germany. To estimate the potential, depth contour maps of " |
||
392 | "the top and the base as well as thickness maps of the respective stratigraphic units and reference " |
||
393 | "profiles were developed. Information on compressed air and hydrogen storage potential were given for the " |
||
394 | "identified areas and for the individual federal states. The web service " |
||
395 | '"Information system for flat layered salt" gives access to this data. The scale of display is limited ' |
||
396 | "to a minimum of 1:300.000. This geographic information is product of a BMWi-funded research project " |
||
397 | '"InSpEE-DS" running from the year 2015 to 2019. The acronym stands for "Information system salt: ' |
||
398 | "planning basis, selection criteria and estimation of the potential for the construction of salt caverns " |
||
399 | 'for the storage of renewable energies (hydrogen and compressed air) - double saline and flat salt layers".', |
||
400 | "path": "https://produktcenter.bgr.de/terraCatalog/DetailResult.do?fileIdentifier=630430b8-4025-4d6f-9a62-025b53bc8b3d", |
||
401 | "licenses": [license_geonutzv("© BGR, Hannover, 2021")], |
||
402 | }, |
||
403 | "bgr_inspeeds_data_bundle": { |
||
404 | "title": "Informationssystem Salz: Planungsgrundlagen, Auswahlkriterien und Potenzialabschätzung für die " |
||
405 | "Errichtung von Salzkavernen zur Speicherung von Erneuerbaren Energien (Wasserstoff und Druckluft) – " |
||
406 | "Doppelsalinare und flach lagernde Salzschichten. Teilprojekt Bewertungskriterien und Potenzialabschätzung", |
||
407 | "description": "Shapefiles corresponding to the data provided in figure 7-1 " |
||
408 | "(Donadei, S., et al., 2020, p. 7-5). The energy storage potential data are provided per federal state " |
||
409 | " in table 7-1 (Donadei, S., et al., 2020, p. 7-4). Note: Please include all bgr data sources when using " |
||
410 | "the data.", |
||
411 | "path": "https://dx.doi.org/10.5281/zenodo.4896526", |
||
412 | "licenses": [license_geonutzv("© BGR, Hannover, 2021")], |
||
413 | }, |
||
414 | "bgr_inspeeds_report": { |
||
415 | "title": "Informationssystem Salz: Planungsgrundlagen, Auswahlkriterien und Potenzialabschätzung für die " |
||
416 | "Errichtung von Salzkavernen zur Speicherung von Erneuerbaren Energien (Wasserstoff und Druckluft) – " |
||
417 | "Doppelsalinare und flach lagernde Salzschichten. Teilprojekt Bewertungskriterien und Potenzialabschätzung", |
||
418 | "description": "The report includes availability of saltstructures for energy storage and energy " |
||
419 | "storage potential accumulated per federal state in Germany.", |
||
420 | "path": "https://www.bgr.bund.de/DE/Themen/Nutzung_tieferer_Untergrund_CO2Speicherung/Downloads/InSpeeDS_TP_Bewertungskriterien.pdf?__blob=publicationFile&v=3", |
||
421 | "licenses": [license_geonutzv("© BGR, Hannover, 2021")], |
||
422 | }, |
||
423 | "demandregio": { |
||
424 | "title": "DemandRegio", |
||
425 | "description": "Harmonisierung und Entwicklung von Verfahren zur regionalen und " |
||
426 | "zeitlichen Auflösung von Energienachfragen", |
||
427 | "path": "https://doi.org/10.34805/ffe-119-20", |
||
428 | "licenses": [license_ccby("© FZJ, TUB, FfE")], |
||
429 | }, |
||
430 | "egon-data": { |
||
431 | "titel": "eGon-data", |
||
432 | "description": "Workflow to download, process and generate data sets" |
||
433 | "suitable for the further research conducted in the project eGon (https://ego-n.org/)", |
||
434 | "path": "https://github.com/openego/eGon-data", |
||
435 | "licenses": [license_agpl(EGON_ATTRIBUTION)], |
||
436 | }, |
||
437 | "Einspeiseatlas": { |
||
438 | "title": "Einspeiseatlas", |
||
439 | "description": "Im Einspeiseatlas finden sie sich die Informationen " |
||
440 | "zu realisierten und geplanten Biomethanaufbereitungsanlagen - mit " |
||
441 | "und ohne Einspeisung ins Gasnetz - in Deutschland und weltweit.", |
||
442 | "path": "https://www.biogaspartner.de/einspeiseatlas/", |
||
443 | "licenses": [ |
||
444 | license_ccby("Deutsche Energie-Agentur (dena, 2021)") |
||
445 | ], |
||
446 | }, |
||
447 | "era5": { |
||
448 | "title": "ERA5 global reanalysis", |
||
449 | "description": "ERA5 is the fifth generation ECMWF reanalysis for the global climate " |
||
450 | "and weather for the past 4 to 7 decades. Currently data is available from 1950, " |
||
451 | "split into Climate Data Store entries for 1950-1978 (preliminary back extension) and f" |
||
452 | "rom 1979 onwards (final release plus timely updates, this page). ERA5 replaces the ERA-Interim reanalysis. " |
||
453 | "See the online ERA5 documentation " |
||
454 | "(https://confluence.ecmwf.int/display/CKB/ERA5%3A+data+documentation#ERA5:datadocumentation-Dataupdatefrequency) " |
||
455 | "for more information.", |
||
456 | "path": "https://confluence.ecmwf.int/display/CKB/ERA5%3A+data+documentation#ERA5:datadocumentation-Dataupdatefrequency", |
||
457 | "licenses": [ |
||
458 | { |
||
459 | "name": "Licence to use Copernicus Products", |
||
460 | "title": "Licence to use Copernicus Products", |
||
461 | "path": "https://cds.climate.copernicus.eu/api/v2/terms/static/licence-to-use-copernicus-products.pdf", |
||
462 | "instruction": "This Licence is free of charge, worldwide, non-exclusive, royalty free and perpetual. " |
||
463 | "Access to Copernicus Products is given for any purpose in so far as it is lawful, whereas use " |
||
464 | "may include, but is not limited to: reproduction; distribution; communication to the public; " |
||
465 | "adaptation, modification and combination with other data and information; or any " |
||
466 | "combination of the foregoing", |
||
467 | "attribution": "Copernicus Climate Change Service (C3S) Climate Data Store", |
||
468 | }, |
||
469 | ], |
||
470 | }, |
||
471 | "dsm-heitkoetter": { |
||
472 | "title": "Assessment of the regionalised demand response potential " |
||
473 | "in Germany using an open source tool and dataset", |
||
474 | "description": "With the expansion of renewable energies in Germany, " |
||
475 | "imminent grid congestion events occur more often. One approach for " |
||
476 | "avoiding curtailment of renewable energies is to cover excess feed-in " |
||
477 | "by demand response. As curtailment is often a local phenomenon, in " |
||
478 | "this work we determine the regional demand response potential for " |
||
479 | "the 401 German administrative districts with a temporal resolution " |
||
480 | "of 15 min, including technical, socio-technical and economic " |
||
481 | "restrictions.", |
||
482 | "path": "https://doi.org/10.1016/j.adapen.2020.100001", |
||
483 | "licenses": [ |
||
484 | license_ccby( |
||
485 | "© 2020 German Aerospace Center (DLR), " |
||
486 | "Institute of Networked Energy Systems." |
||
487 | ) |
||
488 | ], |
||
489 | }, |
||
490 | "hotmaps_industrial_sites": { |
||
491 | "titel": "industrial_sites_Industrial_Database", |
||
492 | "description": "Georeferenced industrial sites of energy-intensive industry sectors in EU28", |
||
493 | "path": "https://gitlab.com/hotmaps/industrial_sites/industrial_sites_Industrial_Database", |
||
494 | "licenses": [ |
||
495 | license_ccby("© 2016-2018: Pia Manz, Tobias Fleiter") |
||
496 | ], |
||
497 | }, |
||
498 | "hotmaps_scen_buildings": { |
||
499 | "titel": "scen_current_building_demand", |
||
500 | "description": "Energy demand scenarios in buidlings until the year 2050 - current policy scenario", |
||
501 | "path": "https://gitlab.com/hotmaps/scen_current_building_demand", |
||
502 | "licenses": [ |
||
503 | license_ccby( |
||
504 | "© 2016-2018: Michael Hartner, Lukas Kranzl, Sebastian Forthuber, Sara Fritz, Andreas Müller" |
||
505 | ) |
||
506 | ], |
||
507 | }, |
||
508 | "mastr": { |
||
509 | "title": "open-MaStR power unit registry", |
||
510 | "description": "Raw data download Marktstammdatenregister (MaStR) data " |
||
511 | "using the webservice. All data from the Marktstammdatenregister is included." |
||
512 | "There are duplicates included. For further information read in the documentation" |
||
513 | "of the original data source: https://www.marktstammdatenregister.de/MaStRHilfe/subpages/statistik.html", |
||
514 | "path": "https://sandbox.zenodo.org/record/808086", |
||
515 | "licenses": [ |
||
516 | licenses_datenlizenz_deutschland( |
||
517 | "© 2021 Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen" |
||
518 | ) |
||
519 | ], |
||
520 | }, |
||
521 | "nep2021": { |
||
522 | "title": "Netzentwicklungsplan Strom 2035, Version 2021, erster Entwurf", |
||
523 | "description": "Die vier deutschen Übertragungsnetzbetreiber zeigen mit " |
||
524 | "diesem ersten Entwurf des Netzentwicklungsplans 2035, Version 2021, den " |
||
525 | "benötigten Netzausbau für die nächsten Jahre auf. Der NEP-Bericht beschreibt " |
||
526 | "keine konkreten Trassenverläufe von Übertragungsleitungen, sondern er " |
||
527 | "dokumentiert den notwendigen Übertragungsbedarf zwischen Netzknoten. " |
||
528 | "Das heißt, es werden Anfangs- und Endpunkte von zukünftigen Leitungsverbindungen " |
||
529 | "definiert sowie konkrete Empfehlungen für den Aus- und Neubau der Übertragungsnetze " |
||
530 | "an Land und auf See in Deutschland gemäß den Detailanforderungen im § 12 EnWG gegeben.", |
||
531 | "path": "https://zenodo.org/record/5743452#.YbCoz7so8go", |
||
532 | "licenses": [license_ccby("© Übertragungsnetzbetreiber")], |
||
533 | }, |
||
534 | "openffe_gas": { |
||
535 | "title": "Load Curves of the Industry Sector – eXtremOS solidEU Scenario (Europe NUTS-3)", |
||
536 | "description": "Load Curves of the Industry Sector for the eXtremOS solidEU Scenario Scenario at NUTS-3-Level. " |
||
537 | "More information at https://extremos.ffe.de/.", |
||
538 | "path": "http://opendata.ffe.de/dataset/load-curves-of-the-industry-sector-extremos-solideu-scenario-europe-nuts-3/", |
||
539 | "licenses": [license_ccby("© FfE, eXtremOS Project")], |
||
540 | }, |
||
541 | "openstreetmap": { |
||
542 | "title": "OpenStreetMap Data Extracts (Geofabrik)", |
||
543 | "description": "Full data extract of OpenStreetMap data for defined" |
||
544 | "spatial extent at ''referenceDate''", |
||
545 | "path": "https://download.geofabrik.de/europe/germany-210101.osm.pbf", |
||
546 | "licenses": [license_odbl("© OpenStreetMap contributors")], |
||
547 | }, |
||
548 | "peta": { |
||
549 | "title": "Pan-European Thermal Atlas, Peta version 5.0.1", |
||
550 | "description": "Modelled Heat Demand distribution (in GJ per hectare grid cell) for residential and service " |
||
551 | "heat demands for space heating and hot water for the year 2015 using HRE4 data and the combined " |
||
552 | "top-down bottom-up approach of HRE4. " |
||
553 | "National sector-specific heat demand data, derived by the FORECAST model in HRE4 for residential " |
||
554 | "(delivered energy, for space heating and hot water) and service-sector (delivered energy, for space heating, hot " |
||
555 | "water and process heat) buildings for the year 2015, were distributed using modelled, spatial " |
||
556 | "statistics based floor areas in 100x100m grids and a population grid. " |
||
557 | "For further information please see the documentation available on the Heat Roadmap Europe website, " |
||
558 | "in particular D2.3 report: Methodologies and assumptions used in the mapping.", |
||
559 | "path": "https://s-eenergies-open-data-euf.hub.arcgis.com/search", |
||
560 | "licenses": [ |
||
561 | license_ccby( |
||
562 | "© Europa-Universität Flensburg, Halmstad University and Aalborg University" |
||
563 | ) |
||
564 | ], |
||
565 | }, |
||
566 | "pipeline_classification": { |
||
567 | "title": "Technical pipeline characteristics for high pressure pipelines", |
||
568 | "description": "Parameters for the classification of gas pipelines, " |
||
569 | "the whole documentation could is available at: " |
||
570 | "https://www.econstor.eu/bitstream/10419/173388/1/1011162628.pdf", |
||
571 | "path": "https://zenodo.org/record/5743452", |
||
572 | "licenses": [license_ccby("© DIW Berlin, 2017")], |
||
573 | }, |
||
574 | "schmidt": { |
||
575 | "title": "Supplementary material to the masters thesis: " |
||
576 | "NUTS-3 Regionalization of Industrial Load Shifting Potential in Germany using a Time-Resolved Model", |
||
577 | "description": "Supplementary material to the named masters thesis, containing data on industrial processes" |
||
578 | "for the estimation of NUTS-3 load shifting potential of suitable electrically powered industrial processes" |
||
579 | "(cement milling, mechanical pulping, paper production, air separation).", |
||
580 | "path": "https://zenodo.org/record/3613767", |
||
581 | "licenses": [license_ccby("© 2019 Danielle Schmidt")], |
||
582 | }, |
||
583 | "SciGRID_gas": { |
||
584 | "title": "SciGRID_gas IGGIELGN", |
||
585 | "description": "The SciGRID_gas dataset represents the European " |
||
586 | "gas transport network (pressure levels of 20 bars and higher) " |
||
587 | "including the geo-referenced transport pipelines, compressor " |
||
588 | "stations, LNG terminals, storage, production sites, gas power " |
||
589 | "plants, border points, and demand time series. ", |
||
590 | "path": "https://dx.doi.org/10.5281/zenodo.4896526", |
||
591 | "licenses": [ |
||
592 | license_ccby( |
||
593 | "Jan Diettrich; Adam Pluta; Wided Medjroubi (DLR-VE)" |
||
594 | ), |
||
595 | ], |
||
596 | }, |
||
597 | "seenergies": { |
||
598 | "title": "D5 1 Industry Dataset With Demand Data", |
||
599 | "description": "Georeferenced EU28 industrial sites with quantified annual excess heat volumes and demand data" |
||
600 | "within main sectors: Chemical industry, Iron and steel, Non-ferrous metals, Non-metallic minerals, Paper and printing, and Refineries.", |
||
601 | "path": "https://s-eenergies-open-data-euf.hub.arcgis.com/datasets/5e36c0af918040ed936b4e4c101f611d_0/about", |
||
602 | "licenses": [license_ccby("© Europa-Universität Flensburg")], |
||
603 | }, |
||
604 | "technology-data": { |
||
605 | "titel": "Energy System Technology Data v0.3.0", |
||
606 | "description": "This script compiles assumptions on energy system " |
||
607 | "technologies (such as costs, efficiencies, lifetimes, etc.) for " |
||
608 | "chosen years (e.g. [2020, 2030, 2050]) from a variety of sources " |
||
609 | "into CSV files to be read by energy system modelling software. " |
||
610 | "The merged outputs have standardized cost years, technology names, " |
||
611 | "units and source information.", |
||
612 | "path": "https://github.com/PyPSA/technology-data/tree/v0.3.0", |
||
613 | "licenses": [ |
||
614 | license_agpl( |
||
615 | "© Marta Victoria (Aarhus University), Kun Zhu (Aarhus University), Elisabeth Zeyen (TUB), Tom Brown (TUB)" |
||
616 | ) |
||
617 | ], |
||
618 | }, |
||
619 | "tyndp": { |
||
620 | "title": "Ten-Year Network Development Plan (TYNDP) 2020 Scenarios", |
||
621 | "description": "ENTSOs’ TYNDP 2020 Scenario Report describes possible European energy futures up to 2050. " |
||
622 | "Scenarios are not forecasts; they set out a range of possible futures used by the ENTSOs to test future " |
||
623 | "electricity and gas infrastructure needs and projects. The scenarios are ambitious as they deliver " |
||
624 | "a low carbon energy system for Europe by 2050. The ENTSOs have developed credible scenarios that are " |
||
625 | "guided by technically sound pathways, while reflecting country by country specifics, so that a pan-European " |
||
626 | "low carbon future is achieved.", |
||
627 | "path": "https://tyndp.entsoe.eu/maps-data", |
||
628 | "licenses": [license_ccby("© ENTSO-E and ENTSOG")], |
||
629 | }, |
||
630 | "vg250": { |
||
631 | "title": "Verwaltungsgebiete 1:250 000 (Ebenen)", |
||
632 | "description": "Der Datenbestand umfasst sämtliche Verwaltungseinheiten der " |
||
633 | "hierarchischen Verwaltungsebenen vom Staat bis zu den Gemeinden " |
||
634 | "mit ihren Grenzen, statistischen Schlüsselzahlen, Namen der " |
||
635 | "Verwaltungseinheit sowie die spezifische Bezeichnung der " |
||
636 | "Verwaltungsebene des jeweiligen Landes.", |
||
637 | "path": "https://daten.gdz.bkg.bund.de/produkte/vg/vg250_ebenen_0101/2020/vg250_01-01.geo84.shape.ebenen.zip", |
||
638 | "licenses": [ |
||
639 | licenses_datenlizenz_deutschland( |
||
640 | "© Bundesamt für Kartographie und Geodäsie " |
||
641 | "2020 (Daten verändert)" |
||
642 | ) |
||
643 | ], |
||
644 | }, |
||
645 | "zensus": { |
||
646 | "title": "Statistisches Bundesamt (Destatis) - Ergebnisse des Zensus 2011 zum Download", |
||
647 | "description": "Als Download bieten wir Ihnen auf dieser Seite zusätzlich zur " |
||
648 | "Zensusdatenbank CSV- und teilweise Excel-Tabellen mit umfassenden Personen-, Haushalts- " |
||
649 | "und Familien- sowie Gebäude- und Wohnungsmerkmalen. Die Ergebnisse liegen auf Bundes-, " |
||
650 | "Länder-, Kreis- und Gemeindeebene vor. Außerdem sind einzelne Ergebnisse für Gitterzellen verfügbar.", |
||
651 | "path": "https://www.zensus2011.de/SharedDocs/Aktuelles/Ergebnisse/DemografischeGrunddaten.html;jsessionid=E0A2B4F894B258A3B22D20448F2E4A91.2_cid380?nn=3065474", |
||
652 | "licenses": [ |
||
653 | licenses_datenlizenz_deutschland( |
||
654 | "© Statistische Ämter des Bundes und der Länder 2014" |
||
655 | ) |
||
720 |