Write a script that takes two positional arguments: antenna_fits_manifest_path and output_dir. Your script will load the set of paths from this file -- each line represents a path to an Antenna FITS file, then open the Antenna FITS file for each
You can create a test input file via ls /home/scratch/kwei/raw_data/*/Antenna/*.fits > ant_fits.txt
You could then run your script via $ create_session_parquet_files ./ant_fits.txt ./ant_pos_parquet/
In this example, your script would create the following files/structure:
Write a script that takes two positional arguments:
antenna_fits_manifest_path
andoutput_dir
. Your script will load the set of paths from this file -- each line represents a path to an Antenna FITS file, then open the Antenna FITS file for eachYou can create a test input file via
ls /home/scratch/kwei/raw_data/*/Antenna/*.fits > ant_fits.txt
You could then run your script via
$ create_session_parquet_files ./ant_fits.txt ./ant_pos_parquet/
In this example, your script would create the following files/structure: