Conditions | 1 |
Total Lines | 246 |
Code Lines | 125 |
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 | import time |
||
305 | def sources(): |
||
306 | return { |
||
307 | "bgr_inspee": { |
||
308 | "title": "Salt structures in Northern Germany", |
||
309 | "description": 'The application "Information System Salt Structures" provides information about the ' |
||
310 | "areal distribution of salt structures (stocks and pillows) in Northern Germany. With general structural " |
||
311 | "describing information, such as depth, secondary thickness, types of use or state of exploration, queries " |
||
312 | "can be conducted. Contours of the salt structures can be displayed at horizontal cross-sections at four " |
||
313 | "different depths up to a maximum depth of 2000 m below NN. A data sheet with information and further " |
||
314 | "reading is provided for every single salt structure. Taking into account the fact that this work was " |
||
315 | "undertaken at a scale for providing an overview and not for investigation of single structures, the scale " |
||
316 | "of display is limited to a minimum of 1:300.000. This web application is the product of a BMWi-funded " |
||
317 | 'research project "InSpEE" running from the year 2012 to 2015. The acronym stands for "Information system ' |
||
318 | "salt structures: planning basis, selection criteria and estimation of the potential for the construction " |
||
319 | 'of salt caverns for the storage of renewable energies (hydrogen and compressed air)".', |
||
320 | "path": "https://produktcenter.bgr.de/terraCatalog/DetailResult.do?fileIdentifier=338136ea-261a-4569-a2bf-92999d09bad2", |
||
321 | "license": [license_geonutzv("© BGR, Hannover, 2015")], |
||
322 | }, |
||
323 | "bgr_inspeeds": { |
||
324 | "title": "Flat layered salts in Germany", |
||
325 | "description": "Which salt formations are suitable for storing hydrogen or compressed air? " |
||
326 | "In the InSpEE-DS research project, scientists developed requirements and criteria for the assessment " |
||
327 | "of suitable sites even if their exploration is still at an early stage and there is little knowledge of " |
||
328 | "the salinaries' structures. Scientists at DEEP.KBB GmbH in Hanover, worked together with their project " |
||
329 | "partners at the Federal Institute for Geosciences and Natural Resources and the Leibniz University " |
||
330 | "Hanover, Institute for Geotechnics Hanover, to develop the planning basis for the site selection and for " |
||
331 | "the construction of storage caverns in flat layered salt and multiple or double saliniferous formations. " |
||
332 | "Such caverns could store renewable energy in the form of hydrogen or compressed air. While the previous " |
||
333 | "project InSpEE was limited to salt formations of great thickness in Northern Germany, salt horizons of " |
||
334 | "different ages have now been examined all over Germany. To estimate the potential, depth contour maps of " |
||
335 | "the top and the base as well as thickness maps of the respective stratigraphic units and reference " |
||
336 | "profiles were developed. Information on compressed air and hydrogen storage potential were given for the " |
||
337 | "identified areas and for the individual federal states. The web service " |
||
338 | '"Information system for flat layered salt" gives access to this data. The scale of display is limited ' |
||
339 | "to a minimum of 1:300.000. This geographic information is product of a BMWi-funded research project " |
||
340 | '"InSpEE-DS" running from the year 2015 to 2019. The acronym stands for "Information system salt: ' |
||
341 | "planning basis, selection criteria and estimation of the potential for the construction of salt caverns " |
||
342 | 'for the storage of renewable energies (hydrogen and compressed air) - double saline and flat salt layers".', |
||
343 | "path": "https://produktcenter.bgr.de/terraCatalog/DetailResult.do?fileIdentifier=630430b8-4025-4d6f-9a62-025b53bc8b3d", |
||
344 | "license": [license_geonutzv("© BGR, Hannover, 2021")], |
||
345 | }, |
||
346 | "bgr_inspeeds_data_bundle": { |
||
347 | "title": "Informationssystem Salz: Planungsgrundlagen, Auswahlkriterien und Potenzialabschätzung für die " |
||
348 | "Errichtung von Salzkavernen zur Speicherung von Erneuerbaren Energien (Wasserstoff und Druckluft) – " |
||
349 | "Doppelsalinare und flach lagernde Salzschichten. Teilprojekt Bewertungskriterien und Potenzialabschätzung", |
||
350 | "description": "Shapefiles corresponding to the data provided in figure 7-1 " |
||
351 | "(Donadei, S., et al., 2020, p. 7-5). The energy storage potential data are provided per federal state " |
||
352 | " in table 7-1 (Donadei, S., et al., 2020, p. 7-4). Note: Please include all bgr data sources when using " |
||
353 | "the data.", |
||
354 | "path": "https://dx.doi.org/10.5281/zenodo.4896526", |
||
355 | "license": [license_geonutzv("???")], |
||
356 | }, |
||
357 | "bgr_inspeeds_report": { |
||
358 | "title": "Informationssystem Salz: Planungsgrundlagen, Auswahlkriterien und Potenzialabschätzung für die " |
||
359 | "Errichtung von Salzkavernen zur Speicherung von Erneuerbaren Energien (Wasserstoff und Druckluft) – " |
||
360 | "Doppelsalinare und flach lagernde Salzschichten. Teilprojekt Bewertungskriterien und Potenzialabschätzung", |
||
361 | "description": "The report includes availability of saltstructures for energy storage and energy " |
||
362 | "storage potential accumulated per federal state in Germany.", |
||
363 | "path": "https://www.bgr.bund.de/DE/Themen/Nutzung_tieferer_Untergrund_CO2Speicherung/Downloads/InSpeeDS_TP_Bewertungskriterien.pdf?__blob=publicationFile&v=3", |
||
364 | "license": [license_geonutzv("© BGR, Hannover, 2021")], |
||
365 | }, |
||
366 | "demandregio": { |
||
367 | "title": "DemandRegio", |
||
368 | "description": "Harmonisierung und Entwicklung von Verfahren zur regionalen und " |
||
369 | "zeitlichen Auflösung von Energienachfragen", |
||
370 | "path": "https://doi.org/10.34805/ffe-119-20", |
||
371 | "license": [license_ccby("© FZJ, TUB, FfE")], |
||
372 | }, |
||
373 | "egon-data": { |
||
374 | "titel": "eGon-data", |
||
375 | "description": "Workflow to download, process and generate data sets" |
||
376 | "suitable for the further research conducted in the project eGon (https://ego-n.org/)", |
||
377 | "path": "https://github.com/openego/eGon-data", |
||
378 | "licenses": [license_agpl("© Jonathan Amme, Clara Büttner, Ilka Cußmann, Julian Endres, Carlos Epia, Stephan Günther, Ulf Müller, Amélia Nadal, Guido Pleßmann, Francesco Witte")] |
||
379 | }, |
||
380 | "Einspeiseatlas": { |
||
381 | "title": "Einspeiseatlas", |
||
382 | "description": "Im Einspeiseatlas finden sie sich die Informationen " |
||
383 | "zu realisierten und geplanten Biomethanaufbereitungsanlagen - mit " |
||
384 | "und ohne Einspeisung ins Gasnetz - in Deutschland und weltweit.", |
||
385 | "path": "https://www.biogaspartner.de/einspeiseatlas/", |
||
386 | "license": license_ccby( |
||
387 | "Deutsche Energie-Agentur (dena, 2021)" |
||
388 | ), |
||
389 | }, |
||
390 | "era5": { |
||
391 | "title": "ERA5 global reanalysis", |
||
392 | "description": "ERA5 is the fifth generation ECMWF reanalysis for the global climate " |
||
393 | "and weather for the past 4 to 7 decades. Currently data is available from 1950, " |
||
394 | "split into Climate Data Store entries for 1950-1978 (preliminary back extension) and f" |
||
395 | "rom 1979 onwards (final release plus timely updates, this page). ERA5 replaces the ERA-Interim reanalysis. " |
||
396 | "See the online ERA5 documentation " |
||
397 | "(https://confluence.ecmwf.int/display/CKB/ERA5%3A+data+documentation#ERA5:datadocumentation-Dataupdatefrequency) " |
||
398 | "for more information.", |
||
399 | "path": "https://confluence.ecmwf.int/display/CKB/ERA5%3A+data+documentation#ERA5:datadocumentation-Dataupdatefrequency", |
||
400 | "license": [{ |
||
401 | "name": "Licence to use Copernicus Products", |
||
402 | "title": "Licence to use Copernicus Products", |
||
403 | "path": "https://cds.climate.copernicus.eu/api/v2/terms/static/licence-to-use-copernicus-products.pdf", |
||
404 | "instruction": "This Licence is free of charge, worldwide, non-exclusive, royalty free and perpetual. " |
||
405 | "Access to Copernicus Products is given for any purpose in so far as it is lawful, whereas use " |
||
406 | "may include, but is not limited to: reproduction; distribution; communication to the public; " |
||
407 | "adaptation, modification and combination with other data and information; or any " |
||
408 | "combination of the foregoing", |
||
409 | "attribution": "Copernicus Climate Change Service (C3S) Climate Data Store", |
||
410 | },] |
||
411 | }, |
||
412 | "hotmaps_industrial_sites": { |
||
413 | "titel": "industrial_sites_Industrial_Database", |
||
414 | "description": "Georeferenced industrial sites of energy-intensive industry sectors in EU28", |
||
415 | "path": "https://gitlab.com/hotmaps/industrial_sites/industrial_sites_Industrial_Database", |
||
416 | "licenses": [license_ccby("© 2016-2018: Pia Manz, Tobias Fleiter")], |
||
417 | }, |
||
418 | "hotmaps_scen_buildings": { |
||
419 | "titel": "scen_current_building_demand", |
||
420 | "description": "Energy demand scenarios in buidlings until the year 2050 - current policy scenario", |
||
421 | "path": "https://gitlab.com/hotmaps/scen_current_building_demand", |
||
422 | "licenses": [license_ccby( |
||
423 | "© 2016-2018: Michael Hartner, Lukas Kranzl, Sebastian Forthuber, Sara Fritz, Andreas Müller" |
||
424 | )], |
||
425 | }, |
||
426 | "mastr": { |
||
427 | "title": "open-MaStR power unit registry", |
||
428 | "description": "Raw data download Marktstammdatenregister (MaStR) data " |
||
429 | "using the webservice. All data from the Marktstammdatenregister is included." |
||
430 | "There are duplicates included. For further information read in the documentation" |
||
431 | "of the original data source: https://www.marktstammdatenregister.de/MaStRHilfe/subpages/statistik.html", |
||
432 | "path": "https://sandbox.zenodo.org/record/808086", |
||
433 | "licenses": [licenses_datenlizenz_deutschland( |
||
434 | "© 2021 Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen" |
||
435 | )], |
||
436 | }, |
||
437 | "nep2021": { |
||
438 | "title": "Netzentwicklungsplan Strom 2035, Version 2021, erster Entwurf", |
||
439 | "description": "Die vier deutschen Übertragungsnetzbetreiber zeigen mit " |
||
440 | "diesem ersten Entwurf des Netzentwicklungsplans 2035, Version 2021, den " |
||
441 | "benötigten Netzausbau für die nächsten Jahre auf. Der NEP-Bericht beschreibt " |
||
442 | "keine konkreten Trassenverläufe von Übertragungsleitungen, sondern er " |
||
443 | "dokumentiert den notwendigen Übertragungsbedarf zwischen Netzknoten. " |
||
444 | "Das heißt, es werden Anfangs- und Endpunkte von zukünftigen Leitungsverbindungen " |
||
445 | "definiert sowie konkrete Empfehlungen für den Aus- und Neubau der Übertragungsnetze " |
||
446 | "an Land und auf See in Deutschland gemäß den Detailanforderungen im § 12 EnWG gegeben.", |
||
447 | "path": "https://zenodo.org/record/5743452#.YbCoz7so8go", |
||
448 | "license": [license_ccby("© Übertragungsnetzbetreiber")], |
||
449 | }, |
||
450 | "openffe_gas": { |
||
451 | "title": "Load Curves of the Industry Sector – eXtremOS solidEU Scenario (Europe NUTS-3)", |
||
452 | "description": "Load Curves of the Industry Sector for the eXtremOS solidEU Scenario Scenario at NUTS-3-Level. " |
||
453 | "More information at https://extremos.ffe.de/.", |
||
454 | "path": "http://opendata.ffe.de/dataset/load-curves-of-the-industry-sector-extremos-solideu-scenario-europe-nuts-3/", |
||
455 | "license": [license_ccby("© FfE, eXtremOS Project")], |
||
456 | }, |
||
457 | "openstreetmap": { |
||
458 | "title": "OpenStreetMap Data Extracts (Geofabrik)", |
||
459 | "description": "Full data extract of OpenStreetMap data for defined" |
||
460 | "spatial extent at ''referenceDate''", |
||
461 | "path": "https://download.geofabrik.de/europe/germany-210101.osm.pbf", |
||
462 | "licenses": [license_odbl("© OpenStreetMap contributors")], |
||
463 | }, |
||
464 | "peta": { |
||
465 | "title": "Pan-European Thermal Atlas, Peta version 5.0.1", |
||
466 | "description": "Modelled Heat Demand distribution (in GJ per hectare grid cell) for residential and service " |
||
467 | "heat demands for space heating and hot water for the year 2015 using HRE4 data and the combined " |
||
468 | "top-down bottom-up approach of HRE4. " |
||
469 | "National sector-specific heat demand data, derived by the FORECAST model in HRE4 for residential " |
||
470 | "(delivered energy, for space heating and hot water) and service-sector (delivered energy, for space heating, hot " |
||
471 | "water and process heat) buildings for the year 2015, were distributed using modelled, spatial " |
||
472 | "statistics based floor areas in 100x100m grids and a population grid. " |
||
473 | "For further information please see the documentation available on the Heat Roadmap Europe website, " |
||
474 | "in particular D2.3 report 'Methodologies and assumptions used in the mapping'.", |
||
475 | "path": "https://s-eenergies-open-data-euf.hub.arcgis.com/search", |
||
476 | "license": [license_ccby( |
||
477 | "© Europa-Universität Flensburg, Halmstad University and Aalborg University" |
||
478 | )], |
||
479 | }, |
||
480 | "pipeline_classification": { |
||
481 | "title": "Technical pipeline characteristics for high pressure pipelines", |
||
482 | "description": "Parameters for the classification of gas pipelines, " |
||
483 | "the whole documentation could is available at: " |
||
484 | "https://www.econstor.eu/bitstream/10419/173388/1/1011162628.pdf", |
||
485 | "path": "https://zenodo.org/record/5743452", |
||
486 | "license": license_ccby( |
||
487 | "© DIW Berlin, 2017" |
||
488 | ), |
||
489 | }, |
||
490 | "schmidt": { |
||
491 | "title": "Supplementary material to the masters thesis: " |
||
492 | "NUTS-3 Regionalization of Industrial Load Shifting Potential in Germany using a Time-Resolved Model", |
||
493 | "description": "Supplementary material to the named masters thesis, containing data on industrial processes" |
||
494 | "for the estimation of NUTS-3 load shifting potential of suitable electrically powered industrial processes" |
||
495 | "(cement milling, mechanical pulping, paper production, air separation).", |
||
496 | "path": "https://zenodo.org/record/3613767", |
||
497 | "licenses": [license_ccby("© 2019 Danielle Schmidt")], |
||
498 | }, |
||
499 | "SciGRID_gas": { |
||
500 | "title": "SciGRID_gas IGGIELGN", |
||
501 | "description": "The SciGRID_gas dataset represents the European " |
||
502 | "gas transport network (pressure levels of 20 bars and higher) " |
||
503 | "including the geo-referenced transport pipelines, compressor " |
||
504 | "stations, LNG terminals, storage, production sites, gas power " |
||
505 | "plants, border points, and demand time series. ", |
||
506 | "path": "https://dx.doi.org/10.5281/zenodo.4896526", |
||
507 | "license": license_ccby( |
||
508 | " Jan Diettrich; Adam Pluta; Wided Medjroubi (DLR-VE)" |
||
509 | ), |
||
510 | }, |
||
511 | "seenergies": { |
||
512 | "title": "D5 1 Industry Dataset With Demand Data", |
||
513 | "description": "Georeferenced EU28 industrial sites with quantified annual excess heat volumes and demand data" |
||
514 | "within main sectors: Chemical industry, Iron and steel, Non-ferrous metals, Non-metallic minerals, Paper and printing, and Refineries.", |
||
515 | "path": "https://s-eenergies-open-data-euf.hub.arcgis.com/datasets/5e36c0af918040ed936b4e4c101f611d_0/about", |
||
516 | "licenses": [license_ccby("© Europa-Universität Flensburg")] |
||
517 | }, |
||
518 | "tyndp": { |
||
519 | "title": "Ten-Year Network Development Plan (TYNDP) 2020 Scenarios", |
||
520 | "description": "ENTSOs’ TYNDP 2020 Scenario Report describes possible European energy futures up to 2050. " |
||
521 | "Scenarios are not forecasts; they set out a range of possible futures used by the ENTSOs to test future " |
||
522 | "electricity and gas infrastructure needs and projects. The scenarios are ambitious as they deliver " |
||
523 | "a low carbon energy system for Europe by 2050. The ENTSOs have developed credible scenarios that are " |
||
524 | "guided by technically sound pathways, while reflecting country by country specifics, so that a pan-European " |
||
525 | "low carbon future is achieved.", |
||
526 | "path": "https://tyndp.entsoe.eu/maps-data", |
||
527 | "license": [license_ccby("© ENTSO-E and ENTSOG")], |
||
528 | }, |
||
529 | "vg250": { |
||
530 | "title": "Verwaltungsgebiete 1:250 000 (Ebenen)", |
||
531 | "description": "Der Datenbestand umfasst sämtliche Verwaltungseinheiten der " |
||
532 | "hierarchischen Verwaltungsebenen vom Staat bis zu den Gemeinden " |
||
533 | "mit ihren Grenzen, statistischen Schlüsselzahlen, Namen der " |
||
534 | "Verwaltungseinheit sowie die spezifische Bezeichnung der " |
||
535 | "Verwaltungsebene des jeweiligen Landes.", |
||
536 | "path": "https://daten.gdz.bkg.bund.de/produkte/vg/vg250_ebenen_0101/2020/vg250_01-01.geo84.shape.ebenen.zip", |
||
537 | "licenses": [licenses_datenlizenz_deutschland( |
||
538 | "© Bundesamt für Kartographie und Geodäsie " |
||
539 | "2020 (Daten verändert)" |
||
540 | )], |
||
541 | }, |
||
542 | "zensus": { |
||
543 | "title": "Statistisches Bundesamt (Destatis) - Ergebnisse des Zensus 2011 zum Download", |
||
544 | "description": "Als Download bieten wir Ihnen auf dieser Seite zusätzlich zur " |
||
545 | "Zensusdatenbank CSV- und teilweise Excel-Tabellen mit umfassenden Personen-, Haushalts- " |
||
546 | "und Familien- sowie Gebäude- und Wohnungsmerkmalen. Die Ergebnisse liegen auf Bundes-, " |
||
547 | "Länder-, Kreis- und Gemeindeebene vor. Außerdem sind einzelne Ergebnisse für Gitterzellen verfügbar.", |
||
548 | "path": "https://www.zensus2011.de/SharedDocs/Aktuelles/Ergebnisse/DemografischeGrunddaten.html;jsessionid=E0A2B4F894B258A3B22D20448F2E4A91.2_cid380?nn=3065474", |
||
549 | "license": [licenses_datenlizenz_deutschland( |
||
550 | "© Statistische Ämter des Bundes und der Länder 2014" |
||
551 | )], |
||
606 | } |