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

Address Warnings from pandas in METcalcpy code #249

Closed
23 tasks
bikegeek opened this issue Dec 13, 2022 · 6 comments · Fixed by #262
Closed
23 tasks

Address Warnings from pandas in METcalcpy code #249

bikegeek opened this issue Dec 13, 2022 · 6 comments · Fixed by #262
Assignees
Labels
component: user support User support issue priority: high High Priority requestor: Community General Community required: FOR DEVELOPMENT RELEASE Required to be completed in the development release for the assigned project required: FOR OFFICIAL RELEASE Required to be completed in the official release for the assigned milestone type: bug Fix something that is not working

Comments

@bikegeek
Copy link
Collaborator

bikegeek commented Dec 13, 2022

Describe the Problem

A user discovered a DeprecationWarning in the METcalcpy code (utils module) when using METviewer:
dtcenter/METplus#1988

Identify all METcalcpy code that is using pd.append and replace with pd.concat.

When running the metviewer batch job from WCOSS2, receiving warning message as

Timeseries
==== Start Python error ====
/opt/metviewer_python/METcalcpy/metcalcpy/util/utils.py:707: FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.
output_ee_data = output_ee_data.append(series_data_after_ee)
/opt/metviewer_python/METcalcpy//metcalcpy/sum_stat.py:238: FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.
aggregated_values = aggregated_values.append(point_data)
:::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::;;
/opt/metviewer_python/METcalcpy//metcalcpy/sum_stat.py:238: FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.
aggregated_values = aggregated_values.append(point_data)
==== End Python error ====

Taylor Diagram
==== Start Python error ====
/opt/metviewer_python/METcalcpy/metcalcpy/util/utils.py:707: FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.
output_ee_data = output_ee_data.append(series_data_after_ee)
:::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::;;
/opt/metviewer_python/METcalcpy/metcalcpy/util/utils.py:707: FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.
output_ee_data = output_ee_data.append(series_data_after_ee)
==== End Python error ====
Performance plot seems to be free of similar message.

Expected Behavior

Create a test in METcalcpy/test/test_utils.py to reproduce the warning.

Environment

Describe your runtime environment:
1. Machine: (e.g. HPC name, Linux Workstation, Mac Laptop)
2. OS: (e.g. RedHat Linux, MacOS)
3. Software version number(s)

To Reproduce

Describe the steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
Post relevant sample data following these instructions:
https://dtcenter.org/community-code/model-evaluation-tools-met/met-help-desk#ftp

Relevant Deadlines

List relevant project deadlines here or state NONE.

Funding Source

2792542, 2773542

Define the Metadata

Assignee

  • Select engineer(s) or no engineer required
  • Select scientist(s) or no scientist required

Labels

  • Select component(s)
  • Select priority
  • Select requestor(s)

Projects and Milestone

  • Select Organization level Project for support of the current coordinated release
  • Select Repository level Project for development toward the next official release or add alert: NEED PROJECT ASSIGNMENT label
  • Select Milestone as the next bugfix version

Define Related Issue(s)

Consider the impact to the other METplus components.

Bugfix Checklist

See the METplus Workflow for details.

  • Complete the issue definition above, including the Time Estimate and Funding Source.
  • Fork this repository or create a branch of main_<Version>.
    Branch name: bugfix_<Issue Number>_main_<Version>_<Description>
  • Fix the bug and test your changes.
  • Add/update log messages for easier debugging.
  • Add/update unit tests.
  • Add/update documentation.
  • Update requirements.txt to be consistent with NCO requirements
  • Push local changes to GitHub.
  • Submit a pull request to merge into main_<Version>.
    Pull request: bugfix <Issue Number> main_<Version> <Description>
  • Define the pull request metadata, as permissions allow.
    Select: Reviewer(s) and Development issues
    Select: Organization level software support Project for the current coordinated release
    Select: Milestone as the next bugfix version
  • Iterate until the reviewer(s) accept and merge your changes.
  • Delete your fork or branch.
  • Complete the steps above to fix the bug on the develop branch.
    Branch name: bugfix_<Issue Number>_develop_<Description>
    Pull request: bugfix <Issue Number> develop <Description>
    Select: Reviewer(s) and Development issues
    Select: Repository level development cycle Project for the next official release
    Select: Milestone as the next official version
  • Close this issue.
