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