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

Initialise: genfromtxt() got an unexpected keyword argument 'skiprows' #2

Closed pjayathissa closed 8 years ago

pjayathissa commented 8 years ago

Upon initialisation I get this type error

  File "C:\Users\User\Desktop\Simulation_Environment\python\aux_files\SunAngles_Tracking_and_temperatur
e.py", 
line 21, in <module>
    Temperature=np.genfromtxt(location_path + '\Temperature.csv',delimiter=',', skiprows = 2)

genfromtxt() got an unexpected keyword argument 'skiprows'
jarno55 commented 8 years ago

skiprows is an old setting, it must be changed to skip_header. I've done that for all cases where i found this setting, it will be committed as soon as the current grasshopper simulation has finished.