Skip to content

Commit

Permalink
Adding warning message to OTF handling
Browse files Browse the repository at this point in the history
  • Loading branch information
kartographer committed Dec 3, 2024
1 parent 442c5ad commit 7810de4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pyuvdata/uvdata/mir.py
Original file line number Diff line number Diff line change
Expand Up @@ -864,6 +864,7 @@ def _init_from_mir_parser(
# One final step -- there is a special mode for SMA known as "on-the-fly"
# mapping, which has to be specially handled due to how observations are
# conducted (namely that the phase center remains static).
warnings.warn("SMA OTF detected, adjusting phase centers.")
otf_mask = obs_mode == 3

# Derive the UVWs for the center position
Expand Down

0 comments on commit 7810de4

Please sign in to comment.