rose-app.conf 397 Bytes
Newer Older
Modellers Operational's avatar
Modellers Operational committed
1 2 3 4 5
[command]
default =
	base_file=/${PORTAL_BASEDIR}/${FORECAST_YEAR}/${FORECAST_MONTH}/${OUTPUT_FILENAME}_hrly_${FORECAST_DAY}.nc
	mkdir -p /${PORTAL_NCML_BASEDIR}/${FORECAST_YEAR}/${FORECAST_MONTH}/
	dst_file=/${PORTAL_NCML_BASEDIR}/${FORECAST_YEAR}/${FORECAST_MONTH}/${OUTPUT_FILENAME}_hrly_${FORECAST_DAY}.ncml
6
	rm ${dst_file} || true
Modellers Operational's avatar
Modellers Operational committed
7
	python3 write_ncml_file.py ${base_file} ${dst_file} ${VARS}