-
Notifications
You must be signed in to change notification settings - Fork 75
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 missing values not being converted to NaN in IGRA2 #213
Comments
@DanielWatkins Cheers, |
@avatar101 Glad you found the code! |
I'm also using pd.read_fwf() but, your overall approach is much better. If you're interested in the approach I'm using, it is based on this https://stackoverflow.com/questions/48992164/reading-file-between-headers-in-python It makes the code shorter but, I find it a bit complicated. I find your approach better and certainly, your function is much more versatile and powerful than what I could come up with. However, I still need some time to go through all the code you wrote. |
@DanielWatkins did your PR #219 fix this? |
Values flagged as missing or invalid in the raw IGRA2 files contain the value -9999 or -8888. On fields that have a decimal value (e.g. 1234 representing 123.4) instead of NaN we sometimes get -999.9.
The text was updated successfully, but these errors were encountered: