Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
# wget -O "1392414360.metafits" $'http://ws.mwatelescope.org/metadata/fits?obs_id=1392414360' # compact | |
# wget -O "1204135512.metafits" $'http://ws.mwatelescope.org/metadata/fits?obs_id=1204135512' # extended | |
from astropy.io import fits | |
import numpy as np | |
extended = fits.open('1204135512.metafits') | |
compact = fits.open('1392414360.metafits') | |
# delete any rows from compact that have a `TileName` that already exists in extended | |
extended_names = np.unique(extended['TILEDATA'].data['TileName']) |
This file contains 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
#!/bin/bash | |
# credit: Jack Line | |
# salloc --nodes=1 --partition=gpu --account=${PAWSEY_PROJECT}-gpu -t 00:30:00 --gres=gpu:1 | |
##what to call WODEN directory | |
WODEN_NAME="woden-test" | |
##Load some dependencies | |
module load rust |
This file contains 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
export SPACK_FUTURE_VER=0.20.0 | |
export PACKAGES="rust" | |
# doesn't work: | |
# export SPACK_FUTURE_VER=0.21.0 | |
# export PACKAGES="rust rust-bootstrap" | |
for package in $PACKAGES; do | |
cd ${MYSOFTWARE}/setonix/2023.08/spack_repo/packages/ | |
rm -rf $package | |
mkdir -p $package |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
#!/usr/bin/env python | |
# TODO: FREQUENCY BROADCAST | |
import os | |
import json | |
from SSINS import Catalog_Plot as cp, util as ssins_util | |
from SSINS import SS, INS, MF, plot_lib | |
from matplotlib import pyplot as plt, cm |
This file contains 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
# salloc --nodes=1 --partition=gpu-highmem --account=pawsey0875-gpu -t 04:00:00 --gres=gpu:1 --exclusive | |
# if you want segfaults: | |
# ROCM_VER=system DEBUG=false RAYON_NUM_THREADS=7 ./hyperdrive_hip_setonix.sh | |
# ##### # | |
# SETUP # | |
# ##### # | |
set -eux |
This file contains 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
python -c 'from astropy.io import fits; import sys; from tabulate import tabulate; print(tabulate((i:=fits.open(sys.argv[-1])[1]).data, headers=[c.name for c in i.columns]))' |
This file contains 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
#!/bin/bash | |
#SBATCH -J "hypertest" | |
#SBATCH --nodes=1 | |
#SBATCH --ntasks=1 | |
#SBATCH --account=pawsey0875-gpu | |
#SBATCH --partition=gpu | |
#SBATCH --time=1:00:00 | |
#SBATCH --exclusive | |
#SBATCH --gres=gpu:1 | |
###SBATCH --array=0-1 |
NewerOlder