Skip to content

Commit

Permalink
fix for pyuvdata 3.0 api change
Browse files Browse the repository at this point in the history
  • Loading branch information
jsdillon committed Jul 3, 2024
1 parent 3ca93b4 commit a0b3292
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hera_cal/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -1769,9 +1769,9 @@ def get_file_times(filepaths, filetype='uvh5'):
else:
# need to generate lst_array on the fly
lst_array = np.ravel(uvutils.get_lst_for_time(_f[u'Header'][u'time_array'],
_f[u'Header'][u'latitude'][()],
_f[u'Header'][u'longitude'][()],
_f[u'Header'][u'altitude'][()]))
latitude=_f[u'Header'][u'latitude'][()],
longitude=_f[u'Header'][u'longitude'][()],
altitude=_f[u'Header'][u'altitude'][()]))

# figure out which baseline has the most times in order to handle BDA appropriately
baseline_array = uvutils.antnums_to_baseline(
Expand Down

0 comments on commit a0b3292

Please sign in to comment.