iwfm.util.get_cdec

iwfm.util.get_cdec(files)[source]

Download and format data tables from CDEC websites.

This is the main entry point for downloading CDEC data. It downloads the raw data tables and formats them into standard CSV format.

Parameters:

files (list) – List of information about each file in the form [Name, Data Source, url]

Returns:

info – List of information about the saved files in the form [Name, Data Source]

Return type:

list

Raises:

ValueError – If files list is invalid