NCAR / wrfcloud

WRF Cloud Framework
Apache License 2.0
14 stars 6 forks source link

3D temperature at upper levels not displaying #162

Closed fossell closed 1 year ago

fossell commented 1 year ago

Describe the Problem

Time Estimate: 3-4d The 3D temperature fields, e.g. 300 mb, are not displaying when selected. No data is plotted, just basemap shown, unclear whether there is good data just not being plotted because it's off the color scale or if there is no data.

If the color scale is just not big enough, need to adjust accordingly. Better yet, should define a separate range for each vertical pressure level.

Expected Behavior

All 3D temperature fields at each height should display.

Environment

Describe your runtime environment:

  1. On WRF Cloud forecast viewer

To Reproduce

Describe the steps to reproduce the behavior:

  1. Open a forecast viewer for a wrf run
  2. Click Temperature (3D)
  3. Toggler the vertical slide selector on all possible levels
  4. Observe the upper levels do not plot data

Relevant Deadlines

March 24, 2023

Define the Metadata

Assignee

Labels

Projects and Milestone

Bugfix Checklist

fossell commented 1 year ago

@hahnd - This link goes to a comment on the products page and the table that lists some of the ranges for 3D fields. As I mention in the comment, there are no ranges for temperature at higher levels, e.g. 300, 250, 100mb, because it is not really done or used in practice. So options could be, 1) we inspect the data and make a range we think is suitable for those upper levels, or 2) since it's not really used, we may need to consider how to better indicate fields that do not or should not have data. First, however, we should probably confirm that there is data present at those levels in the derived netcdf files.

fossell commented 1 year ago

Plan is to create a dynamic color range for each level. When selecting a 3D field, the legend label will expand with added characters to indicate the current level, e.g. 1000mb, and teh color scale will be the one defined for that level. When selecting a new level, the level descriptor in the legend label will also change, along with the color scale to be that of the current level selected.

fossell commented 1 year ago

@hahnd - Related to comments in this issue for needing unique ranges for each vertical level for temperature, this is necessary for winds too. Is it possible to make mods to all 3D fields to have unique ranges for each level as part of this issue?

Example of wind speeds going off the chart. Note that @georgemccabe will be updating the max value for wind speeds to 120kts since the value of 60 was for m/s. But even 120 probably won't be sufficient for upper level wind speeds, at least in mid-latitude domains. image

hahnd commented 1 year ago

Yes, it is my plan to make changes that can be applied to all variables, not just the temperature.