@bikegeek bikegeek added priority: high High Priority type: bug Fix something that is not working requestor: Community General Community alert: NEED ACCOUNT KEY Need to assign an account key to this issue component: user support User support issue required: FOR OFFICIAL RELEASE Required to be completed in the official release for the assigned milestone required: FOR DEVELOPMENT RELEASE Required to be completed in the development release for the assigned project labels Dec 13, 2022
@bikegeek bikegeek added this to the METcalcpy 2.1.0 milestone Dec 13, 2022
@bikegeek bikegeek self-assigned this Dec 13, 2022
@bikegeek
Copy link
Collaborator Author

bikegeek commented Dec 13, 2022

cannot reproduce using pandas 1.2.3. Updating to pandas 1.5 doesn't reproduce the warnings either. This is because the code that generates the warning isn't getting tested. Create tests for the util.utils.sum_stat aggregate_special_fields() code.

@bikegeek
Copy link
Collaborator Author

bikegeek commented Dec 20, 2022

Possible candidates for replacing pd.append with pd.concat:

  1. metcalcpy.sum_stat.aggregate_special_fields() line 238
    util.utils.equalize_axis_data() line 707

  2. metcalcpy.agg_stat_event_equalize line 96 in calculate_value function

  3. metcalcpy.agg_stat_event_equalize line 148 in
    run_ee_on_axis function

  4. metcalcpy.util.pstd_statistics :

    a. line 271 in calculate_pstd_roc_auc():
    final_roc = final_roc.append(roc, ignore_index=True)

    b. line 272 in calculate_pstd_roc_auc():
    final_roc = final_roc.append(
    pd.DataFrame(
    {'thresh': 0, 'n11': 0, 'n10': 0, 'n01': 0, 'n00': 0, 'pody': 0,
    'pofd': 0},
    index=[0]),
    ignore_index=True)

    c. Verified not necessary in line 350 in
    _calc_common_stats(columns_names, input_data)
    :
    if "oy_i" in column:
    sum_val = sum_column_data_by_name(input_data,
    columns_names, column)
    pct_perm['oy_i'].append(sum_val)

Reason:
the pct_perm['oy_i'] and pct_perm['on_i'] and pct_perm['thresh_i'] in this code block are list types, not data frames.

  1. metcalcpy.util.utils

    a. line 510:

    # add it to the result
    input_data_frame =
    input_data_frame.append(rows_for_agg.iloc[:1])

    b. metcalcpy.util.utils line 537:

    # add it to the result
    input_data_frame =
    input_data_frame.append(rows_for_agg.iloc[:1])

    c.metcalcpy.util.utils line 707:

    output_ee_data =
    output_ee_data.append(series_data_after_ee)

6.metcalcpy.agg_stat_eqz
a. line 139 in perform_ee_on_axis():
output_ee_data =
output_ee_data.append(series_data_after_ee)

 b. line 90 in calculate_values():
        if self.params['series_val_2']:
            **output_ee_data =           output_ee_data.append(self.perform_ee_on_axis(prev_cases, '2'))**

Task:

  1. generate tests for these methods/functions to reproduce warnings
  2. modify affected code
  3. re-run tests as they are written to ensure they are all failing (i.e. no more warnings)

bikegeek added a commit that referenced this issue Dec 22, 2022
… raise an error and

replace the soon-to-be deprecated some_df.append(add_df) to pd.concat([some_df, add_df])
bikegeek added a commit that referenced this issue Dec 22, 2022
…soon-to-be deprecated pandas append rather than concat
bikegeek added a commit that referenced this issue Dec 22, 2022
bikegeek added a commit that referenced this issue Dec 22, 2022
…e for the calculat_values() and run_ee_on_axis() functions

which were originally using pandas append rather than the concat.  Append will be deprecated in future versions of pandas.
bikegeek added a commit that referenced this issue Dec 23, 2022
…c.loc avoids this error.

