This PR addresses the issue of having several variables defined within the scripts/meso/configs.py file that aren't easily updated with each git update. Variables WGRIB2 and WGET are now locally defined within get_data.py, and OUTPUT_DIR is passed as sa.placefiles_dir within app.py. LOG_DIR is currently unused now--will figure this out along with the status updating aspect of the application.
Tested this within /data/scripts/lcarlaw/cloud-radar-server and everything seemed to work okay. get_data.py smartly recognizes that data/model_data doesn't exist and creates it on-the-fly.
Including model download, for two hours of data, this process seems to take about 4 minutes in total. About 2 minutes are needed for the 1st iteration of the parcel lifting function loops to compile machine code.
This PR addresses the issue of having several variables defined within the scripts/meso/configs.py file that aren't easily updated with each git update. Variables WGRIB2 and WGET are now locally defined within get_data.py, and OUTPUT_DIR is passed as sa.placefiles_dir within app.py. LOG_DIR is currently unused now--will figure this out along with the status updating aspect of the application.
Tested this within /data/scripts/lcarlaw/cloud-radar-server and everything seemed to work okay. get_data.py smartly recognizes that data/model_data doesn't exist and creates it on-the-fly.
Including model download, for two hours of data, this process seems to take about 4 minutes in total. About 2 minutes are needed for the 1st iteration of the parcel lifting function loops to compile machine code.