From f32446fbae6244c7900a15ae38f25fa47f986ad0 Mon Sep 17 00:00:00 2001 From: gong1 <b.gong@fz-juelich.de> Date: Fri, 3 Jun 2022 14:26:28 +0200 Subject: [PATCH] add climt_fl argument into the visulize_postprocess_templatesh --- .../HPC_scripts/visualize_postprocess_era5_template.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/video_prediction_tools/HPC_scripts/visualize_postprocess_era5_template.sh b/video_prediction_tools/HPC_scripts/visualize_postprocess_era5_template.sh index 6239b82f..6d9a9cef 100644 --- a/video_prediction_tools/HPC_scripts/visualize_postprocess_era5_template.sh +++ b/video_prediction_tools/HPC_scripts/visualize_postprocess_era5_template.sh @@ -46,6 +46,7 @@ module purge # Note: source_dir is only needed for retrieving the base-directory checkpoint_dir=/my/trained/model/dir results_dir=/my/results/dir +clim_f=/my/climtology/netcdf_file lquick="" # run postprocessing/generation of model results including evaluation metrics @@ -56,6 +57,7 @@ srun --mpi=pspmix --cpu-bind=none \ python3 ../main_scripts/main_visualize_postprocess.py --checkpoint ${checkpoint_dir} --mode test \ --results_dir ${results_dir} --batch_size 4 \ --num_stochastic_samples 1 ${lquick} \ + -clim_f ${clim_f} \ > postprocess_era5-out_all."${SLURM_JOB_ID}" # WITHOUT container usage, comment in the follwoing lines (and uncomment the lines above) @@ -78,4 +80,4 @@ srun --mpi=pspmix --cpu-bind=none \ # srun python3 ../main_scripts/main_visualize_postprocess.py --checkpoint ${checkpoint_dir} --mode test \ # --results_dir ${results_dir} --batch_size 4 \ # --num_stochastic_samples 1 ${lquick} \ -# > postprocess_era5-out_all."${SLURM_JOB_ID}" \ No newline at end of file +# > postprocess_era5-out_all."${SLURM_JOB_ID}" -- GitLab