From fd54a6a8f1ec4156b57e6b810f443421edc91a96 Mon Sep 17 00:00:00 2001 From: David Ahijevych Date: Wed, 22 Jan 2025 18:14:25 -0700 Subject: [PATCH] bugfix478 import from metplotpy.contributed instead of relative import (#483) * Update conf.py * Per dtcenter/METplus#2336, call custom GHA to trigger METplus use case tests when changes are pushed to main_vX.Y and develop branches * Bugfix #475 main_v3.0 - make default configs available in package (#477) * fix version number for rc1 * get version number from verison file * per #475, add default config files to python package * prevent GPU failure running in containers by running kaleido with single process option * Adding In Memoriam * Removing, superfluous since Github automatically checks * Feature 480 v3.0.0 (#481) * updates for coordinated release: version updates, dates, rotating authors * Clean up text: fix typos, remove duplicates * Update vulnerabilities.yaml update gh-action-pip-audit from 1.0.5 to 1.1.0 * Apply suggestions from code review Co-authored-by: Julie Prestopnik * Adding space * Removing, superfluous since vulnerability checks are automatically done --------- Co-authored-by: Julie Prestopnik * Update conf.py added the version number * Update conf.py fixed version number * Update conf.py version number needs quotes * Modified default log level to ERROR to reduce logging messages captured in METviewer * Revert "Modified default log level to ERROR to reduce logging messages captured in METviewer" This reverts commit b273d4b5e4ea5f4153cb1c4ce0d151e34ed8eb6d. * Create 2.1.0_casper * update documentation requirements to include all sphinx packages and version numbers (#411) * Absolute import instead of relative for files in metplotpy/contributed/fv3_physics_tend * Not v 2 anymore * Hi * hi * a * Update _version.py * Update conf.py fixed version * Delete metplotpy/_version.py no such file * Accidentally deleted --------- Co-authored-by: bikegeek <3753118+bikegeek@users.noreply.github.com> Co-authored-by: George McCabe <23407799+georgemccabe@users.noreply.github.com> Co-authored-by: Julie Prestopnik Co-authored-by: bikegeek --- docs/Users_Guide/release-notes.rst | 156 ++---------------- docs/conf.py | 5 +- .../fv3_physics_tend/cross_section_vert.py | 2 +- .../fv3_physics_tend/planview_fv3.py | 2 +- .../fv3_physics_tend/vert_profile_fv3.py | 2 +- 5 files changed, 19 insertions(+), 148 deletions(-) diff --git a/docs/Users_Guide/release-notes.rst b/docs/Users_Guide/release-notes.rst index d86a300d..c39f841a 100644 --- a/docs/Users_Guide/release-notes.rst +++ b/docs/Users_Guide/release-notes.rst @@ -10,7 +10,7 @@ describes the bugfix, enhancement, or new feature: METplotpy Release Notes ======================= -METplotpy Version 3.0.0-rc1 release notes (20241114) +METplotpy Version 3.0.0 release notes (20241218) ------------------------------------------------------ .. dropdown:: New Plots @@ -20,170 +20,40 @@ METplotpy Version 3.0.0-rc1 release notes (20241114) .. dropdown:: Enhancements - None - - - - .. dropdown:: Internal - - None - - - .. dropdown:: Bugfixes - - None - - - -METplotpy Version 3.0.0-beta6 release notes (20241018) ------------------------------------------------------- - - .. dropdown:: New Plots - - None - - .. dropdown:: Enhancements - * Improve logging for STIGS on remaining plots (`METplus-Internal#57 `_) * Plot new TC-Diagnostics output from TC-Pairs (`#233 `_) - - .. dropdown:: Internal - - * Improve unit test infrastructure and coverage (`#461 `_) - - .. dropdown:: Bugfixes - - None - -METplotpy Version 3.0.0-beta5 release notes (20240630) ------------------------------------------------------- - - - .. dropdown:: New Plots - - - .. dropdown:: Enhancements - - * **Enhance TCMPR plotter to read TCDiag lines and filter by one column and plot another column** (`#342 `_). - * Create documentation and testing for TCMPR plotting code (`#383 `_). - - * Update fv3_physics_tend for new FV3 output format (`#380 `_). - - .. dropdown:: Internal - - - * Update GitHub issue and pull request templates to reflect the current development workflow details (`#388 `_). - - * Consider using only .yml or only .yaml extensions (`#417 `_). - - * METplotpy:Code coverage statistics (`#55 `_). - - - .. dropdown:: Bugfixes - - -METplotpy Version 3.0.0-beta4 release notes (20240417) ------------------------------------------------------- - - .. dropdown:: New Plots - - - .. dropdown:: Enhancements - - + * Update fv3_physics_tend for new FV3 output format (`#380 `_). * Update GitHub actions workflows to switch from node 16 to node 20 (`#414 `_). - * **Add GitHub action to run SonarQube for METplotpy pull requests and feature branches** (`#429 `_). - - - .. dropdown:: Internal - - - - .. dropdown:: Bugfixes - - - * **TC-RMW plot needs updating to support changes to input** (`#425 `_). - - - -METplotpy Version 3.0.0-beta3 release notes (20240206) ------------------------------------------------------- - - - .. dropdown:: New Plots - - - - .. dropdown:: Enhancements - - * **Add a summary curve to the ROC diagram** (`#399 `_). + * **Hide/show the legend entries line-by-line** (`#355 `_). + * **Specify the color of the no resolution and no skill lines for the reliability diagram** (`#329 `_). - .. dropdown:: Internal - - - - .. dropdown:: Bugfixes - - * TC-RMW plot needs updating to support changes to input (`#425 `_). - - - - -METplotpy Version 3.0.0-beta2 release notes (20231108) ------------------------------------------------------- - - .. dropdown:: New Plots - - - .. dropdown:: Enhancements - - - * **hide/show the legend entries line-by-line** (`#355 `_). - - - * **specify the color of the no resolution and no skill lines for the reliability diagram** (`#329 `_). .. dropdown:: Internal + * Improve unit test infrastructure and coverage (`#461 `_) + * Update GitHub issue and pull request templates to reflect the current development workflow details (`#388 `_). + * Consider using only .yml or only .yaml extensions (`#417 `_). + * METplotpy: Code coverage statistics (`#55 `_). - .. dropdown:: Bugfixes - * **Documentation-Fix METviewer link in line plot** (`#385 `_). + .. dropdown:: Bugfixes + * TC-RMW plot needs updating to support changes to input (`#425 `_). + * **Documentation - Fix METviewer link in line plot** (`#385 `_). * **Inconsistency with generating plot in METviewer vs command line** (`#391 `_). - * **Bugfix for ROC plot image saving to file** (`#394 `_). - - * Bugfix for erros in line and revision_series tests (`#401 `_). - - -METplotpy Version 3.0.0-beta1 release notes (20230915) ------------------------------------------------------- - - .. dropdown:: New Plots - - - .. dropdown:: Enhancements - - - .. dropdown:: Internal - - - .. dropdown:: Bugfixes - - + * Bugfix for errors in line and revision_series tests (`#401 `_). METplotpy Upgrade Instructions ============================== -Upgrade instructions will be listed here if they are -applicable for this release. +None diff --git a/docs/conf.py b/docs/conf.py index 537fe960..589189d9 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -25,12 +25,13 @@ copyright = '2025, 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 = "3.1.0-beta1" +version = '3.1.0-beta1' verinfo = version release = f'{version}' release_year = '2025' -release_date = f'{release_year}-01-08' +release_date = f'{release_year}-01-22' + copyright = f'{release_year}, {author}' diff --git a/metplotpy/contributed/fv3_physics_tend/cross_section_vert.py b/metplotpy/contributed/fv3_physics_tend/cross_section_vert.py index d840233f..0affed19 100644 --- a/metplotpy/contributed/fv3_physics_tend/cross_section_vert.py +++ b/metplotpy/contributed/fv3_physics_tend/cross_section_vert.py @@ -10,9 +10,9 @@ from metpy.units import units import numpy as np import pandas as pd +import metplotpy.contributed.fv3_physics_tend.physics_tend import xarray import yaml -from . import physics_tend def parse_args(): """ diff --git a/metplotpy/contributed/fv3_physics_tend/planview_fv3.py b/metplotpy/contributed/fv3_physics_tend/planview_fv3.py index 3fb8edb5..f0749197 100644 --- a/metplotpy/contributed/fv3_physics_tend/planview_fv3.py +++ b/metplotpy/contributed/fv3_physics_tend/planview_fv3.py @@ -8,9 +8,9 @@ from metpy.units import units import numpy as np import pandas as pd +import metplotpy.contributed.fv3_physics_tend.physics_tend import xarray import yaml -from . import physics_tend def parse_args(): """ diff --git a/metplotpy/contributed/fv3_physics_tend/vert_profile_fv3.py b/metplotpy/contributed/fv3_physics_tend/vert_profile_fv3.py index c5948e0a..27a140f1 100644 --- a/metplotpy/contributed/fv3_physics_tend/vert_profile_fv3.py +++ b/metplotpy/contributed/fv3_physics_tend/vert_profile_fv3.py @@ -8,9 +8,9 @@ from matplotlib.ticker import MultipleLocator from metpy.units import units import pandas as pd +import metplotpy.contributed.fv3_physics_tend.physics_tend import xarray import yaml -from . import physics_tend def parse_args(): """