nsrdb.utilities.interpolation.raise_data

raise_data(var, data, ref_elev)[source]

Raise Data Values using Elevation and Scale Height

scale height 2500 meters (per Chris email dated 12/29/2013 11:12pm)

Parameters:
  • var (str) – NSRDB variable name.

  • data (np.array) – NSRDB variable data. Must be for a single timestep and be flattened/raveled.

  • ref_elev (np.ndarray) – Elevation data for the reference grid (usually elevation for the high-res grid).

Returns:

data (np.array) – NSRDB variable data raised based on NSRDB reference elevation.