@@ -17,34 +17,34 @@ if [ "$#" -eq 2 ]; then
1717 ECE3_name=EC-Earth3-ESM-1
1818 ECE_model=EC-EARTH-ESM-1
1919 cmip7_dir=cmip7
20- archive_dir=archive
21- optimesm_dir=cmip7/ ${archive_dir} /optimesm-${version}
20+ archive_dir=${cmip7_dir} / archive
21+ optimesm_dir=${archive_dir} /optimesm-${version}
2222 ece3_cmip7_dir=${archive_dir} /cmip7-${priority} -${experiment} -${ECE3_name} -${version} /
2323
2424 optimesm_request=../resources/miscellaneous-data-requests/optimesm-request/optimesm-request-${ECE_model} -varlist.json
2525 combined_request=combined-optimesm-cmip7-${priority} -request-${ECE_model} -varlist.json
2626
2727 # Produce component varlist request files and move them to an archive:
2828 ./add-optimesm-variables.sh >& add-optimesm-variables.log # This adds the 6hrLev zg for the high request below
29- cd ${cmip7_dir}
3029 mkdir -p ${archive_dir}
30+ cd ${cmip7_dir}
3131 ./genecec-cmip7-wrapper.sh ${priority} ${experiment} ${ECE3_name}
3232 mv -f cmip7-output-control-files/log-files cmip7-output-control-files/${experiment} -${priority} -${ECE3_name} /
33- mv -f cmip7-output-control-files/${experiment} -${priority} -${ECE3_name} / ${ece3_cmip7_dir} /
33+ mv -f cmip7-output-control-files/${experiment} -${priority} -${ECE3_name} / ../ ${ece3_cmip7_dir} /
3434
3535 # This includes the production of the cmip6Plus varlists (which are not used for this case):
3636 cd ../
3737 ./genecec-for-individual-experiments.sh ${optimesm_request} ${mip} ${experiment} ${ECE_model} ${optimesm_dir} / & > genecec-for-individual-experiments.log
3838 mv -f genecec-for-individual-experiments.log ${optimesm_dir} /
3939
4040 # Combine and merge the OptimESM data request files and the CMIP7 request files:
41- ./combine-and-merge-json-request-files.py ${optimesm_dir} /${optimesm_request##*/ } cmip7/ ${ece3_cmip7_dir} /component-request-cmip7-${experiment} -${priority} -${ECE3_name} .json ${combined_request}
41+ ./combine-and-merge-json-request-files.py ${optimesm_dir} /${optimesm_request##*/ } ${ece3_cmip7_dir} /component-request-cmip7-${experiment} -${priority} -${ECE3_name} .json ${combined_request}
4242
4343 # Use the combined optimesm and CMIP7 request to generate the combined output-control-files:
44- ./genecec-for-individual-experiments.sh ${combined_request} ${mip} ${experiment} ${ECE_model} cmip7/ ${archive_dir} /optimesm-${priority} -combined-${version} / & > genecec-for-individual-experiments-combined-${priority} .log
45- mv -f genecec-for-individual-experiments-combined-${priority} .log cmip7/ ${archive_dir} /optimesm-${priority} -combined-${version} /
44+ ./genecec-for-individual-experiments.sh ${combined_request} ${mip} ${experiment} ${ECE_model} ${archive_dir} /optimesm-${priority} -combined-${version} / & > genecec-for-individual-experiments-combined-${priority} .log
45+ mv -f genecec-for-individual-experiments-combined-${priority} .log ${archive_dir} /optimesm-${priority} -combined-${version} /
4646
47- ./add-Oday-zos-for-OptimESM-to-xml.sh cmip7/ ${archive_dir} /optimesm-${priority} -combined-${version} /file_def_nemo-opa.xml
47+ ./add-Oday-zos-for-OptimESM-to-xml.sh ${archive_dir} /optimesm-${priority} -combined-${version} /file_def_nemo-opa.xml
4848
4949 ./revert-nested-cmor-table-branch.sh
5050
@@ -53,7 +53,7 @@ if [ "$#" -eq 2 ]; then
5353
5454 echo
5555 echo " Finished, the result can be found here:"
56- echo " cmip7/ ${archive_dir} /optimesm-${priority} -combined-${version} /"
56+ echo " ${archive_dir} /optimesm-${priority} -combined-${version} /"
5757 echo
5858
5959 else
0 commit comments