Skip to content

Commit

Permalink
Merge pull request #638 from AVSLab/feature/fix_warnings
Browse files Browse the repository at this point in the history
latest python packages create new depreciation warnings
  • Loading branch information
schaubh authored Mar 11, 2024
2 parents 2ef7f5b + 89ae8af commit ddd3571
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/scenarioDeployingSolarArrays.py
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ def run(show_plots):
plt.figure(8)
plt.clf()
plt.plot(timespan, omega_BN_BNorm)
plt.title('Hub Angular Velocity Norm $|{}^\mathcal{B} \omega_{\mathcal{B}/\mathcal{N}}|$', fontsize=16)
plt.title(r'Hub Angular Velocity Norm $|{}^\mathcal{B} \omega_{\mathcal{B}/\mathcal{N}}|$', fontsize=16)
plt.ylabel(r'(deg/s)', fontsize=14)
plt.xlabel(r'(min)', fontsize=14)
plt.grid(True)
Expand Down
6 changes: 3 additions & 3 deletions src/utilities/readAtmTable.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def readStdAtm76(filename):


def readEarthGRAM(filename):
df = pd.read_csv(filename, delim_whitespace = True)
df = pd.read_csv(filename, sep=r'\s+')
df.sort_values(by=['Hgtkm'],ascending=True, inplace=True)
df.Hgtkm = df.Hgtkm * 1000
altList = df.Hgtkm.to_list()
Expand All @@ -53,7 +53,7 @@ def readEarthGRAM(filename):
return altList, rhoList, tempList

def readMarsGRAM(filename):
df = pd.read_csv(filename, delim_whitespace = True)
df = pd.read_csv(filename, sep=r'\s+')
df.sort_values(by=['HgtMOLA'],ascending=True, inplace=True)
df.HgtMOLA = df.HgtMOLA * 1000
altList = df.HgtMOLA.to_list()
Expand Down Expand Up @@ -108,7 +108,7 @@ def readJupiterGRAM(filename):


def readMSIS(filename):
df = pd.read_csv(filename, skiprows = 29, header=0,delim_whitespace = True,
df = pd.read_csv(filename, skiprows = 29, header=0, sep=r'\s+',
names=["alt", "rho", "temp"])
df.sort_values(by=['alt'],ascending=True, inplace=True)
df.alt = df.alt * 1000
Expand Down

0 comments on commit ddd3571

Please sign in to comment.