olm.USGS.loadWaterQualityData.loadSiteListData¶
-
olm.USGS.loadWaterQualityData.loadSiteListData(siteListText=None, siteFile=None, regEx='USGS-*', processedSitesDir='./Processed-Sites', loadPhreeqc=False, loadMetaData=False)[source]¶ Retrieves site data for multiple sites within a processed sites directory.
Parameters: siteListText : string (optional)
a list of sites separated by semi-colons
siteFile : string (optional)
a filename of a text file with a list of sites
regEx : string (optional)
regular expression used to search for site directories within the processed sites directory (default = ‘USGS-‘)
processedSitesDir : string (optional)
directory that contains all of the processed site directories. It is important to change this if the default is not correct. (default=’./Processed-Sites’)
loadPhreeqc : boolean
If set to true, PHREEQC outputs will also be loaded for each site. (default=False)
loadMetaData : boolean
If set to true, the site metadata will be loaded for each site. (default=False)
Returns: sitesDict : dict
A dictionary of site data panels keyed by site name.
or if loadPhreeqc or loadMetaData are set to true
(sitesDict, sitesPheeqcDict, sitesMetaDataDict) : tuple
A tuple containing the sitesDict and dicts of the PHREEQC data and/or metadata for each site. Order is as shown.