Skip to content

Commit

Permalink
Update CI script
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinswales committed May 21, 2024
1 parent d7cb558 commit 824dfa6
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions test/cmp_rt2bl.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,15 @@ def plot_results(file_BL,file_RT):
print("np.min(z1): ",np.min(z1))
print("np.max(z1): ",np.max(z1))
print("step: ",(np.max(z1)-np.min(z1))*0.05)
clev = np.arange(np.min(z1),np.max(z1),(np.max(z1)-np.min(z1))*0.05)
if np.count_nonzero(dz) > 0:
clevd = np.arange(np.min(dz),np.max(dz),(np.max(dz)-np.min(dz))*0.05)
if np.min(z1) != np.max(z1):
clev = np.arange(np.min(z1),np.max(z1),(np.max(z1)-np.min(z1))*0.05)
if np.count_nonzero(dz) > 0:
clevd = np.arange(np.min(dz),np.max(dz),(np.max(dz)-np.min(dz))*0.05)
else:
clevd = 0
# end if
else:
clev = 0
clevd = 0
# end if

Expand Down

0 comments on commit 824dfa6

Please sign in to comment.