sup3r.preprocessing.feature_handling.TempNC

class TempNC[source]

Bases: DerivedFeature

Temperature feature class for NETCDF data. Needed since T is potential temperature not standard temp.

Methods

compute(data, height)

Method to compute T from NETCDF data

inputs(feature)

Get list of inputs needed for compute method.

classmethod inputs(feature)[source]

Get list of inputs needed for compute method.

classmethod compute(data, height)[source]

Method to compute T from NETCDF data

Parameters:
  • data (dict) – Dictionary of raw feature arrays to use for derivation

  • height (str | int) – Height at which to compute the derived feature

Returns:

ndarray – Derived feature array