Skip to content

Commit 2eddc05

Browse files
committed
np.round_() is being deprecated, updating to np.round()
1 parent 8cf5ff8 commit 2eddc05

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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)