Integer, to correct the calculated radiation quantities for the Sun-Earth distance for the specified Julian day (1-365).  

day_of_year value

 
If not specified, the Earth-Sun distance is 1 AU (i.e. equinox distance), that is, no correction is applied to the extraterrestrial irradiance solar_file. Alternatively time may be used for that purpose.