nsrdb.data_model.gfs.GfsDewPoint

class GfsDewPoint[source]

Bases: BaseDerivedVar

Class to derive the dew point from other GFS vars.

Methods

derive(air_temperature, relative_humidity)

Derive the dew point from ancillary vars.

Attributes

DEPENDENCIES

static derive(air_temperature, relative_humidity)[source]

Derive the dew point from ancillary vars.

Parameters:
  • air_temperature (np.ndarray) – Temperature in Celsius

  • relative_humidity (np.array) – Relative Humidity

Returns:

dp (np.ndarray) – Dew point in Celsius.