1

I have been trying to determine how the NEXRAD NCR data is scaled. I see from the product header that the max value is 63 but after reading in the datadict, the max value in the data variable is 11. I don't see any info in the Federal Meteorological Handbook that discusses scaling. I can plot the data using metpy, no problem but the scale is off. When I plot using the NCEI toolkit the scale is correct. So what's under the hood?

Thanks!

Mary Ellen

1 Answers1

0

So for the benefit of future people looking for the answer, the NCR product, or Composite Reflectivity, is a 16-level product. This means at each grid point in the product, the value is set to the nearest value of the 16 levels; the level value itself isn't set, but rather a value between 0 and 15. These levels can be found in the .thresholds attribute on Level3File.

The quick way to convert the grid of levels to actual physical values is to use .map_data to convert the data array to the appropriate values:

import numpy as np
from metpy.io import Level3File

f = Level3File(filename)
physical_values = f.map_data(f.sym_block[0][0]['data'])
DopplerShift
  • 5,472
  • 1
  • 21
  • 20