GClunies / noaa_coops

A Python wrapper for the NOAA CO-OPS Tides & Currents Data and Metadata APIs.
Apache License 2.0
80 stars 28 forks source link

Column names should keep the product name #35

Closed DanRamage closed 1 year ago

DanRamage commented 1 year ago

For example, querying a station for air_temperature, the resulting dataframe column name is air_temp. If I am iterating a list of products to pull from a station, I can't use the name provided in the get_data query to access the dataframe.

GClunies commented 1 year ago

Agree this is confusing. Will fix in next release.

GClunies commented 1 year ago

@DanRamage - after some thought, noaa_coops will simply return the column names as they are received by the API (see their docs here). The only transformations will be: