plesager / ece3-postproc

Suite of processing tools for EC-Earth3 output
5 stars 8 forks source link

various fixes, including compatibility fix for autosubmit #12

Closed etiennesky closed 6 years ago

etiennesky commented 6 years ago

Hi @plesager with current implementation, I cannot change the value of the IFS, NEMO, post and diag dirs when running with autosubmit.

I have commented those variables in the mn4 config, but I think the best would be to let the user set them outside of the config file and have the default still in the config file

something like (untested) would be ok with me

[[ -z ${IFSRESULTS0:-} ]] && export IFSRESULTS0='/scratch/ms/nl/$USER/ECEARTH-RUNS/${EXPID}/output/ifs/${LEGNB}'

etiennesky commented 6 years ago

let me know what you think and I can update the branch

etiennesky commented 6 years ago

just found out that my test for monthly legs in nemo_post.sh was not done properly, it does not work yet, working on it.

etiennesky commented 6 years ago

Hi @plesager fixed the 2 issues mentioned above. please see if the env. variable strategy is ok for you

plesager commented 6 years ago

thanks @etiennesky for testing/fixing NEMO postprocessing. The way you modified your config files to be able to set some variables through env variable is totally fine.

etiennesky commented 6 years ago

thanks for merging it!