-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Data type anomaly for specific fields within daily data #107
Comments
While being at it, we also might want to appropriately adjust the data type for fields like |
Do you think that we should reinvent the dtype mapping creation or simply implement another if-else for, say, static data columns (-> int) and dynamic data columns (-> float). |
I believe doing it in a dynamic manner would be okay. Then we can say things like
Note this is just non-Pandas pseudocode and probably should be written down in a more elaborated way. Also, it should be performed before humanizing column names, which is an optional feature. |
Btw just noticed that if we want to successfully apply this to the library, we require the whole parameter names being typed for all resolutions. Otherwise we'd break the functionality for some time resolutions. In conclusion we should first fully name the whole set of parameters from 1_minute to annual... |
I see. Thanks for looking at the nitty gritty details. For now, we could also approach a dynamic solution and use
I will not stop you doing this. Thanks already! It might save some unnecessary cycles iterating through all special integer fields. However, if you feel the dynamic solution outlined through #108 will also be okay, I will also be happy to help getting it out of draft mode. |
As outlined within panodata/dwdweather2#27, acquiring precipitation information from daily observations should yield data like
However, I just found out that
will yield data like
So, we should adjust the data type for
precipitation_form
to be an Integer, like designated within thedwdweather2
knowledge base module, line 142.cc @BenjaminMews
The text was updated successfully, but these errors were encountered: