original_docstring: 
      Calculates relative humidity given a surface temperature and
      dewpoint temperature.
      
docstring: Calculates relative humidity given a surface temperature and
  dewpoint temperature.
docstring_tokens: Calculates relative humidity given a surface temperature and dewpoint temperature .
code: def relative_humdity(surface_temp, dewpoint_temp, kelvin=True):
      """
      Calculates relative humidity given a surface temperature and
      dewpoint temperature.
      """
      if kelvin:
          surf_t = kelvin_2_celcius(surface_temp)
          dew_t = kelvin_2_celcius(dewpoint_temp)
      else:
          surf_t = surface_temp
          dew_t = dewpoint_temp
  
      rh = 100 * ((112.0 - 0.1 * surf_t + dew_t) / (112.0 + 0.9 * surf_t)) **8
  
      return rh
code_tokens: def relative_humdity ( surface_temp , dewpoint_temp , kelvin = True ) : if kelvin : surf_t = kelvin_2_celcius ( surface_temp ) dew_t = kelvin_2_celcius ( dewpoint_temp ) else : surf_t = surface_temp dew_t = dewpoint_temp rh = 100 * ( ( 112.0 - 0.1 * surf_t + dew_t ) / ( 112.0 + 0.9 * surf_t ) ) ** 8 return rh
short_docstring: Calculates relative humidity given a surface temperature and
  dewpoint temperature.
short_docstring_tokens: Calculates relative humidity given a surface temperature and dewpoint temperature .
comment: """
      Calculates relative humidity given a surface temperature and
      dewpoint temperature.
      """