Loading DataReductionGIANOB/gofio_gui.py +38 −27 Original line number Original line Diff line number Diff line Loading @@ -31,6 +31,16 @@ if os.path.exists(folder_gofio + os.sep + "raw" + os.sep + night + os.sep): execute2c = "python gofioDRS.py " + night + " --une --only_calib " + single execute2c = "python gofioDRS.py " + night + " --une --only_calib " + single execute3 = "python gofioDRS.py --use_flat=" + str(flat) + " " + night + " " + single execute3 = "python gofioDRS.py --use_flat=" + str(flat) + " " + night + " " + single execute4 = "mkdir -p " + folder_output_complete execute4 = "mkdir -p " + folder_output_complete if stare: execute5 = ( "cp " + str(Path(folder_gofio, "reduced", night, "offline")) + os.sep + "*_C_ms1d.fits " + folder_output_complete ) execute6 = ( "echo only_C_files" ) else: execute5 = ( execute5 = ( "cp " "cp " + str(Path(folder_gofio, "reduced", night, "offline")) + os.sep + "*_A_ms1d.fits " + str(Path(folder_gofio, "reduced", night, "offline")) + os.sep + "*_A_ms1d.fits " Loading Loading @@ -66,6 +76,7 @@ if os.path.exists(folder_gofio + os.sep + "raw" + os.sep + night + os.sep): print(execute) print(execute) os.system(execute) os.system(execute) if not stare: file_pattern_A = "*_A_ms1d.fits" # Replace with your desired pattern file_pattern_A = "*_A_ms1d.fits" # Replace with your desired pattern file_pattern_B = "*_B_ms1d.fits" # Replace with your desired pattern file_pattern_B = "*_B_ms1d.fits" # Replace with your desired pattern Loading Loading
DataReductionGIANOB/gofio_gui.py +38 −27 Original line number Original line Diff line number Diff line Loading @@ -31,6 +31,16 @@ if os.path.exists(folder_gofio + os.sep + "raw" + os.sep + night + os.sep): execute2c = "python gofioDRS.py " + night + " --une --only_calib " + single execute2c = "python gofioDRS.py " + night + " --une --only_calib " + single execute3 = "python gofioDRS.py --use_flat=" + str(flat) + " " + night + " " + single execute3 = "python gofioDRS.py --use_flat=" + str(flat) + " " + night + " " + single execute4 = "mkdir -p " + folder_output_complete execute4 = "mkdir -p " + folder_output_complete if stare: execute5 = ( "cp " + str(Path(folder_gofio, "reduced", night, "offline")) + os.sep + "*_C_ms1d.fits " + folder_output_complete ) execute6 = ( "echo only_C_files" ) else: execute5 = ( execute5 = ( "cp " "cp " + str(Path(folder_gofio, "reduced", night, "offline")) + os.sep + "*_A_ms1d.fits " + str(Path(folder_gofio, "reduced", night, "offline")) + os.sep + "*_A_ms1d.fits " Loading Loading @@ -66,6 +76,7 @@ if os.path.exists(folder_gofio + os.sep + "raw" + os.sep + night + os.sep): print(execute) print(execute) os.system(execute) os.system(execute) if not stare: file_pattern_A = "*_A_ms1d.fits" # Replace with your desired pattern file_pattern_A = "*_A_ms1d.fits" # Replace with your desired pattern file_pattern_B = "*_B_ms1d.fits" # Replace with your desired pattern file_pattern_B = "*_B_ms1d.fits" # Replace with your desired pattern Loading