architecture-building-systems / ASF_Simulation

Numerical Simulation of the ASF to determine its energy saving potential and optimal configurations
4 stars 3 forks source link

Another genfromtxt error during initialise #3

Closed pjayathissa closed 8 years ago

pjayathissa commented 8 years ago

warnings.warn('genfromtxt: Empty input file: "%s"' % fname) Traceback (most recent call last):

File "", line 1, in runfile('C:/Users/User/Desktop/Simulation_Environment/main.py', wdir='C:/Users/User/Desktop/Simulation_Environment')

File "C:\Users\User\Anaconda2\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 699, in runfile execfile(filename, namespace)

File "C:\Users\User\Anaconda2\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 74, in execfile exec(compile(scripttext, filename, 'exec'), glob, loc)

File "C:/Users/User/Desktop/Simulation_Environment/main.py", line 142, in execfile(paths['python'] + "\aux_files\SunAngles_Tracking_and_temperature.py")

File "C:\Users\User\Desktop\Simulation_Environment\python\aux_files\SunAngles_Tracking_and_temperature.py", line 34, in asfSunTracking[0,:]=SunAngles[0]

IndexError: index 0 is out of bounds for axis 0 with size 0

jarno55 commented 8 years ago

This happens when the Ladybug_Sunpath component is disabled. Step-by-step instructions have been added to the Wiki here