Skip to content

New plotSETI parameter: --h5dat_lists for pre-generated/edited lists of h5 files and dat files

Latest
Compare
Choose a tag to compare
@texadactyl texadactyl released this 25 May 21:16
7d9b4fd

Internally, plotSETI uses one text-file-resident list of h5 files and another for the corresponding dat files. The list of h5 files is formatted as a text file like this:

/home/giraffe/BASIS/seti_data/voyager_2020/h5_dir/single_coarse_guppi_59046_80036_DIAG_VOYAGER-1_0011.rawspec.0000.h5
/home/giraffe/BASIS/seti_data/voyager_2020/h5_dir/single_coarse_guppi_59046_80354_DIAG_VOYAGER-1_0012.rawspec.0000.h5
/home/giraffe/BASIS/seti_data/voyager_2020/h5_dir/single_coarse_guppi_59046_80672_DIAG_VOYAGER-1_0013.rawspec.0000.h5
/home/giraffe/BASIS/seti_data/voyager_2020/h5_dir/single_coarse_guppi_59046_80989_DIAG_VOYAGER-1_0014.rawspec.0000.h5
/home/giraffe/BASIS/seti_data/voyager_2020/h5_dir/single_coarse_guppi_59046_81310_DIAG_VOYAGER-1_0015.rawspec.0000.h5
/home/giraffe/BASIS/seti_data/voyager_2020/h5_dir/single_coarse_guppi_59046_81628_DIAG_VOYAGER-1_0016.rawspec.0000.h5

The list of corresponding dat files is formatted in the same manner.

Normally, both lists are generated internally by plotSETI and are never seen by the user. However, it has been proposed that in some circumstances, the lists should be prepared by the user. So, if parameter --h5dat_lists (NEW!) is set to 2 file paths (one text file for h5s, one text file for dats), then those list files should be used instead of autogeneration. User-supplied lists will be:

  • Checked for existence and consistency.
  • Used for internal list processing.

E.g. plotSETI --h5dat_lists /dir_a/list_h5_files.txt /b/list_h5_files.txt --out_dir ..... tells plotSETI that there exists a list of h5 files in /dir_a/list_h5_files.txt and a list of dat files in /dir_b/list_dat_files.txt.

If --h5dat_lists is absent (default i.e. most common usage), plotSETI will internally generate the 2 list files as it has been doing in the past.