5. Nearest Weather Method

nearest_weather()

This method returns a list of weather codes matching submitted criteria

  • XSD: http://hesapi.lbl.gov/mf_api/xsd/nearest_weather
  • XSD documentation: http://documentation.hescloud.net/api/mf/xsd/hes-mf_xsd-nearest_weather_prd.htm
  • Parameters:
  • NameDescriptionRequiredTypeLen
    OptionsMinMax
    user_key
    3scale key for access to the API
    Ystring 32   
    postal_codeUSPS ZipCodeYstring6 
      
    weather_type
    Code for the weather data type 
    YString
      tmy3, amy
      
    year 
    Year for weather data. Required if weather_type='amy'
    N Int  2007 
    2013 *
    number 
    Maximum number of weather codes to return. Default = 1
    N Int   0 
    range
    Maximum distance in miles from Zipcode centroid. Default = 200
    N Int   0 

    Notes:
     * Additional years will be added as they become available