Background
All 'from params import ' and 'import params' are replaced by accessing attributes of a DotDictify object.
However, old params*.py and cybershake install strusture are preserved to avoid things breaking
Tasks:
- Identify how the old install structure is setup 2h
- modifiy install.py to set up a new install structure 8
- modify set_runparmas to setup the new install structure 8
- submit_emod3d.py 4
- submit_post_emod3d.py 4
- install_bb.py 5
- submit_hf.py 4
- submit_bb.py 4
- statlist2gp.py 3
- remove params.py in script 1-9 1d
- remove params_base.py in script 1-9 1d
- remove params_bb_uncertain.py in script 1-9 1d
- remove params_uncertain.py in script 1-9 1d
Deliverable:
Tasks 1-9 done. Now we have a new cybershake install structure when running the install.py :
realization/[HF|BB|LF]
And sim_params.yaml is located under realization, at the same level as HF/BB/LF folders.
TODO:
Tasks 1-13 is basically refactoring the whole slurm_gm_workflow/script repository. Lots of breaks when removing prams*.py due to so many dependencies, symbolic links etc.
Params.py needs to be carefully removed.
Also, the testing for the new cybershake install structure is tested under manual workflow (eg, run ' python slurm_gm_workflow/script/install.py'). Needs more testing when wrapped by the automatic workflow (eg. run 'install_cybershake.sh')