I am trying to use multiprocessing.pool.Pool() to parallelize a function that involves selecting data with conditions from an hdf5 file. Here are the relevant functions that I a