Skip to content

Commit

Permalink
prep pass in args to birli
Browse files Browse the repository at this point in the history
  • Loading branch information
d3v-null committed Sep 28, 2024
1 parent e11b1dd commit 1815a8c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions demo/05_prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,17 @@ export prepqa="${prep_uvfits%%.uvfits}_qa.json"

set -eu
if [[ ! -f $prep_uvfits ]]; then
# --provided-chan-ranges
birli ${birli_args:-} \
-m "${metafits}" \
$([[ -n "${edgewidth_khz:-}" ]] && echo "--flag-edge-width ${edgewidth_khz}") \
$([[ -n "${freqres_khz:-}" ]] && echo "--avg-freq-res ${freqres_khz}") \
$([[ -n "${timeres_s:-}" ]] && echo "--avg-time-res ${timeres_s}") \
-u "${prep_uvfits}" \
$raw_glob
$raw_glob \
$@
else
echo "prep_uvfits=$prep_uvfits exists, skipping birli"
echo "prep_uvfits $prep_uvfits exists, skipping birli"
fi

# ####### #
Expand Down

0 comments on commit 1815a8c

Please sign in to comment.