[x] Read the correct OD matrix given the migrant info (age and gender)
[x] Efficient ways to read OD matrices (e.g., sparse?), use scipy.sparse.coo_matrix to save npz files for each OD matrix (in the preprocessing step), we then load these files in the iternal_migration code.
[x] Replace MSOA_LAD_indices with the first column of OD matrices, this should be created in the preprocessing step as the previous step
[ ] ~Load the matrices outside of the class~
[ ] ~Upload the large files to git LFS?, Fix CI accordingly~
[ ] ~in test_internal_migration, we download persistant_data/OD_matrix_EW_no_intra_flows.csv using wget, this should be replaced by the new matrices~
scipy.sparse.coo_matrix
to savenpz
files for each OD matrix (in the preprocessing step), we then load these files in the iternal_migration code.MSOA_LAD_indices
with the first column of OD matrices, this should be created in the preprocessing step as the previous steptest_internal_migration
, we downloadpersistant_data/OD_matrix_EW_no_intra_flows.csv
using wget, this should be replaced by the new matrices~