From 02eb725ea3778d007686159eb7cdc3e9f1eab22b Mon Sep 17 00:00:00 2001 From: James McManus Date: Wed, 24 Jul 2024 12:16:46 -0400 Subject: [PATCH] Switched diff equation from OBS-APS to APS-OBS which matches label --- src/common/pg_impl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/pg_impl.py b/src/common/pg_impl.py index f49e617..8ab13a0 100644 --- a/src/common/pg_impl.py +++ b/src/common/pg_impl.py @@ -386,7 +386,7 @@ def get_station_data(self, **kwargs) -> str: if nowcast_column_name in station_df.columns: if observation_name: # get difference between observation and nowcast columns - station_df['Difference (APS-OBS)'] = station_df[observation_name] - station_df[nowcast_column_name] + station_df['Difference (APS-OBS)'] = station_df[nowcast_column_name] - station_df[observation_name] # rename the columns station_df.rename(columns={'time_stamp': 'time', nowcast_column_name: 'APS Nowcast', observation_name: 'Observations',