Several lists in for loop - GHPython

Hey everyone,

So I’m trying to get some calculations done on my lists and the values in them. I have lists for each month of the year and therefor I would like to do two for loops to loop through each list individually and then assign them with a value from 0-11 defining which month it is (making it a matrix). This seems to be working, but unfortunately it does not calculate correctly which I don’t understand. I have made a control-loop where the month is defined (and this is the one not named “lookalike”), but this would mean I need to write 12 for loops and even more if it is less timestamps than months.

Thanks in advance!

Best,
Magnus


Working_Weatherfile.gh (63.7 KB)