olm.USGS.WQXtoPandas.runWQXtoPandas

olm.USGS.WQXtoPandas.runWQXtoPandas(startfilename, autosplitnum=20, restart=False)[source]

Runs WQXtoPandas on an excel format input file where parameters can be set for an automatic query of data from the USGS NWIS database.

Parameters:
startfilenamestring

A string containing the name of the excel file to be used for input parameters to WQXtoPandas

autosplitnumint (optional)

The number of sites at which a NWIS query is split into multiple queries. (default=20)

restartbool

Whether we are restarting a failed run and want to skip existing xmls. Default = False.

Returns:
None

Notes

Can be run from within a python shell or script, or as a standalone script from the command line where the start file name is provided as the first command line argument (e.g. WQXtoPandas <start file name> <autosplitnum>).