DOI-USGS / dataretrieval-python

Python package for retrieving water data from USGS or the multi-agency Water Quality Portal
https://doi-usgs.github.io/dataretrieval-python/
Other
165 stars 41 forks source link

Tutorial prep #140

Closed thodson-usgs closed 5 months ago

thodson-usgs commented 5 months ago

Add FIPS state codes and links to WQP swagger doc.

thodson-usgs commented 5 months ago

@ehinman, just some minor changes to prepare for the waterscicon tutorial

ehinman commented 5 months ago

Looks good to me. How would someone know to go to the states.py file to reference the FIPs codes/abbreviations?

thodson-usgs commented 5 months ago

Looks good to me. How would someone know to go to the states.py file to reference the FIPs codes/abbreviations?

It's probably not well documented, so you'd have to be a source reader.

Normally, these sorts of lookups would be done behind the scenes, but the WQP interface is bare bones. This dict is mainly to provide a convenience for some common use patterns, but isn't really a function provided by the dataretrieval package