diff --git a/.github/workflows/ci_run_scm_ufs_replay.yml b/.github/workflows/ci_run_scm_ufs_replay.yml index 1d97d8a96..2073a98d0 100644 --- a/.github/workflows/ci_run_scm_ufs_replay.yml +++ b/.github/workflows/ci_run_scm_ufs_replay.yml @@ -61,15 +61,15 @@ jobs: run: | if test ! -d "${dir_rt_cache}"; then mkdir -p ${dir_rt_cache} && cd ${dir_rt_cache} - wget https://dtcenter.ucar.edu/ccpp/rt/ufs_rts_scmreplay_ci.tar - tar -xvf ufs_rts_scmreplay_ci.tar - ls ${dir_rt_cache} + wget -q https://github.com/NCAR/ccpp-scm/releases/download/v7.0.1/ufs_rts_scmreplay_ci.tar.gz + tar -xvf ufs_rts_scmreplay_ci.tar.gz + ls ${dir_rt_cache}/data_new fi - name: Create UFS-replay case. run: | cd ${SCM_ROOT}/scm/etc/scripts/ - ./UFS_forcing_ensemble_generator.py -d ${dir_rt_cache}/ --C_RES 192 -dt 360 -n control_c192 -lons 300 -lats 34 -sc + ./UFS_forcing_ensemble_generator.py -d ${dir_rt_cache}/data_new --C_RES 192 -dt 360 -n control_c192 -lons 99.844 -lats 36.749 -sc ####################################################################################### # Done diff --git a/scm/etc/scripts/UFS_forcing_ensemble_generator.py b/scm/etc/scripts/UFS_forcing_ensemble_generator.py index c742f5709..bc971862b 100755 --- a/scm/etc/scripts/UFS_forcing_ensemble_generator.py +++ b/scm/etc/scripts/UFS_forcing_ensemble_generator.py @@ -87,7 +87,7 @@ def main(): ########################################################################### # - # Set longitude/latitude + # Set longitude/latitude # ########################################################################### if (args.nensmembers): @@ -144,7 +144,7 @@ def main(): print(" Using -tile [] -is [] -js [] (e.g. -tile 5 -is 5 6 7 -js 40 40 40)") exit() # end if - + ########################################################################### # # Create SCM case configuration (etc/case_config) file. @@ -190,7 +190,7 @@ def main(): # What is the surface type? (get from SCM input file) dataset = xr.open_dataset(file_scminput) - sfc_type = int(np.round_(dataset.slmsk.values[0])) + sfc_type = int(np.round(dataset.slmsk.values[0])) # Create case_config file(s) fileOUT = "../../etc/case_config/"+case_name+".nml" @@ -210,7 +210,7 @@ def main(): # Add case to dictionary to be used by run_scm.py run_list.append({"case": case_name, "suite": args.suite}) - + # count = count + 1 # end if