pvlib.iotools.read_cams(filename, integrated=False, label=None, map_variables=True)[source]

Read a CAMS Radiation or McClear file into a pandas DataFrame. CAMS radiation and McClear are described in 1 and 2, respectively.

  • filename (str) – Filename of a file containing data to read.

  • integrated (boolean, default False) – Whether to return radiation parameters as integrated values (Wh/m^2) or as average irradiance values (W/m^2) (pvlib preferred units)

  • label ({'right', 'left}, default: None) – Which bin edge label to label time-step with. The default is ‘left’ for all time steps except for ‘1M’ which has a default of ‘right’.

  • map_variables (bool, default: True) – When true, renames columns of the Dataframe to pvlib variable names where applicable. See variable CAMS_VARIABLE_MAP.


  • data (pandas.DataFrame) – Timeseries data from CAMS Radiation or McClear pvlib.iotools.get_cams() for fields

  • metadata (dict) – Metadata available in the file.



CAMS Radiation Service Info


CAMS McClear Service Info