Skip to content

Commit

Permalink
Merge pull request #17 from RENCI/aps-obs
Browse files Browse the repository at this point in the history
Corrected diff equation to mach label.
  • Loading branch information
PhillipsOwen authored Jul 24, 2024
2 parents afe90da + 02eb725 commit e2ddf82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/pg_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit e2ddf82

Please sign in to comment.