From 0a5ea9bc6aaf15380b6393102f63f05303695c7d Mon Sep 17 00:00:00 2001 From: shaunwbell Date: Tue, 10 Dec 2024 14:09:33 -0800 Subject: [PATCH] Update ARGOS_service_data_converter.py keep column a bit longer --- ARGOS_service_data_converter.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ARGOS_service_data_converter.py b/ARGOS_service_data_converter.py index 3300e1b..2c7c080 100755 --- a/ARGOS_service_data_converter.py +++ b/ARGOS_service_data_converter.py @@ -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 @@ -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 @@ -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