Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature 469 v3.0.0 beta6 #470

Merged
merged 6 commits into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release-checksum.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ jobs:
add-checksum:
runs-on: ubuntu-latest
steps:
- uses: dtcenter/metplus-action-release-checksum@v1
- uses: dtcenter/metplus-action-release-checksum@v2
with:
token: ${{ secrets.METPLUS_BOT_TOKEN }}
28 changes: 19 additions & 9 deletions docs/Users_Guide/release-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,25 @@ describes the bugfix, enhancement, or new feature:
METplotpy Release Notes
=======================

METplotpy Version 3.0.0-beta6 release notes (20241017)
------------------------------------------------------

.. dropdown:: New Plots

None

.. dropdown:: Enhancements

* Improve logging for STIGS on remaining plots (`METplus-Internal#57 <https://github.com/dtcenter/METplus-internal/issues/57>`_)
* Plot new TC-Diagnostics output from TC-Pairs (`#233 <https://github.com/dtcenter/METplotpy/issues/233>`_)

.. dropdown:: Internal

* Improve unit test infrastructure and coverage (`#461 <https://github.com/dtcenter/METplotpy/issues/461>`_)

.. dropdown:: Bugfixes

None

METplotpy Version 3.0.0-beta5 release notes (20240630)
------------------------------------------------------
Expand All @@ -34,27 +53,18 @@ METplotpy Version 3.0.0-beta5 release notes (20240630)

* Consider using only .yml or only .yaml extensions (`#417 <https://github.com/dtcenter/METplotpy/issues/417>`_).


* METplotpy:Code coverage statistics (`#55 <https://github.com/dtcenter/METplus-Internal/issues/55>`_).


.. dropdown:: Bugfixes








METplotpy Version 3.0.0-beta4 release notes (20240417)
------------------------------------------------------


.. dropdown:: New Plots



.. dropdown:: Enhancements


Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
copyright = '2024, NSF NCAR'
author = 'UCAR/NSF NCAR, NOAA, CSU/CIRA, and CU/CIRES'
author_list = 'Fisher, H., D. Adriaansen, C. Kalb, D. Fillmore, T. Jensen, L. Goodrich, M. Win-Gildenmeister and T. Burek'
version = 'v3.0.0-beta6-dev'
version = 'v3.0.0-beta6'
verinfo = version
release = f'{version}'
release_year = '2024'

release_date = f'{release_year}-06-30'
release_date = f'{release_year}-10-17'

copyright = f'{release_year}, {author}'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,14 +160,22 @@ def _calculate_tost_paired(self, series_data_1: DataFrame, series_data_2: DataFr
# calculate stat values
for index, row in series_data_1.iterrows():
row_array = np.expand_dims(row.to_numpy(), axis=0)
stat_value = calculate_statistic(row_array, series_data_1.columns,
stat_value = calculate_statistic( row_array, series_data_1.columns,
series_data_1["stat_name"][0].lower())
# save the value to the 'stat_value' column
series_data_1.at[index, 'stat_value'] = stat_value

for index, row in series_data_2.iterrows():
row_array = np.expand_dims(row.to_numpy(), axis=0)
stat_value = calculate_statistic(row_array, series_data_2.columns,
series_data_2["stat_name"][0].lower())
statistic_name = series_data_2["stat_name"][0].lower()
try:
logger.info(f"Calculating the '{statistic_name}' statistic using METcalcpy's sum_stat.py module, "
f"for data row: {index}.")
stat_value = calculate_statistic(row_array, series_data_2.columns,
statistic_name)
except RuntimeError:
logger.error(f"An error occurred while calculating the statistic '{statistic_name}'")

# save the value to the 'stat_value' column
series_data_2.at[index, 'stat_value'] = stat_value

Expand Down