<commit_before>"""
===========================
Solar vertical insolation algorithm based on ArcGIS Solar Analyst
===========================
File history and credits:
<NAME>  script development          10.08.13
<NAME>  adaptation for CEA tool     12.04.16

"""
from __future__ import division

import os
import arcpy
import ephem
import datetime
import epwreader
import pandas as pd
import numpy as np
import arcgisscripting
from simpledbf import Dbf5


def solar_radiation_vertical(locator, path_arcgis_db, latitude, longitude, timezone, year, gv, weather_path):
    """
    algorithm to calculate the hourly solar isolation in vertical building surfaces.
    The algorithm is based on the Solar Analyst Engine of ArcGIS 10.
    For more info check the integrated demand model of Fonseca et al. 2015. Appl. energy.

    Parameters
    ----------
    path_geometry : string
        path to file buildings_geometry.shp<commit_msg>fixed toolbox for radiation script<commit_after>"""
===========================
Solar vertical insolation algorithm based on ArcGIS Solar Analyst
===========================
File history and credits:
<NAME>  script development          10.08.13
<NAME>  adaptation for CEA tool     12.04.16

"""
from __future__ import division

import os
import arcpy
import ephem
import datetime
import epwreader
import pandas as pd
import numpy as np
import arcgisscripting
from simpledbf import Dbf5


def solar_radiation_vertical(locator, path_arcgis_db, latitude, longitude, year, gv, weather_path):
    """
    algorithm to calculate the hourly solar isolation in vertical building surfaces.
    The algorithm is based on the Solar Analyst Engine of ArcGIS 10.
    For more info check the integrated demand model of Fonseca et al. 2015. Appl. energy.

    Parameters
    ----------
    path_geometry : string
        path to file buildings_geometry.shp
{'fraction_non_alphanumeric': 0.10956707642971673, 'fraction_numerical': 0.020309994655264563, 'mean_word_length': 3.9263157894736844, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2079247', 'n_tokens_mistral': 527, 'n_tokens_neox': 478, 'n_words': 214}