Skip to content
Snippets Groups Projects

Migration to plugin template and add climpact functionality

Merged Mostafa Hadizadeh requested to merge migration into main
4 unresolved threads
Files
5
+ 3
3
@@ -41,10 +41,10 @@ prod-test:
- make mamba-dep-install
- export EVALUATION_SYSTEM_PLUGINS=$CI_PROJECT_DIR,wrapper
- freva-plugin --list
- freva-plugin heat2urbanimpact region=Hamburg experiment=ssp245-gwl2k models=ec-earth-consortium-ec-earth3-veg-clmcom-btu-icon-2-6-5-rc-nukleus-x2yn2-v1 output_units=true output_file_type=nc mask_type=none mask_method=centres plot_map=true pre_process_function=pre_proc caption="Heat2UrbanImpact production test from CI piepline https://gitlab.dkrz.de/ch1187/plugins4freva/heat2urbanimpact/-/jobs/$CI_JOB_ID" -vvv
- freva-plugin heat2urbanimpact_do_not_use region=Hamburg experiment=ssp245-gwl2k models=ec-earth-consortium-ec-earth3-veg-clmcom-btu-icon-2-6-5-rc-nukleus-x2yn2-v1 output_units=true output_file_type=nc mask_type=none mask_method=centres plot_map=true pre_process_function=pre_proc caption="Heat2UrbanImpact production test from CI piepline https://gitlab.dkrz.de/ch1187/plugins4freva/heat2urbanimpact/-/jobs/$CI_JOB_ID" -vvv
- mkdir -p build/prod_test
- REGIKLIM_JOB_ID=$(ls -t /work/$ACCOUNT/regiklim-work/$GITLAB_USER_LOGIN/regiklim-ces/output/heat2urbanimpact/ | head -n 1)
- cd /work/$ACCOUNT/regiklim-work/$GITLAB_USER_LOGIN/regiklim-ces/output/heat2urbanimpact/$REGIKLIM_JOB_ID
- REGIKLIM_JOB_ID=$(ls -t /work/$ACCOUNT/regiklim-work/$GITLAB_USER_LOGIN/regiklim-ces/output/heat2urbanimpact_do_not_use/ | head -n 1)
- cd /work/$ACCOUNT/regiklim-work/$GITLAB_USER_LOGIN/regiklim-ces/output/heat2urbanimpact_do_not_use/$REGIKLIM_JOB_ID
- echo "<!DOCTYPE html><html><head>" >> index.html
- echo "<meta http-equiv=\"refresh\" content=\"0; url=https://www-regiklim.dkrz.de/history/$REGIKLIM_JOB_ID/results/\">" >> index.html
- echo "<title>Redirecting...</title>" >> index.html
Loading