Multiprocessing shared memory to pass large arrays between processes
Context:
I need to analyse some weather data for every hour of the year. For each hour, I need to read in some inputs for each hour before performing some calculation. One of these inputs is a very large numpy array x
, which does not change and is the same for every hour of the year. The output is then a vector (1D numpy array) y
, which contains the calculation result for every hour of the year.
Multiprocessing shared memory to pass large arrays between processes
Context:
I need to analyse some weather data for every hour of the year. For each hour, I need to read in some inputs for each hour before performing some calculation. One of these inputs is a very large numpy array x
, which does not change and is the same for every hour of the year. The output is then a vector (1D numpy array) y
, which contains the calculation result for every hour of the year.