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


JSON Export

{
  "files": [
    {
      "links": {
        "self": "https://zenodo.org/api/files/bf557ae6-5f37-4372-aa12-d07113b40330/confusion_matrices.py"
      }, 
      "checksum": "md5:7fd05005902a54d4ee66cc3cfa5f0bab", 
      "bucket": "bf557ae6-5f37-4372-aa12-d07113b40330", 
      "key": "confusion_matrices.py", 
      "type": "py", 
      "size": 8026
    }, 
    {
      "links": {
        "self": "https://zenodo.org/api/files/bf557ae6-5f37-4372-aa12-d07113b40330/figure_1.py"
      }, 
      "checksum": "md5:a39a726baea2c3781fa5e7b816c2a8c3", 
      "bucket": "bf557ae6-5f37-4372-aa12-d07113b40330", 
      "key": "figure_1.py", 
      "type": "py", 
      "size": 5174
    }, 
    {
      "links": {
        "self": "https://zenodo.org/api/files/bf557ae6-5f37-4372-aa12-d07113b40330/figure_2.py"
      }, 
      "checksum": "md5:ecb60f8457bd8c91da8710556a0900d2", 
      "bucket": "bf557ae6-5f37-4372-aa12-d07113b40330", 
      "key": "figure_2.py", 
      "type": "py", 
      "size": 16907
    }, 
    {
      "links": {
        "self": "https://zenodo.org/api/files/bf557ae6-5f37-4372-aa12-d07113b40330/figure_3.py"
      }, 
      "checksum": "md5:ec5d5b1991e016bd12c6da8d34c1d2e1", 
      "bucket": "bf557ae6-5f37-4372-aa12-d07113b40330", 
      "key": "figure_3.py", 
      "type": "py", 
      "size": 14772
    }, 
    {
      "links": {
        "self": "https://zenodo.org/api/files/bf557ae6-5f37-4372-aa12-d07113b40330/figure_4.py"
      }, 
      "checksum": "md5:b5efb694cb8e6aef9a6c9f452c7fc852", 
      "bucket": "bf557ae6-5f37-4372-aa12-d07113b40330", 
      "key": "figure_4.py", 
      "type": "py", 
      "size": 22061
    }, 
    {
      "links": {
        "self": "https://zenodo.org/api/files/bf557ae6-5f37-4372-aa12-d07113b40330/final_merged.csv"
      }, 
      "checksum": "md5:18ee6956cb984df7fdeeb8055a5c7d7b", 
      "bucket": "bf557ae6-5f37-4372-aa12-d07113b40330", 
      "key": "final_merged.csv", 
      "type": "csv", 
      "size": 146606346
    }, 
    {
      "links": {
        "self": "https://zenodo.org/api/files/bf557ae6-5f37-4372-aa12-d07113b40330/fresno_merged_solarpanel_socioeconomic_dataset.csv"
      }, 
      "checksum": "md5:be220123c5d3ca465f36c9e95a79c52d", 
      "bucket": "bf557ae6-5f37-4372-aa12-d07113b40330", 
      "key": "fresno_merged_solarpanel_socioeconomic_dataset.csv", 
      "type": "csv", 
      "size": 74436171
    }, 
    {
      "links": {
        "self": "https://zenodo.org/api/files/bf557ae6-5f37-4372-aa12-d07113b40330/hhval_all.py"
      }, 
      "checksum": "md5:8eee5dab25354abae0939a6467fdc56a", 
      "bucket": "bf557ae6-5f37-4372-aa12-d07113b40330", 
      "key": "hhval_all.py", 
      "type": "py", 
      "size": 21227
    }, 
    {
      "links": {
        "self": "https://zenodo.org/api/files/bf557ae6-5f37-4372-aa12-d07113b40330/households_all.py"
      }, 
      "checksum": "md5:7c0e915b7b950bdea89f57027a139842", 
      "bucket": "bf557ae6-5f37-4372-aa12-d07113b40330", 
      "key": "households_all.py", 
      "type": "py", 
      "size": 24237
    }, 
    {
      "links": {
        "self": "https://zenodo.org/api/files/bf557ae6-5f37-4372-aa12-d07113b40330/models.py"
      }, 
      "checksum": "md5:66a688f61f1324d7f9b16b68121a9c89", 
      "bucket": "bf557ae6-5f37-4372-aa12-d07113b40330", 
      "key": "models.py", 
      "type": "py", 
      "size": 8321
    }, 
    {
      "links": {
        "self": "https://zenodo.org/api/files/bf557ae6-5f37-4372-aa12-d07113b40330/ols.py"
      }, 
      "checksum": "md5:c31271d7b2c0bf2e67e42697691d07d4", 
      "bucket": "bf557ae6-5f37-4372-aa12-d07113b40330", 
      "key": "ols.py", 
      "type": "py", 
      "size": 3336
    }, 
    {
      "links": {
        "self": "https://zenodo.org/api/files/bf557ae6-5f37-4372-aa12-d07113b40330/tract_area_all.py"
      }, 
      "checksum": "md5:6d80185340b54128307aabbc05759737", 
      "bucket": "bf557ae6-5f37-4372-aa12-d07113b40330", 
      "key": "tract_area_all.py", 
      "type": "py", 
      "size": 24786
    }, 
    {
      "links": {
        "self": "https://zenodo.org/api/files/bf557ae6-5f37-4372-aa12-d07113b40330/tract_ave_plot.py"
      }, 
      "checksum": "md5:6ed9ce963f6627c1ec72b136e8dac021", 
      "bucket": "bf557ae6-5f37-4372-aa12-d07113b40330", 
      "key": "tract_ave_plot.py", 
      "type": "py", 
      "size": 18030
    }, 
    {
      "links": {
        "self": "https://zenodo.org/api/files/bf557ae6-5f37-4372-aa12-d07113b40330/variable_description.csv"
      }, 
      "checksum": "md5:3bf5c607e3929d7fb9d6635007fee193", 
      "bucket": "bf557ae6-5f37-4372-aa12-d07113b40330", 
      "key": "variable_description.csv", 
      "type": "csv", 
      "size": 2925
    }
  ], 
  "owners": [
    211107
  ], 
  "doi": "10.5281/zenodo.4676430", 
  "stats": {
    "version_unique_downloads": 77.0, 
    "unique_views": 242.0, 
    "views": 673.0, 
    "version_views": 685.0, 
    "unique_downloads": 72.0, 
    "version_unique_views": 247.0, 
    "volume": 7263464641.0, 
    "version_downloads": 135.0, 
    "downloads": 113.0, 
    "version_volume": 8514909307.0
  }, 
  "links": {
    "doi": "https://doi.org/10.5281/zenodo.4676430", 
    "conceptdoi": "https://doi.org/10.5281/zenodo.4672320", 
    "bucket": "https://zenodo.org/api/files/bf557ae6-5f37-4372-aa12-d07113b40330", 
    "conceptbadge": "https://zenodo.org/badge/doi/10.5281/zenodo.4672320.svg", 
    "html": "https://zenodo.org/record/4676430", 
    "latest_html": "https://zenodo.org/record/4676430", 
    "badge": "https://zenodo.org/badge/doi/10.5281/zenodo.4676430.svg", 
    "latest": "https://zenodo.org/api/records/4676430"
  }, 
  "conceptdoi": "10.5281/zenodo.4672320", 
  "created": "2021-04-09T17:01:36.979662+00:00", 
  "updated": "2021-04-10T00:27:27.781343+00:00", 
  "conceptrecid": "4672320", 
  "revision": 3, 
  "id": 4676430, 
  "metadata": {
    "access_right_category": "success", 
    "doi": "10.5281/zenodo.4676430", 
    "description": "<p>This repository&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.</p>\n\n<p>Data:</p>\n\n<p><strong>fresno_merged_solarpanel_socioeconomic_dataset.csv - </strong>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:</p>\n\n<ul>\n\t<li>Bradbury, K. et al. Full collection: Distributed solar photovoltaic array location and extent data set for remote sensing object identification. Sci. Data https://doi.org/10.6084/m9.figshare.c.3255643.v2 (2016).</li>\n\t<li>The County of Fresno, California. GIS Shapefiles. Fresno County GIS Portal (2020) Retrieved from: https://www.co.fresno.ca.us/ departments/public-works-planning/divisions-of-public-works-and-planning/cds/gis-shapefiles, accessed January 2020.</li>\n\t<li>Institute of Education Science National Center for Education Statistics Education Demographic and Geographic Estimates (EDGE). School District Boundaries (2020). Retrieved from: https://nces.ed.gov/programs/edge/Geographic/DistrictBoundaries, accessed March 2020.</li>\n\t<li>U.S. Census Bureau. 2009&ndash;2013 5-Year American Community Survey Demographic and Housing Estimates (2014). Retrieved from https://data.census.gov/cedsci/table?q=acs&amp;tid=ACSDP5Y2013.DP05&amp;hidePreview=false, accessed November 2020.</li>\n</ul>\n\n<p><strong>variable_description.csv </strong>- This file includes a short description of each variable present in the main dataset, found in the&nbsp;<em>fresno_merged_solarpanel_socioeconomic_dataset.csv</em> file.&nbsp;</p>\n\n<p>&nbsp;</p>\n\n<p>Code included, in relevant order:</p>\n\n<p><strong>figure_1.py </strong>- 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.</p>\n\n<p><strong>figure_2.py</strong> - 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.&nbsp;&nbsp;</p>\n\n<p><strong>figure_3.py</strong> - Figure 3 is produced, as well as several .csvs containing dataframes with varying&nbsp;panel density radii, constructed with the normalized panel density at one radius subtracted from that of the previous.</p>\n\n<p><strong>figure_4.py</strong> - Produces Figure 4, an analysis of the influence of household income. Figures S15 and S17 of the Supplementary Information section are also created.&nbsp;</p>\n\n<p><strong>models.py</strong> - 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.&nbsp;</p>\n\n<p><strong>confusion_matrices.py </strong>- 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.&nbsp;</p>\n\n<p><strong>ols.py</strong> - This script produces the estimates&nbsp;contained in Tables S7, S8, and S9, which are the results of the OLS analysis.</p>\n\n<p><strong>tract_ave_plot.py </strong>- Figures S8 and S9 are produced, showing changes in the feature importances when panel density is averaged over census tract.&nbsp;</p>\n\n<p><strong>households_all.py </strong>- Analysis of the influence of density&nbsp;based on the number of households in each tract, resulting in Figures S11 and S12.&nbsp;</p>\n\n<p><strong>tract_area_all.py </strong>- Creates Figures S13 and S14, providing the analysis of the influence of density across census tracts of varying area sizes.&nbsp;</p>\n\n<p><strong>hhval_all.py </strong>- The analysis of the influence of household value is conducted, and Figure S16&nbsp;is&nbsp;produced.&nbsp;</p>", 
    "license": {
      "id": "CC-BY-4.0"
    }, 
    "title": "Data and codes for the publication: Decay radius of climate decision for solar panels in the city of Fresno, USA", 
    "relations": {
      "version": [
        {
          "count": 3, 
          "index": 2, 
          "parent": {
            "pid_type": "recid", 
            "pid_value": "4672320"
          }, 
          "is_last": true, 
          "last_child": {
            "pid_type": "recid", 
            "pid_value": "4676430"
          }
        }
      ]
    }, 
    "publication_date": "2021-04-09", 
    "creators": [
      {
        "orcid": "0000-0002-5274-2845", 
        "affiliation": "Potsdam Institute for Climate Impact Research, Potsdam, Germany", 
        "name": "Barton-Henry, Kelsey"
      }, 
      {
        "orcid": "0000-0002-8500-1568", 
        "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", 
        "name": "Wenz, Leonie"
      }, 
      {
        "orcid": "0000-0003-4432-4704", 
        "affiliation": "Potsdam Institute for Climate Impact Research, Potsdam, Germany; Institute of Physics, Potsdam University, Potsdam, Germany;  Columbia University, New York, NY, USA", 
        "name": "Levermann, Anders"
      }
    ], 
    "access_right": "open", 
    "resource_type": {
      "type": "software", 
      "title": "Software"
    }, 
    "related_identifiers": [
      {
        "scheme": "doi", 
        "identifier": "10.5281/zenodo.4672320", 
        "relation": "isVersionOf"
      }
    ]
  }
}
685
135
views
downloads
All versions This version
Views 685673
Downloads 135113
Data volume 8.5 GB7.3 GB
Unique views 247242
Unique downloads 7772

Share

Cite as