Last active
January 5, 2026 07:36
-
-
Save d3v-null/4f586fe762be9a83cb1bda4369bbbbee to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # request 1/8 of a GPU node for an hour | |
| salloc --nodes=1 --partition=gpu --account=mwaeor-gpu -t 01:00:00 --gres=gpu:1 | |
| # load all the modules | |
| module load mwalib/1.5.0 birli/0.15.1 hyperdrive-amd-gfx90a/0.4.1 wsclean/3.4-idg-everybeam | |
| export metafits="1090701368.metafits" | |
| wget 'https://projects.pawsey.org.au/birli-test/'$metafits | |
| export raw="1090701368_20140729203555_gpubox01_00.fits" | |
| wget 'https://projects.pawsey.org.au/birli-test/'$raw | |
| export srclist="srclist_pumav3_EoR0LoBES_EoR1pietro_CenA-GP_2023-11-07.fits" | |
| wget 'https://github.com/JLBLine/srclists/raw/master/'$srclist | |
| # mwalib | |
| wget https://raw.githubusercontent.com/MWATelescope/mwalib/main/examples/mwalib-print-context.py | |
| python mwalib-print-context.py -m $metafits $raw | |
| # birli | |
| export prep_uvfits=birli_${metafits%.*}.uvfits | |
| birli -m $metafits --uvfits-out=$prep_uvfits $raw | |
| # hyperdrive di-cal | |
| export MWA_BEAM_FILE="/scratch/references/mwa/beam-models/mwa_full_embedded_element_pattern.h5" | |
| export solns=hyp_${metafits%.*}.fits | |
| hyperdrive di-calibrate --data $metafits $prep_uvfits --source-list $srclist --outputs $solns | |
| # hyperdrive apply | |
| export cal_ms=hyp_${metafits%.*}.ms | |
| hyperdrive solutions-apply --data $metafits $prep_uvfits --solutions $solns --outputs $cal_ms | |
| # wsclean | |
| wsclean \ | |
| -name "wsclean_${metafits%.*}" \ | |
| -size 4096 4096 \ | |
| -scale 20asec \ | |
| -weight briggs 0 \ | |
| -nmiter 2 \ | |
| -niter 10000 \ | |
| -mgain 0.85 \ | |
| -gain 0.1 \ | |
| -gridder idg -grid-with-beam \ | |
| -mwa-path /scratch/references/mwa/beam-models/ \ | |
| -temp-dir /tmp \ | |
| $cal_ms | |
| # other example data for 1184702048 | |
| # metadata fits includes MWA specific metadata for beam and cable length calculations, it is convention to name this file 1184702048.metafits | |
| https://ws.mwatelescope.org/metadata/fits?obs_id=1184702048 | |
| # preprocessed with birli, aoflagger flags, no ssins flags | |
| https://projects.pawsey.org.au/high0.prep/birli_1184702048_2s_40kHz.uvfits | |
| # preprocessed with birli, aoflagger and ssins flags | |
| https://projects.pawsey.org.au/high0.prep/birli_1184702048_2s_40kHz.ssins.uvfits | |
| # hyperdrive calibration solutions | |
| https://projects.pawsey.org.au/high0.soln/hyp_soln_1184702048_ssins_30l_src8k_300it.fits | |
| # calibrated, unsubtracted (foregrounds present) | |
| https://projects.pawsey.org.au/high0.uvfits/hyp_1184702048_ssins_30l_src8k_300it_8s_80kHz.uvfits | |
| # calibrated, subtracted | |
| https://projects.pawsey.org.au/high0.uvfits/hyp_1184702048_ionosub_ssins_30l_src8k_300it_8s_80kHz_i1000.uvfits |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment