june.hdf5_savers.save_schools_to_hdf5

june.hdf5_savers.save_schools_to_hdf5(schools: june.groups.school.Schools, file_path: str, chunk_size: int = 50000)

Saves the schools object to hdf5 format file file_path. Currently for each person, the following values are stored: - id, n_pupils_max, age_min, age_max, sector, coordiantes

schools

population object

file_path

path of the saved hdf5 file

chunk_size

number of people to save at a time. Note that they have to be copied to be saved, so keep the number below 1e6.