diff --git a/zppy/templates/e3sm_diags.bash b/zppy/templates/e3sm_diags.bash index 83a98a46..922948aa 100644 --- a/zppy/templates/e3sm_diags.bash +++ b/zppy/templates/e3sm_diags.bash @@ -101,19 +101,9 @@ create_links_ts() YYYY=`printf "%04d" ${year}` for file in ${ts_dir_source}/${v}_${YYYY}*.nc do - # Add this time series file to the list of files for cdscan to use - echo ${file} >> ${v}_files.txt + cp ${file} ${ts_dir_destination}/${v}_${YYYY}*.nc done done - # xml file will cover the whole period from year1 to year2 - xml_name=${v}_${begin_year}01_${end_year}12.xml - export CDMS_NO_MPI=true - cdscan -x ${xml_name} -f ${v}_files.txt - if [ $? != 0 ]; then - cd {{ scriptDir }} - echo "ERROR (${error_num})" > {{ prefix }}.status - exit ${error_num} - fi done cd .. } @@ -128,13 +118,7 @@ create_links_ts_rof() mkdir -p ${ts_rof_dir_destination} cd ${ts_rof_dir_destination} v="RIVER_DISCHARGE_OVER_LAND_LIQ" - xml_name=${v}_${begin_year}01_${end_year}12.xml - cdscan -x ${xml_name} ${ts_rof_dir_source}/${v}_*.nc - if [ $? != 0 ]; then - cd {{ scriptDir }} - echo "ERROR (${error_num})" > {{ prefix }}.status - exit ${error_num} - fi + cp ${ts_rof_dir_source}/${v}_*.nc ${v}_*.nc cd .. }