Skip to content

Commit fb52a65

Browse files
authored
Merge branch 'dev' into fix_hrrr
2 parents c69f7bc + e9b9a47 commit fb52a65

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ and uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
1313
* RAiDER no longer requires a `dataspace.copernicus.eu` .netrc entry or the `ESA_USERNAME`/`ESA_PASSWORD` environment variables.
1414

1515
### Fixed
16+
* [721](https://github.com/dbekaert/RAiDER/pull/721) - Fixed bug mixing station_delay_mean and station_delay_median
1617
* [715](https://github.com/dbekaert/RAiDER/pull/715) - Fixed the coverage test Github action and a timing issue with raiderCombine
1718
* [719](https://github.com/dbekaert/RAiDER/pull/719) - Fixed the automatic switch to HRRR-AK based on bounding box when generic HRRR is specified as the weather model
19+
* [720](https://github.com/dbekaert/RAiDER/pull/720) - Bug-fix to properly pass expected `user_title` argument through raiderStats function.
1820

1921
## [0.5.4]
2022
### Changed

tools/RAiDER/cli/statsPlot.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2904,7 +2904,7 @@ def stats_analyses(
29042904
# Plot mean delay per station
29052905
if station_delay_mean:
29062906
logger.info('- Plot mean delay for each station.')
2907-
unique_points = df_stats.df.groupby(['Lon', 'Lat'])[col_name].median()
2907+
unique_points = df_stats.df.groupby(['Lon', 'Lat'])[col_name].mean()
29082908
unique_points.dropna(how='any', inplace=True)
29092909
df_stats(
29102910
[
@@ -2920,7 +2920,7 @@ def stats_analyses(
29202920
# Plot median delay per station
29212921
if station_delay_median:
29222922
logger.info('- Plot median delay for each station.')
2923-
unique_points = df_stats.df.groupby(['Lon', 'Lat'])[col_name].mean()
2923+
unique_points = df_stats.df.groupby(['Lon', 'Lat'])[col_name].median()
29242924
unique_points.dropna(how='any', inplace=True)
29252925
df_stats(
29262926
[
@@ -3436,6 +3436,7 @@ def main() -> None:
34363436
inps.seasonalinterval,
34373437
inps.obs_errlimit,
34383438
inps.figdpi,
3439+
inps.user_title,
34393440
inps.plot_fmt,
34403441
inps.cbounds,
34413442
inps.colorpercentile,

0 commit comments

Comments
 (0)