Skip to content

Commit

Permalink
cal: mkdir raw if missing
Browse files Browse the repository at this point in the history
  • Loading branch information
d3v-null committed Feb 4, 2025
1 parent ece59b9 commit acf3967
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions demo/06_cal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export obsid=${obsid:-1341914000}
export metafits=${outdir}/${obsid}/raw/${obsid}.metafits
if [[ ! -f "$metafits" ]]; then
echo "metafits not present, downloading $metafits"
mkdir -p $(dirname $metafits)
curl -L -o "$metafits" $'http://ws.mwatelescope.org/metadata/fits?obs_id='"${obsid}"
fi

Expand Down

0 comments on commit acf3967

Please sign in to comment.