Software Open Access

Data and codes for the publication: Decay radius of climate decision for solar panels in the city of Fresno, USA

Barton-Henry, Kelsey; Wenz, Leonie; Levermann, Anders

DataCite XML Export

<?xml version='1.0' encoding='utf-8'?>
<resource xmlns:xsi="" xmlns="" xsi:schemaLocation="">
  <identifier identifierType="DOI">10.5281/zenodo.4676430</identifier>
      <creatorName>Barton-Henry, Kelsey</creatorName>
      <nameIdentifier nameIdentifierScheme="ORCID" schemeURI="">0000-0002-5274-2845</nameIdentifier>
      <affiliation>Potsdam Institute for Climate Impact Research, Potsdam, Germany</affiliation>
      <creatorName>Wenz, Leonie</creatorName>
      <nameIdentifier nameIdentifierScheme="ORCID" schemeURI="">0000-0002-8500-1568</nameIdentifier>
      <affiliation>Potsdam Institute for Climate Impact Research, Potsdam, Germany; Mercator Research Institute on Global Commons and Climate Change, Berlin, Germany;  Department of Agriculture and Resource Economics, University of California, Berkeley, USA</affiliation>
      <creatorName>Levermann, Anders</creatorName>
      <nameIdentifier nameIdentifierScheme="ORCID" schemeURI="">0000-0003-4432-4704</nameIdentifier>
      <affiliation>Potsdam Institute for Climate Impact Research, Potsdam, Germany; Institute of Physics, Potsdam University, Potsdam, Germany;  Columbia University, New York, NY, USA</affiliation>
    <title>Data and codes for the publication: Decay radius of climate decision for solar panels in the city of Fresno, USA</title>
    <date dateType="Issued">2021-04-09</date>
  <resourceType resourceTypeGeneral="Software"/>
    <alternateIdentifier alternateIdentifierType="url"></alternateIdentifier>
    <relatedIdentifier relatedIdentifierType="DOI" relationType="IsVersionOf">10.5281/zenodo.4672320</relatedIdentifier>
    <rights rightsURI="">Creative Commons Attribution 4.0 International</rights>
    <rights rightsURI="info:eu-repo/semantics/openAccess">Open Access</rights>
    <description descriptionType="Abstract">&lt;p&gt;This repository&amp;nbsp;contains core codes and data underlying the analyses and figures from: Barton-Henry, Wenz, and Levermann (2021).The following provides a brief description of the codes and data included.&lt;/p&gt;


&lt;p&gt;&lt;strong&gt;fresno_merged_solarpanel_socioeconomic_dataset.csv - &lt;/strong&gt;This file contains the core dataset used for the all results and figures. This dataset is a result of the aggregation of the following publicly available datasets:&lt;/p&gt;

	&lt;li&gt;Bradbury, K. et al. Full collection: Distributed solar photovoltaic array location and extent data set for remote sensing object identification. Sci. Data (2016).&lt;/li&gt;
	&lt;li&gt;The County of Fresno, California. GIS Shapefiles. Fresno County GIS Portal (2020) Retrieved from: departments/public-works-planning/divisions-of-public-works-and-planning/cds/gis-shapefiles, accessed January 2020.&lt;/li&gt;
	&lt;li&gt;Institute of Education Science National Center for Education Statistics Education Demographic and Geographic Estimates (EDGE). School District Boundaries (2020). Retrieved from:, accessed March 2020.&lt;/li&gt;
	&lt;li&gt;U.S. Census Bureau. 2009&amp;ndash;2013 5-Year American Community Survey Demographic and Housing Estimates (2014). Retrieved from;amp;tid=ACSDP5Y2013.DP05&amp;amp;hidePreview=false, accessed November 2020.&lt;/li&gt;

&lt;p&gt;&lt;strong&gt;variable_description.csv &lt;/strong&gt;- This file includes a short description of each variable present in the main dataset, found in the&amp;nbsp;&lt;em&gt;fresno_merged_solarpanel_socioeconomic_dataset.csv&lt;/em&gt; file.&amp;nbsp;&lt;/p&gt;


&lt;p&gt;Code included, in relevant order:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt; &lt;/strong&gt;- This script produces Figure 1, a map showing the geographic area of analysis along with the geolocations of solar panels, addresses, as well as examples of several radii over which panel density is calculated.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;;/strong&gt; - This script produces Figure 2, as well as outputs several dataframes with the normalized panel density variables used in the further analysis of the feature importances scores.&amp;nbsp;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;;/strong&gt; - Figure 3 is produced, as well as several .csvs containing dataframes with varying&amp;nbsp;panel density radii, constructed with the normalized panel density at one radius subtracted from that of the previous.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;;/strong&gt; - Produces Figure 4, an analysis of the influence of household income. Figures S15 and S17 of the Supplementary Information section are also created.&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;;/strong&gt; - This script builds the three different models tested (Random Forest, AdaBoost, and XGBoost), and calculates the feature importances scores as well as performance metrics for each.&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt; &lt;/strong&gt;- This script creates figures of the confusion matrices created from the performance output for each of the tested models, as well as the model for which panel density is omitted. These are Figures S2, S4, S6, and S7.&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;;/strong&gt; - This script produces the estimates&amp;nbsp;contained in Tables S7, S8, and S9, which are the results of the OLS analysis.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt; &lt;/strong&gt;- Figures S8 and S9 are produced, showing changes in the feature importances when panel density is averaged over census tract.&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt; &lt;/strong&gt;- Analysis of the influence of density&amp;nbsp;based on the number of households in each tract, resulting in Figures S11 and S12.&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt; &lt;/strong&gt;- Creates Figures S13 and S14, providing the analysis of the influence of density across census tracts of varying area sizes.&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt; &lt;/strong&gt;- The analysis of the influence of household value is conducted, and Figure S16&amp;nbsp;is&amp;nbsp;produced.&amp;nbsp;&lt;/p&gt;</description>
All versions This version
Views 684672
Downloads 133111
Data volume 8.4 GB7.1 GB
Unique views 246241
Unique downloads 7671


Cite as