nsrdb.utilities.interpolation.lower_data

lower_data(var, data, var_elev)[source]

Lower 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.

  • var_elev (np.ndarray) – Elevation data for the native variable resolution (usually elevation for the coarse grid).

Returns:

data (np.array) – NSRDB variable data lowered based on native elevation.