Problem:
- Fetch.csh requires C shell
- Have to fetch data for demos 'by hand'
- Have long paths, and very wide lines in editor, throughout the codebase, ex:
S = pangloss.Shearmap([PANGLOSS_DIR+'/data/GGL_los_8_0_0_N_4096_ang_4_rays_to_plane_37_f.gamma_1',PANGLOSS_DIR+'/data/GGL_los_8_0_0_N_4096_ang_4_rays_to_plane_37_f.gamma_2'],FITS=False)
Proposed Solution:
Write static python class that has methods that can (i) check whether files have been downloaded, (ii) downloads them, and (iii) has static variable for all the files. This will lead to a better user experience and only requires that the user has python.
Problem:
S = pangloss.Shearmap([PANGLOSS_DIR+'/data/GGL_los_8_0_0_N_4096_ang_4_rays_to_plane_37_f.gamma_1',PANGLOSS_DIR+'/data/GGL_los_8_0_0_N_4096_ang_4_rays_to_plane_37_f.gamma_2'],FITS=False)
Proposed Solution:
Write static python class that has methods that can (i) check whether files have been downloaded, (ii) downloads them, and (iii) has static variable for all the files. This will lead to a better user experience and only requires that the user has python.