CIRA-Pulsars-and-Transients-Group / vcstools

A suite of tools for processing MWA-VCS data
Other
8 stars 8 forks source link

To-do list for September 7 Busy Day - restructuing data storage paradigm #230

Open bwmeyers opened 2 years ago

bwmeyers commented 2 years ago

The primary goal of the day is to adjust our current software workflows to move away from using the communal /astro/mwavcs/vcs directory to house data, calibration solutions, beamformer products, etc.The new scheme will be: data and products are stored in the user's /astro/mwavcs/$USER space. This will help to mitigate our "phantom data" issues and, hopefully, get people in the habit of deleting data when they no longer need it on disk. It will notionally make data tracking easier, too.

Here, I've listed some high-level tasks. We will likely have to split some of these up into sub-tasks dealing with specific pieces of code:

bwmeyers commented 2 years ago

We can, and should, split things out into separate issues as appropriate, but this may be better suited as a first agenda item of the Busy Day,

robotopia commented 2 years ago

Dodged a bullet putting this on 7 Sep instead of 6 Sep, 'coz of monthly maintenance. Fingers crossed it all goes smoothly!

robotopia commented 2 years ago

grep -r "/astro/mwavcs/vcs" *

scripts/combine_calibrations.py:        comp_config = {'base_data_dir' : "/astro/mwavcs/vcs/"}
scripts/rename_corr_output.py:        workdir='/astro/mwavcs/vcs/{0}/vis'.format(obsID)
scripts/rename_corr_output.py:                            "that contains the output files of the offline Correlator. Default is /astro/mwavcs/vcs/<obsID/vis.")
scripts/checks.py:        comp_config = {'base_data_dir' : "/astro/mwavcs/vcs/"}
scripts/untar.sh:\t\t (default: /astro/mwavcs/vcs/\${obsID}/combined)\n
scripts/untar.sh:\t\t (default: /astro/mwavcs/vcs/\${obsID}/combined)\n
scripts/untar.sh:    workdir=/astro/mwavcs/vcs/${obsid}/combined/
scripts/untar.sh:    outdir=/astro/mwavcs/vcs/${obsid}/combined
scripts/recombine.py:    parser.add_argument("-p", "--output_base_dir", type=str, help="The base directory to put the recombined data. Eg /astro/mwavcs/vcs/<obsid>.")
scripts/process_vcs.py:    # Downloads the visablities to  /astro/mwavcs/vcs/[cal_obs_id]/vis
scripts/process_vcs.py:    # but creates a link to it here /astro/mwavcs/vcs/[obs_id]/cal/[cal_obs_id]
scripts/process_vcs.py:                          "raw data will will be downloaded into /astro/mwavcs/vcs/[obsID] and data products will be in /group/mwavcs/vcs/[obsID]."
scripts/reorder_chans.py:    parser.add_argument("-m", "--mfits", type=str, help="Please provide the path of the *_metafits_ppds.fits if it is not /astro/mwavcs/vcs/[OBID]/*_metafits_ppds.fits")
scripts/reorder_chans.py:        metafits = '/astro/mwavcs/vcs/' + str(args.obsid) + '/' + str(args.obsid) + '_metafits_ppds.fits'
vcstools/check_files.py:        |br| Default: /astro/mwavcs/vcs/[obsID]/raw/.
vcstools/check_files.py:        |br| Default: /astro/mwavcs/vcs/[obsID]/combined/.
vcstools/check_files.py:        |br| Default: /astro/mwavcs/vcs/[obsID]/combined/.
vcstools/config.py:GALAXY_CONFIG = {'base_data_dir' : '/astro/mwavcs/vcs/',
vcstools/config.py:GARRAWARLA_CONFIG = {'base_data_dir' : '/astro/mwavcs/vcs/',