olm.USGS.DataRetrieval.GetSiteData

olm.USGS.DataRetrieval.GetSiteData(location)[source]

Retrieves meta data about a USGS site using the full site identifier.

Parameters:

location : string

Full USGS site number starting with ‘USGS-‘ or the bare integer number of a USGS site.

Returns:

siteDF : pandas.DataFrame

Returns a pandas DataFrame object that contains all of the site meta data from an expanded USGS site data query. Data is indexed using field labels given in USGS file (see Notes).

Notes

Pair of keys and descriptions from USGS site meta data.

agency_cd – Agency

site_no – Site identification number

station_nm – Site name

site_tp_cd – Site type

lat_va – DMS latitude

long_va – DMS longitude

dec_lat_va – Decimal latitude

dec_long_va – Decimal longitude

coord_meth_cd – Latitude-longitude method

coord_acy_cd – Latitude-longitude accuracy

coord_datum_cd – Latitude-longitude datum

dec_coord_datum_cd – Decimal Latitude-longitude datum

district_cd – District code

state_cd – State code

county_cd – County code

country_cd – Country code

land_net_ds – Land net location description

map_nm – Name of location map

map_scale_fc – Scale of location map

alt_va – Altitude of Gage/land surface

alt_meth_cd – Method altitude determined

alt_acy_va – Altitude accuracy

alt_datum_cd – Altitude datum

huc_cd – Hydrologic unit code

basin_cd – Drainage basin code

topo_cd – Topographic setting code

instruments_cd – Flags for instruments at site

construction_dt – Date of first construction

inventory_dt – Date site established or inventoried

drain_area_va – Drainage area

contrib_drain_area_va – Contributing drainage area

tz_cd – Time Zone abbreviation

local_time_fg – Site honors Daylight Savings Time

reliability_cd – Data reliability code

gw_file_cd – Data-other GW files

nat_aqfr_cd – National aquifer code

aqfr_cd – Local aquifer code

aqfr_type_cd – Local aquifer type code

well_depth_va – Well depth

hole_depth_va – Hole depth

depth_src_cd – Source of depth data

project_no – Project number