dtcenter / METplotpy

https://metplotpy.readthedocs.io/en/latest/index.html
Apache License 2.0
12 stars 7 forks source link

TC-RMW plot needs updating to support changes to input #425

Closed bikegeek closed 2 months ago

bikegeek commented 2 months ago

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.

bikegeek commented 2 months ago

Two changes need to be made in the _plot_crosssection.py code:

bikegeek commented 2 months ago

Instructions for performing the vertical interpolation and generating the cross-plot on 'seneca': README.txt

mrinalbiswas commented 2 months ago

I have tested the changes on seneca and it ran successfully.