Reputation: 175
In my code i have calculated multiple flow map with respect to time and want to store in one list. This is what i want to do in may code
Upvotes: 1
Views: 2395
Reputation: 13601
Before entering your time loop, create an empty list:
listOfFlowMaps = []
Then, after creating your flow map:
flowmap = np.array([...]) # your flow map
listOfFlowMaps.append(flowmap) # add the flow map to the list
Upvotes: 2