Skip to content

Commit ddb866a

Browse files
authored
Merge pull request #654 from scrasmussen/feature/replay-release-asset
feature: ufs replay tarball moved to release assett
2 parents 4516c23 + 04c1628 commit ddb866a

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/ci_run_scm_ufs_replay.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,15 @@ jobs:
6161
run: |
6262
if test ! -d "${dir_rt_cache}"; then
6363
mkdir -p ${dir_rt_cache} && cd ${dir_rt_cache}
64-
wget https://dtcenter.ucar.edu/ccpp/rt/ufs_rts_scmreplay_ci.tar
65-
tar -xvf ufs_rts_scmreplay_ci.tar
66-
ls ${dir_rt_cache}
64+
wget -q https://github.com/NCAR/ccpp-scm/releases/download/v7.0.1/ufs_rts_scmreplay_ci.tar.gz
65+
tar -xvf ufs_rts_scmreplay_ci.tar.gz
66+
ls ${dir_rt_cache}/data_new
6767
fi
6868
6969
- name: Create UFS-replay case.
7070
run: |
7171
cd ${SCM_ROOT}/scm/etc/scripts/
72-
./UFS_forcing_ensemble_generator.py -d ${dir_rt_cache}/ --C_RES 192 -dt 360 -n control_c192 -lons 300 -lats 34 -sc
72+
./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
7373
7474
#######################################################################################
7575
# Done

scm/etc/scripts/UFS_forcing_ensemble_generator.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def main():
8787

8888
###########################################################################
8989
#
90-
# Set longitude/latitude
90+
# Set longitude/latitude
9191
#
9292
###########################################################################
9393
if (args.nensmembers):
@@ -144,7 +144,7 @@ def main():
144144
print(" Using -tile [] -is [] -js [] (e.g. -tile 5 -is 5 6 7 -js 40 40 40)")
145145
exit()
146146
# end if
147-
147+
148148
###########################################################################
149149
#
150150
# Create SCM case configuration (etc/case_config) file.
@@ -190,7 +190,7 @@ def main():
190190

191191
# What is the surface type? (get from SCM input file)
192192
dataset = xr.open_dataset(file_scminput)
193-
sfc_type = int(np.round_(dataset.slmsk.values[0]))
193+
sfc_type = int(np.round(dataset.slmsk.values[0]))
194194

195195
# Create case_config file(s)
196196
fileOUT = "../../etc/case_config/"+case_name+".nml"
@@ -210,7 +210,7 @@ def main():
210210

211211
# Add case to dictionary to be used by run_scm.py
212212
run_list.append({"case": case_name, "suite": args.suite})
213-
213+
214214
#
215215
count = count + 1
216216
# end if

0 commit comments

Comments
 (0)