Skip to content

Commit

Permalink
Update ARGOS_service_data_converter.py
Browse files Browse the repository at this point in the history
keep column a bit longer
  • Loading branch information
shaunwbell committed Dec 10, 2024
1 parent 547cfbc commit 0a5ea9b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ARGOS_service_data_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def get_data(fobj=None):
df["latitude"] = df.latitude.round(3)

df.set_index(pd.DatetimeIndex(df["year_doy_hhmm"]), inplace=True)
df.drop('year_doy_hhmm',axis=1,inplace=True)
# df.drop('year_doy_hhmm',axis=1,inplace=True)

return df

Expand Down Expand Up @@ -199,7 +199,7 @@ def get_data(fobj=None):
df["latitude"] = df.latitude.round(3)

df.set_index(pd.DatetimeIndex(df["year_doy_hhmm"]), inplace=True)
df.drop('year_doy_hhmm',axis=1,inplace=True)
# df.drop('year_doy_hhmm',axis=1,inplace=True)

return df

Expand Down Expand Up @@ -335,7 +335,7 @@ def get_data(fobj=None, time="current"):
df["longitude"] = df["longitude"] * -1 # convert to +W

df.set_index(pd.DatetimeIndex(df["year_doy_hhmm"]), inplace=True)
df.drop('year_doy_hhmm',axis=1,inplace=True)
# df.drop('year_doy_hhmm',axis=1,inplace=True)

return df

Expand Down

0 comments on commit 0a5ea9b

Please sign in to comment.