Open-ET / flux-data-qaqc

Energy Balance Closure Analysis and Eddy Flux Data Post-Processing
BSD 3-Clause "New" or "Revised" License
23 stars 13 forks source link

date_parser in pd.read_ in data.py #33

Closed inkenbrandt closed 5 months ago

inkenbrandt commented 5 months ago

Attempts to address https://github.com/Open-ET/flux-data-qaqc/issues/32 where a future warning is thrown for the parse_dates argument in pd.read_csv

Switched to pd.to_datetime() after import instead.

May have to add a errors='coerce' argument in the pd.to_datetime() function to address parsing errors in datetime data.