Skip to content

Commit

Permalink
Fixes non UTC formated occultation instant before database ingestion. (
Browse files Browse the repository at this point in the history
  • Loading branch information
rcboufleur authored Feb 15, 2024
1 parent 8b798e0 commit deee135
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,9 @@ def run_occultation_path_coeff(predict_table_path: Path, obj_data: dict):
for column in columns_for_future:
df[column] = None

# Converter as strings date_time do instante da ocultação em objetos datetime utc
df["date_time"] = pd.to_datetime(df["date_time"], utc=True)

# Altera a ordem das colunas para coincidir com a da tabela
df = df.reindex(
columns=[
Expand Down

0 comments on commit deee135

Please sign in to comment.