While testing for FutureWarning for pandas 1.5.1, an issue with InvalidIndexError when using DataFrame.at in the following code:
df_roc.at[df_roc.index[df_roc["thresh"] == thresh], 'n11'] = sum(data[is_bigger]['oy_i'])
df_roc.at[df_roc.index[df_roc["thresh"] == thresh], 'n10'] = sum(data[is_bigger]['on_i'])

df_roc.at[df_roc.index[df_roc["thresh"] == thresh], 'n01'] = sum(data[is_less]['oy_i'])
df_roc.at[df_roc.index[df_roc["thresh"] == thresh], 'n00'] = sum(data[is_less]['on_i'])
@bikegeek
Copy link
Collaborator Author

Code changes made for items 1-4

bikegeek added a commit that referenced this issue Jan 4, 2023
…error') to catch any FutureWarnings, replace pd.append with pd.concat
bikegeek added a commit that referenced this issue Jan 4, 2023
…rnings and replace pd.append with pd.concat
bikegeek added a commit that referenced this issue Jan 6, 2023
…scovered with pandas versions 1.2, 1.3, and 1.5 vs 1.4
bikegeek added a commit that referenced this issue Jan 6, 2023
@bikegeek
Copy link
Collaborator Author

code changes made to item 5 and 6.

bikegeek added a commit that referenced this issue Jan 13, 2023
bikegeek added a commit that referenced this issue Jan 13, 2023
bikegeek added a commit that referenced this issue Jan 13, 2023
bikegeek added a commit that referenced this issue Jan 13, 2023
bikegeek added a commit that referenced this issue Jan 13, 2023
bikegeek added a commit that referenced this issue Jan 13, 2023
bikegeek added a commit that referenced this issue Jan 18, 2023
* Issue #249 filter FutureWarning in the equalize_axis_data function to raise an error and
replace the soon-to-be deprecated some_df.append(add_df) to pd.concat([some_df, add_df])

* Issue #249 Add test for the FutureWarning in equalize_axis_data() function.

* Issue #249 event equalize data used to test the code that still uses soon-to-be deprecated pandas append rather than concat

* Issue #249 Added test for FutureWarning in the agg_stat_event_equalize module's calculate_value.

* Issue #249 cleaned up unneccessary comments

* Issue #249 Added test for FutureWarning in the agg_stat_event_equalize for the calculat_values() and run_ee_on_axis() functions
which were originally using pandas append rather than the concat.  Append will be deprecated in future versions of pandas.

* Issue #249 Due to changes in pandas>1.2, replace df_roc.at with df_roc.loc avoids this error.
While testing for FutureWarning for pandas 1.5.1, an issue with InvalidIndexError when using DataFrame.at in the following code:
df_roc.at[df_roc.index[df_roc["thresh"] == thresh], 'n11'] = sum(data[is_bigger]['oy_i'])
df_roc.at[df_roc.index[df_roc["thresh"] == thresh], 'n10'] = sum(data[is_bigger]['on_i'])

df_roc.at[df_roc.index[df_roc["thresh"] == thresh], 'n01'] = sum(data[is_less]['oy_i'])
df_roc.at[df_roc.index[df_roc["thresh"] == thresh], 'n00'] = sum(data[is_less]['on_i'])

* Issue #249 Remove try-except block and use warnings.filter_warnings('error') to catch any FutureWarnings, replace pd.append with pd.concat

* Issue #249 use warnings.filter_warnings('error') to capture Future warnings and replace pd.append with pd.concat

* Issue #249 address FutureWarnings and address compatibility issues discovered with pandas versions 1.2, 1.3, and 1.5 vs 1.4

* Issue #249 tests for FutureWarnings

* Fixed conflict

* Delete requirements_36.txt

No longer relevant.  No longer supporting Python 3.6

* Issue #249 replacing pd.append with pd.concat and adding tests for functions that can be tested

* #249 Additional sample data

* #249 add the test_future_warnings test to the list of tests to run

* Update requirements.txt

addressing Dependabot buffer over-flow in Pillow https://github.com/dtcenter/METcalcpy/security/dependabot/22

* Update requirements.txt

