Skip to content

IMCBAR Frequency value ignored for certain Nexrad products #76

Open
@mzuranski

Description

@mzuranski

The Gempak 7.5.1 documentation states:

Frequency describes the levels to be labeled. If the frequency is
positive, the labels are plotted on the right/top of the color bar.
If it is negative, the labels are plotted on the left/bottom of the
color bar. The default is -1.

The +/- value is still honored for the sake of specifying which side the labels are on. However, the value is ignored for many Nexrad products; the frequency interval is hard-coded into Gempak: gempak/source/gemlib/im/imcbar.f A quick peak at that file starting at line 216 spills the beans:

C* Label Frequency Not Implemented - Label All
C* Special handling for NEXRAD 256-level products

Unhandled products look like this, which is not ideal:
imcbar_left
imcbar_right

#73 includes handling for the new Super-Res products, at least for plotting labels on the left side, but the right side still needs a little love:
image
image

But again, once the products have handling in imcbar.f, it's hard-coded into the software and the passed frequency value is ignored. The only way to adjust the frequency is to edit those values and remake the software, which is also not ideal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions