The service from the U.S. National Renewable Energy Laboratory (NREL) provides access to a database of solar radiation available at locations within the United States. The National Solar Radiation Database (NSRDB) lists recorded solar energy readings from a wide range of weather stations. Data are summarized based on readings captured 1991-2005 using the Typical Meteorological Year (TMY) methodology.
API methods support search for solar radiation data for a location specified by latitude and longitude. Results can be restricted to specific fields such as date and time of recordings, specific recording station, solar conditions such as zenith and illumination, and weather conditions like precipitation and barometric pressure.
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.