Skip to content

Commit

Permalink
remove concat_time in hci for now
Browse files Browse the repository at this point in the history
  • Loading branch information
landmanbester committed Aug 21, 2024
1 parent eb15628 commit 5272dfa
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions pfb/workers/hci.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,18 +287,9 @@ def _hci(**kw):
table_schema=schema,
group_cols=group_by)

if opts.concat_time:
xds = xr.concat(xds, dime='row')

if opts.gain_table is not None:
gds = xds_from_zarr(gain_name,
chunks=gain_chunks[ms])
if opts.concat_time:
gds = xr.concat(gds, 'gain_time')

# import ipdb; ipdb.set_trace()



# a flat list to use with as_completed
datasets = []
Expand Down Expand Up @@ -340,8 +331,8 @@ def _hci(**kw):
fitr = enumerate(zip(freq_mapping[ms][idt]['start_indices'],
freq_mapping[ms][idt]['counts']))

# # TODO - cpdi to cpgi mapping
# # assumes cpdi is integer multiple of cpgi
# TODO - cpdi to cpgi mapping
# assumes cpdi is integer multiple of cpgi
nbandi = freq_mapping[ms][idt]['start_indices'].size
nfreqs = np.sum(freq_mapping[ms][idt]['counts'])
if opts.channels_per_grid_image in (0, -1, None):
Expand Down

0 comments on commit 5272dfa

Please sign in to comment.