I'm using lbs.read_list_of_observations to read a bunch of observations. Something like this:
components = ['tod_wn_1f_30mHz']
observations = lbs.read_list_of_observations(
file_name_list = [path_tod+'LB_'+telescope+'_'+freq+'_obs_rank'+str(i).zfill(4)+'.hdf5' for i in list_of_tods_per_tasks],
limit_mpi_rank = False,
tod_fields = components,
)
I can read the observations and everything seems ok. Then when I try to collapse the tods in maps, lbs.make_bin_map fails and the issue seems to be related to the fact that obs.det_idx in empty in ranks ≠ 0 and, as a consequence, obs.n_detectors fails.
I'm using
lbs.read_list_of_observations
to read a bunch of observations. Something like this:I can read the observations and everything seems ok. Then when I try to collapse the tods in maps,
lbs.make_bin_map
fails and the issue seems to be related to the fact thatobs.det_idx
in empty in ranks ≠ 0 and, as a consequence,obs.n_detectors
fails.See here. When I print:
This is what I get: