Closed nicholebarry closed 6 years ago
I run into an error when I copy a ps directory to a new location and try to rerun with /refresh_info. Even though refresh_info is set, metadata is taken from the info file to find the datafiles...and it obviously fails.
IDL> ps_wrapper, '/Users/nabarry/MWA/data/fhd_nb_pipeline_paper/','Aug23_longrunstyle', image_window_name='Blackman-Harris',/exact_obsname, /png, ps_foldername='ps',/refresh_beam,freq_ch_range=[0,127],/refresh_info % Compiled module: PS_WRAPPER. % Compiled module: GET_FOLDER. bash: hostname: command not found % Compiled module: PS_FILENAMES. % Compiled module: UNDEFINE. % Compiled module: TAG_EXIST. datafile = /Users/nabarry/MWA/data/fhd_nb_pipeline_paper/ps/Combined_obs_Aug23_longrunstyle_cubeXX__even_odd_joint_info.idlsave % Compiled module: CREATE_REFRESH_OPTIONS. % Compiled module: CREATE_UVF_OPTIONS. % Compiled module: UPDATE_OPTION_STRUCT. % Compiled module: CREATE_PS_OPTIONS. % Compiled module: CREATE_BINNING_2D_OPTIONS. % Compiled module: CREATE_BINNING_1D_OPTIONS. % Compiled module: CREATE_PLOT_OPTIONS. % Compiled module: CREATE_PLOT_TYPES. % Compiled module: CREATE_PLOT_2D_OPTIONS. % Compiled module: CREATE_PLOT_1D_OPTIONS. % Compiled module: PS_MAIN_PLOTS. % Compiled module: FHD_FILE_SETUP. % FHD_FILE_SETUP: refresh_info is set but datafile cannot be found % Execution halted at: FHD_FILE_SETUP 54 /Users/nabarry/MWA/eppsilon/ps_setup/fhd_file_setup.pro % PS_MAIN_PLOTS 33 /Users/nabarry/MWA/eppsilon/ps_core/ps_main_plots.pro % PS_WRAPPER 224 /Users/nabarry/MWA/eppsilon/ps_wrappers/ps_wrapper.pro % $MAIN$ IDL> print, datafile /fred/oz048/MWA/CODE/FHD/fhd_nb_pipeline_paper/Healpix/Combined_obs_Aug23_longrunstyle_even_cubeXX.sav /fred/oz048/MWA/CODE/FHD/fhd_nb_pipeline_paper/Healpix/Combined_obs_Aug23_longrunstyle_even_cubeYY.sav /fred/oz048/MWA/CODE/FHD/fhd_nb_pipeline_paper/Healpix/Combined_obs_Aug23_longrunstyle_odd_cubeXX.sav /fred/oz048/MWA/CODE/FHD/fhd_nb_pipeline_paper/Healpix/Combined_obs_Aug23_longrunstyle_odd_cubeYY.sav```
I run into an error when I copy a ps directory to a new location and try to rerun with /refresh_info. Even though refresh_info is set, metadata is taken from the info file to find the datafiles...and it obviously fails.