Routines to write monthly and yearly averaged total and spectral irradiance to netcdf files. Assumes the incoming data is obtained from an IDL structure that is the output from average_by_month.pro and average_by_year.pro