Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some obscure variables are not parsed into the DataFrame #69

Open
blaylockbk opened this issue Dec 19, 2024 · 0 comments
Open

Some obscure variables are not parsed into the DataFrame #69

blaylockbk opened this issue Dec 19, 2024 · 0 comments
Labels
TimeSeries synoptic.services.TimeSeries

Comments

@blaylockbk
Copy link
Owner

There are some obscure variables that are not parsed into the DataFrame. This is because the JSON schema didn't easily fit into the long-form DataFrame.

For now, I print WARNING and the variable name not parsed...

import synoptic
df = synoptic.TimeSeries(recent="6h", stid="KSLC").df()
WARNING: Unknown schema for col='pressure_tendency_set_1' schema=List(Null)
WARNING: Unknown schema for col='air_temp_high_6_hour_set_1' schema=List(Null)
WARNING: Unknown schema for col='air_temp_low_6_hour_set_1' schema=List(Null)
WARNING: cloud_layer_1_set_1d not implemented.
WARNING: cloud_layer_2_set_1d not implemented.
WARNING: cloud_layer_3_set_1d not implemented.
df = synoptic.TimeSeries(recent="6h", stid="KMRY").df()
WARNING: Unknown schema for col='pressure_tendency_set_1' schema=List(Null)
WARNING: Unknown schema for col='weather_cond_code_set_1' schema=List(Null)
WARNING: Unknown schema for col='precip_accum_one_hour_set_1' schema=List(Null)
WARNING: Unknown schema for col='precip_accum_six_hour_set_1' schema=List(Null)
WARNING: Unknown schema for col='air_temp_high_6_hour_set_1' schema=List(Null)
WARNING: Unknown schema for col='air_temp_low_6_hour_set_1' schema=List(Null)
WARNING: Unknown schema for col='weather_condition_set_1d' schema=List(Null)
WARNING: cloud_layer_1_set_1d not implemented.
@blaylockbk blaylockbk added the TimeSeries synoptic.services.TimeSeries label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TimeSeries synoptic.services.TimeSeries
Projects
None yet
Development

No branches or pull requests

1 participant