https://github.com/dtcenter/METcalcpy/security/dependabot/20
bikegeek added a commit that referenced this issue Jan 18, 2023
* Update unit_tests.yml

replace 3.8.6 and 3.8.12 with 3.8 for Python because latest version of ubuntu does not have support for python 3.8.6

* Feature 251 test scorecard (#253)

* Issue #251 In Pandas 1.3 and above, the SettingWithCopy Warning category has been removed.  Replace the check for category=SettingWithCopyWarning with Warning, since SettingWithCopyWarning is a subclass of Warning

* Added ending asterisks for end bold to fix these warnings: WARNING: Inline strong start-string without end-string.

Co-authored-by: Julie Prestopnik <jpresto@ucar.edu>

* Feature 250 test event equalize (#252)

* Remove Python 3.8.6 and 3.8.12 and use Python 3.8 instead.  The latest version of ubuntu no longer has python 3.8.6 available.

* Issue #250 fix the test_equalize_axis_data_no_fcst_var fixture

* Added ending asterisks for end bold to fix these warnings: WARNING: Inline strong start-string without end-string.

* #251 allow test to run check on numpy types regardless of numpy version

* Update unit_tests.yml

add python 3.10 to testing to evaluate package compatibility

* Update unit_tests.yml

remove Python 3.10 there are issues with HDF5

Co-authored-by: Julie Prestopnik <jpresto@ucar.edu>

* Delete requirements_36.txt

Python 3.6 no longer supported

* #249 Add test_future_warnings test

* #249 additional sample data

* Update requirements.txt

https://github.com/dtcenter/METcalcpy/security/dependabot/22

* Update requirements.txt

https://github.com/dtcenter/METcalcpy/security/dependabot/20

* #249 replacing pd.append with pd.concat and adding tests and data

* #249 added tests

* #249 Additional test data

* Revert "Merge branch 'develop' of https://github.com/dtcenter/METcalcpy into bugfix_249_warnings"

This reverts commit 7f203bf, reversing
changes made to dd87d77.

Co-authored-by: Julie Prestopnik <jpresto@ucar.edu>
@bikegeek bikegeek modified the milestones: METcalcpy 2.1.0, MEtcalcpy 2.1.0 beta1 Jan 19, 2023
@bikegeek
Copy link
Collaborator Author

still need to address issue 1
metcalcpy.sum_stat.aggregate_special_fields() line 238

@bikegeek bikegeek removed the alert: NEED ACCOUNT KEY Need to assign an account key to this issue label Jan 19, 2023
bikegeek added a commit that referenced this issue Jan 19, 2023
bikegeek added a commit that referenced this issue Jan 20, 2023
* Issue #249 filter FutureWarning in the equalize_axis_data function to raise an error and
replace the soon-to-be deprecated some_df.append(add_df) to pd.concat([some_df, add_df])

* Issue #249 Add test for the FutureWarning in equalize_axis_data() function.

* Issue #249 event equalize data used to test the code that still uses soon-to-be deprecated pandas append rather than concat

* Issue #249 Added test for FutureWarning in the agg_stat_event_equalize module's calculate_value.

* Issue #249 cleaned up unneccessary comments

* Issue #249 Added test for FutureWarning in the agg_stat_event_equalize for the calculat_values() and run_ee_on_axis() functions
which were originally using pandas append rather than the concat.  Append will be deprecated in future versions of pandas.

* Issue #249 Due to changes in pandas>1.2, replace df_roc.at with df_roc.loc avoids this error.
While testing for FutureWarning for pandas 1.5.1, an issue with InvalidIndexError when using DataFrame.at in the following code:
df_roc.at[df_roc.index[df_roc["thresh"] == thresh], 'n11'] = sum(data[is_bigger]['oy_i'])
df_roc.at[df_roc.index[df_roc["thresh"] == thresh], 'n10'] = sum(data[is_bigger]['on_i'])

df_roc.at[df_roc.index[df_roc["thresh"] == thresh], 'n01'] = sum(data[is_less]['oy_i'])
df_roc.at[df_roc.index[df_roc["thresh"] == thresh], 'n00'] = sum(data[is_less]['on_i'])

* Issue #249 Remove try-except block and use warnings.filter_warnings('error') to catch any FutureWarnings, replace pd.append with pd.concat

* Issue #249 use warnings.filter_warnings('error') to capture Future warnings and replace pd.append with pd.concat

* Issue #249 address FutureWarnings and address compatibility issues discovered with pandas versions 1.2, 1.3, and 1.5 vs 1.4

* Issue #249 tests for FutureWarnings

* Fixed conflict

* Delete requirements_36.txt

No longer relevant.  No longer supporting Python 3.6

* Issue #249 replacing pd.append with pd.concat and adding tests for functions that can be tested

* #249 Additional sample data

* #249 add the test_future_warnings test to the list of tests to run

* Update requirements.txt

addressing Dependabot buffer over-flow in Pillow https://github.com/dtcenter/METcalcpy/security/dependabot/22

* Update requirements.txt

https://github.com/dtcenter/METcalcpy/security/dependabot/20

* Update sum_stat.py

* Issue #249 on line 238, replaced the pd.append with pd.concat to address FutureWarning
@bikegeek
Copy link
Collaborator Author

Remember to make updates to the requirements.txt to be consistent with the nco_requirements

bikegeek added a commit that referenced this issue Feb 17, 2023
bikegeek added a commit that referenced this issue Feb 17, 2023
bikegeek added a commit that referenced this issue Feb 23, 2023
* Bump pillow from 8.3.2 to 9.3.0 (#260)

Bumps [pillow](https://github.com/python-pillow/Pillow) from 8.3.2 to 9.3.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](python-pillow/Pillow@8.3.2...9.3.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bugfix 251 test scorecard (#256)

* Replace Python versions 3.8.6 and 3.8.12 with 3.8

* Bugfix #251 replace SettingWithCopyWarning with Warning.  SettingWithCopyWarning no longer available for this check

* Adding double asterisks to end bolding on mulitple lines

Co-authored-by: Julie Prestopnik <jpresto@ucar.edu>

* bugfix_249_warnings (#261)

* Update unit_tests.yml

replace 3.8.6 and 3.8.12 with 3.8 for Python because latest version of ubuntu does not have support for python 3.8.6

* Feature 251 test scorecard (#253)

* Issue #251 In Pandas 1.3 and above, the SettingWithCopy Warning category has been removed.  Replace the check for category=SettingWithCopyWarning with Warning, since SettingWithCopyWarning is a subclass of Warning

* Added ending asterisks for end bold to fix these warnings: WARNING: Inline strong start-string without end-string.

Co-authored-by: Julie Prestopnik <jpresto@ucar.edu>

* Feature 250 test event equalize (#252)

* Remove Python 3.8.6 and 3.8.12 and use Python 3.8 instead.  The latest version of ubuntu no longer has python 3.8.6 available.

* Issue #250 fix the test_equalize_axis_data_no_fcst_var fixture

* Added ending asterisks for end bold to fix these warnings: WARNING: Inline strong start-string without end-string.

* #251 allow test to run check on numpy types regardless of numpy version

* Update unit_tests.yml

add python 3.10 to testing to evaluate package compatibility

* Update unit_tests.yml

remove Python 3.10 there are issues with HDF5

Co-authored-by: Julie Prestopnik <jpresto@ucar.edu>

* Delete requirements_36.txt

Python 3.6 no longer supported

* #249 Add test_future_warnings test

* #249 additional sample data

* Update requirements.txt

https://github.com/dtcenter/METcalcpy/security/dependabot/22

* Update requirements.txt

https://github.com/dtcenter/METcalcpy/security/dependabot/20

* #249 replacing pd.append with pd.concat and adding tests and data

* #249 added tests

* #249 Additional test data

* Revert "Merge branch 'develop' of https://github.com/dtcenter/METcalcpy into bugfix_249_warnings"

This reverts commit 7f203bf, reversing
changes made to dd87d77.

Co-authored-by: Julie Prestopnik <jpresto@ucar.edu>

* Adding file based on testing on Acorn for NCO (#265)

* Per #267, updating modulefiles

* Adding script for testing on WCOSS2

* Correcting filename

* Bugfix release (#272)

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julie Prestopnik <jpresto@ucar.edu>
Co-authored-by: Hank Fisher <fisherh@ucar.edu>
@bikegeek bikegeek modified the milestones: METcalcpy 2.1.0 beta1, METcalcpy 2.0.2-bugfix Feb 23, 2023
@bikegeek bikegeek mentioned this issue Feb 23, 2023
13 tasks
bikegeek added a commit that referenced this issue Feb 23, 2023
* Delete requirements_36.txt

Python 3.6 no longer supported

* #249 Add test_future_warnings test

* #249 additional sample data

* Bugfix Issue #249 Future Warnings- replace append with pd.concat

* Bugfix issue #249 add the test for future warnings

* Bugfix #249 additional data

* Bugfix Issue #249 additional data that wasn't previously committed

* Bugfix #249 add sum stat import

* Bugfix #249 added workflow to check for Python package vulnerabilities

* Updated requirements.txt for nco and all others

* issue #249 add imports to pandas and warning

* Bugfix 249 future warnings (#280)

* Bump pillow from 8.3.2 to 9.3.0 (#260)

Bumps [pillow](https://github.com/python-pillow/Pillow) from 8.3.2 to 9.3.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](python-pillow/Pillow@8.3.2...9.3.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bugfix 251 test scorecard (#256)

* Replace Python versions 3.8.6 and 3.8.12 with 3.8

* Bugfix #251 replace SettingWithCopyWarning with Warning.  SettingWithCopyWarning no longer available for this check

* Adding double asterisks to end bolding on mulitple lines

Co-authored-by: Julie Prestopnik <jpresto@ucar.edu>

* bugfix_249_warnings (#261)

* Update unit_tests.yml

replace 3.8.6 and 3.8.12 with 3.8 for Python because latest version of ubuntu does not have support for python 3.8.6

* Feature 251 test scorecard (#253)

* Issue #251 In Pandas 1.3 and above, the SettingWithCopy Warning category has been removed.  Replace the check for category=SettingWithCopyWarning with Warning, since SettingWithCopyWarning is a subclass of Warning

* Added ending asterisks for end bold to fix these warnings: WARNING: Inline strong start-string without end-string.

Co-authored-by: Julie Prestopnik <jpresto@ucar.edu>

* Feature 250 test event equalize (#252)

* Remove Python 3.8.6 and 3.8.12 and use Python 3.8 instead.  The latest version of ubuntu no longer has python 3.8.6 available.

* Issue #250 fix the test_equalize_axis_data_no_fcst_var fixture

* Added ending asterisks for end bold to fix these warnings: WARNING: Inline strong start-string without end-string.

* #251 allow test to run check on numpy types regardless of numpy version

* Update unit_tests.yml

add python 3.10 to testing to evaluate package compatibility

* Update unit_tests.yml

remove Python 3.10 there are issues with HDF5

Co-authored-by: Julie Prestopnik <jpresto@ucar.edu>

* Delete requirements_36.txt

Python 3.6 no longer supported

* #249 Add test_future_warnings test

* #249 additional sample data

* Update requirements.txt

https://github.com/dtcenter/METcalcpy/security/dependabot/22

* Update requirements.txt

https://github.com/dtcenter/METcalcpy/security/dependabot/20

* #249 replacing pd.append with pd.concat and adding tests and data

* #249 added tests

* #249 Additional test data

* Revert "Merge branch 'develop' of https://github.com/dtcenter/METcalcpy into bugfix_249_warnings"

This reverts commit 7f203bf, reversing
changes made to dd87d77.

Co-authored-by: Julie Prestopnik <jpresto@ucar.edu>

* Adding file based on testing on Acorn for NCO (#265)

* Per #267, updating modulefiles

* Adding script for testing on WCOSS2

* Correcting filename

* Bugfix release (#272)

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julie Prestopnik <jpresto@ucar.edu>
Co-authored-by: Hank Fisher <fisherh@ucar.edu>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julie Prestopnik <jpresto@ucar.edu>
Co-authored-by: Hank Fisher <fisherh@ucar.edu>
fisherhucar added a commit that referenced this issue Feb 23, 2023
* Delete requirements_36.txt

Python 3.6 no longer supported

* #249 Add test_future_warnings test

* #249 additional sample data

* Bugfix Issue #249 Future Warnings- replace append with pd.concat

* Bugfix issue #249 add the test for future warnings

* Bugfix #249 additional data

* Bugfix Issue #249 additional data that wasn't previously committed

* Bugfix #249 add sum stat import

* Bugfix #249 added workflow to check for Python package vulnerabilities

* Updated requirements.txt for nco and all others

* issue #249 add imports to pandas and warning

* Bugfix 249 future warnings (#280)

* Bump pillow from 8.3.2 to 9.3.0 (#260)

Bumps [pillow](https://github.com/python-pillow/Pillow) from 8.3.2 to 9.3.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](python-pillow/Pillow@8.3.2...9.3.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bugfix 251 test scorecard (#256)

* Replace Python versions 3.8.6 and 3.8.12 with 3.8

* Bugfix #251 replace SettingWithCopyWarning with Warning.  SettingWithCopyWarning no longer available for this check

* Adding double asterisks to end bolding on mulitple lines

Co-authored-by: Julie Prestopnik <jpresto@ucar.edu>

* bugfix_249_warnings (#261)

* Update unit_tests.yml

replace 3.8.6 and 3.8.12 with 3.8 for Python because latest version of ubuntu does not have support for python 3.8.6

* Feature 251 test scorecard (#253)

* Issue #251 In Pandas 1.3 and above, the SettingWithCopy Warning category has been removed.  Replace the check for category=SettingWithCopyWarning with Warning, since SettingWithCopyWarning is a subclass of Warning

* Added ending asterisks for end bold to fix these warnings: WARNING: Inline strong start-string without end-string.

Co-authored-by: Julie Prestopnik <jpresto@ucar.edu>

* Feature 250 test event equalize (#252)

* Remove Python 3.8.6 and 3.8.12 and use Python 3.8 instead.  The latest version of ubuntu no longer has python 3.8.6 available.

* Issue #250 fix the test_equalize_axis_data_no_fcst_var fixture

* Added ending asterisks for end bold to fix these warnings: WARNING: Inline strong start-string without end-string.

* #251 allow test to run check on numpy types regardless of numpy version

* Update unit_tests.yml

add python 3.10 to testing to evaluate package compatibility

* Update unit_tests.yml

remove Python 3.10 there are issues with HDF5

Co-authored-by: Julie Prestopnik <jpresto@ucar.edu>

* Delete requirements_36.txt

Python 3.6 no longer supported

* #249 Add test_future_warnings test

* #249 additional sample data

* Update requirements.txt

https://github.com/dtcenter/METcalcpy/security/dependabot/22

* Update requirements.txt

https://github.com/dtcenter/METcalcpy/security/dependabot/20

* #249 replacing pd.append with pd.concat and adding tests and data

* #249 added tests

* #249 Additional test data

* Revert "Merge branch 'develop' of https://github.com/dtcenter/METcalcpy into bugfix_249_warnings"

This reverts commit 7f203bf, reversing
changes made to dd87d77.

Co-authored-by: Julie Prestopnik <jpresto@ucar.edu>

* Adding file based on testing on Acorn for NCO (#265)

* Per #267, updating modulefiles

* Adding script for testing on WCOSS2

* Correcting filename

* Bugfix release (#272)

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julie Prestopnik <jpresto@ucar.edu>
Co-authored-by: Hank Fisher <fisherh@ucar.edu>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julie Prestopnik <jpresto@ucar.edu>
Co-authored-by: Hank Fisher <fisherh@ucar.edu>
@JohnHalleyGotway JohnHalleyGotway linked a pull request Mar 7, 2023 that will close this issue
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: user support User support issue priority: high High Priority requestor: Community General Community required: FOR DEVELOPMENT RELEASE Required to be completed in the development release for the assigned project required: FOR OFFICIAL RELEASE Required to be completed in the official release for the assigned milestone type: bug Fix something that is not working
Projects
Development

Successfully merging a pull request may close this issue.

1 participant