Closed bikegeek closed 2 months ago
Two changes need to be made in the _plot_crosssection.py code:
when calculating the field_azi_mean, set axis=0 instead of 1
for the Z value in the contour plot, use the field_azi_mean rather than the field_azi_mean.transpose to get the correct dimensions for the contour plot.
Instructions for performing the vertical interpolation and generating the cross-plot on 'seneca': README.txt
I have tested the changes on seneca and it ran successfully.
Describe the Problem
When using updated TC-RMW data, the METplotpy TC-RMW plot for the cross-section is raising errors like the following: TypeError Length of x(100) must match number of columns in z(3) and other similar dimension mismatch TypeError messages.
Changes to the order of the dimensions in https://github.com/dtcenter/METcalcpy/issues/308 are not supposed to impact the contour plot, but the contour plot is sensitive to this.
Expected Behavior
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
Define the source of funding and account keys here or state NONE.
Define the Metadata
Assignee
Labels
Projects and Milestone
Define Related Issue(s)
Consider the impact to the other METplus components.
Bugfix Checklist
See the METplus Workflow for details.
bugfix_<Issue Number>_main_<Version>_<Description>
bugfix <Issue Number> main_<Version> <Description>
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