Commit b51d2086 authored by Modellers Operational's avatar Modellers Operational

Update WRF directory names and remove reliance on Pierres archive

parent 364afe03
[command]
default = cp -r ${RIVER_MODEL_PATH}/* .; python3 river_make.py ${GRID_NAME} ${ROSE_DATAC} ${START_DATE_STR} ${END_DATE_STR} ${COORDINATES} ${WRF_ARCHIVE_DIR}/today/wrfout_d03*; mv ${GRID_NAME}_riv* /${REMOTE_TRANSFER_DIR}
default = cp -r ${RIVER_MODEL_PATH}/* .; python3 river_make.py ${GRID_NAME} ${ROSE_DATAC} ${START_DATE_STR} ${END_DATE_STR} ${COORDINATES} ${WRF_ARCHIVE_DIR}/today/today_wrfout.nc; mv ${GRID_NAME}_riv* /${REMOTE_TRANSFER_DIR}
......@@ -39,8 +39,8 @@ else:
else:
print(this_date)
this_date_m1 = this_date - dt.timedelta(days=int(this_missing_loop))
this_date_str = this_date_m1.strftime('%Y%m%d')
potential_files = gb.glob('{}/{}*_forecast/wrfout_d03*'.format(wrf_forecast_out_dir, this_date_str))
this_date_str = this_date_m1.strftime('%Y-%m-%d')
potential_files = gb.glob('{}/{}/wrfout_d03*'.format(wrf_forecast_out_dir, this_date_str))
try:
this_wrf_nc = nc.Dataset(potential_files[-1], 'r')
......
[command]
default = cp update_river_data.py ${RIVER_MODEL_PATH}; cd ${RIVER_MODEL_PATH}; python3 update_river_data.py ${WRF_ARCHIVE_DIR_PICA} ${START_DAY}; rm update_river_data.py
default = cp update_river_data.py ${RIVER_MODEL_PATH}; cd ${RIVER_MODEL_PATH}; python3 update_river_data.py ${WRF_ARCHIVE_DIR} ${START_DAY}; rm update_river_data.py
......@@ -25,8 +25,7 @@ AIR_PRESSURE_ON='T'
## WRF suite settings if any of the above are on
WRF_RUN_SUITE='wrf'
WRF_FORECAST_FILE_DIR='/gpfs1/users/modellers/modop/Models/WRF_transfer_dir/'
WRF_ARCHIVE_DIR_PICA='/data/sthenno1/backup/pica/models/WRF/wrf-preprocess-gfs/output'
WRF_ARCHIVE_DIR='/pmldata/sthenno1/scratch/modop/Model/output/WRF/'
WRF_ARCHIVE_DIR='/data/sthenno1/scratch/modop/Model/WRF/output'
## River setup
## Between 'NONE', 'NEURAL_NET', and 'CLIMATOLOGY'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment