NOAA-GSL / pygraf

ADB's Python graphics package
MIT License
10 stars 11 forks source link

Hrrr car #107

Closed Brian-Jamison closed 3 years ago

Brian-Jamison commented 3 years ago

Testing for HRRR-CAR showed some title-overrunning with the main title and lower titles. This effect is also seen in the current HRRR-NCEP full domain plots. The title offset has been increased to fix this. Also, testing revealed that titles with more than 45 characters causes the data plotting area to become smaller. Some abbreviation has been put in to remedy this problem.

Brian-Jamison commented 3 years ago

Good questions. I removed "(over prv hr)" only from the Run-Total plots, since the plot is a run total, and (except for the 1hr forecast) is misleading. That's not the case for graupel, which is not a run total (actually the run total graupel is handled under the acfrozr variable in default_specs.yml).

Here are a couple of before/after plots for the title adjustment: image image

These two plots are also an example of the effect of a long title. For the radiation flux plots, "Surface" doesn't cause a problem, but "Top of Atmosphere" does, which is why I abbreviated Shortwave and Longwave for these plots, and did that also for the Surface plots to be consistent. If we can abbreviate "Top of Atmosphere" to "ToA" I can revert the SW and LW abbreviations.

Because the mean RH plot involves many levels, but only plots one wind level, providing it explicitly in the title seems to be the best solution. Here's an example plot: image