Skip to content

Add set_attr config file options to override the metadata read from input gridded data files. #1020

@dwfncar

Description

@dwfncar

This idea came up during a met_help exchange with Ying Lin at NCEP:


https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=85872


Here's the idea:

There is currently no way to override what Point-Stat writes to the FCST_VAR output column. There actually is logic for doing this in STAT-Analysis. You can use the "-set_hdr" option to explicitly specify the contents of the output header columns. For example, if you run STAT-Analysis to aggregate data where VX_MASK = EAST and VX_MASK = WEST, the output header column will, by default, be written as a concatenation of the unique input strings: VX_MASK = EAST,WEST. But you can manually override that by setting -set_hdr VX_MASK CONUS. And then EAST,WEST will be replaced by CONUS.

Perhaps we could add a similar config file option for Point-Stat, Grid-Stat, Ensemble-Stat, Wavelet-Stat, MODE, and MTD to do what STAT-Analysis is already doing:
   set_hdr_column = [ "FCST_VAR" ];
   set_hdr_value = [ "APCP_24" ];

Data is messy and this would give us an option for cleaning it up. [MET-1020] created by johnhg

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions