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

Bugfix 251 test scorecard #256

Merged
merged 4 commits into from Jan 18, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/unit_tests.yml
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8.6", "3.8.12"]
python-version: ["3.8"]

steps:
- uses: actions/checkout@v3
Expand Down
14 changes: 7 additions & 7 deletions docs/Users_Guide/release-notes.rst
Expand Up @@ -49,21 +49,21 @@ METcalcpy Version 2.0.0 release notes (20221207)

* **Create checksum for released code** (`#209 <https://github.com/dtcenter/METcalcpy/issues/209>`_)

* **Add modulefiles used for installation on various machines (`#204 <https://github.com/dtcenter/METcalcpy/issues/204>`_)
* **Add modulefiles used for installation on various machines** (`#204 <https://github.com/dtcenter/METcalcpy/issues/204>`_)

* **Identify minimal "bare-bones" Python packages to inform operational installation (`#152 <https://github.com/dtcenter/METcalcpy/issues/152>`_)
* **Identify minimal "bare-bones" Python packages to inform operational installation** (`#152 <https://github.com/dtcenter/METcalcpy/issues/152>`_)

* **Convert scorecard.R_tmp to Python (`#179 <https://github.com/dtcenter/METcalcpy/issues/179>`_)
* **Convert scorecard.R_tmp to Python** (`#179 <https://github.com/dtcenter/METcalcpy/issues/179>`_)

* Bugfixes:

* **Vertical Interpolation DimensionalityError in migrating from Python 3.7.10 to Python 3.8.6 (`#180 <https://github.com/dtcenter/METcalcpy/issues/180>`_)
* **Vertical Interpolation DimensionalityError in migrating from Python 3.7.10 to Python 3.8.6** (`#180 <https://github.com/dtcenter/METcalcpy/issues/180>`_)

* **Address Github Dependabot Issues (`#193 <https://github.com/dtcenter/METcalcpy/issues/193>`_)
* **Address Github Dependabot Issues** (`#193 <https://github.com/dtcenter/METcalcpy/issues/193>`_)

* **Deprecation and other warnings in event_equalize.py and other modules (`#153 <https://github.com/dtcenter/METcalcpy/issues/153>`_)
* **Deprecation and other warnings in event_equalize.py and other modules** (`#153 <https://github.com/dtcenter/METcalcpy/issues/153>`_)

* **Some METcalcpy tests fail with Python 3.8 and upgraded packages (`#154 <https://github.com/dtcenter/METcalcpy/issues/154>`_)
* **Some METcalcpy tests fail with Python 3.8 and upgraded packages** (`#154 <https://github.com/dtcenter/METcalcpy/issues/154>`_)

METcalcpy Upgrade Instructions
==============================
Expand Down
3 changes: 1 addition & 2 deletions metcalcpy/scorecard.py
Expand Up @@ -44,7 +44,6 @@
import math
import numpy as np
from pandas import DataFrame
from pandas.core.common import SettingWithCopyWarning

from metcalcpy import GROUP_SEPARATOR, DATE_TIME_REGEX
from metcalcpy.util.tost_paired import pt
Expand Down Expand Up @@ -316,7 +315,7 @@ def _get_stats_for_derived(self, series, series_to_data) -> Union[DataFrame, Non
for component in derived_curve_component.first_component:
if component == fcst_lead:
with warnings.catch_warnings():
warnings.simplefilter(action="ignore", category=SettingWithCopyWarning)
warnings.simplefilter(action="ignore", category=Warning)
df.at[0, 'fcst_lead'] = fcst_lead
break

Expand Down