You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Can we clarify decode_cf option of open_dataset? #3020
I encountered a small unforeseen bug using the decode_cf of open_dataset. By only reading the doc string, I was not aware of the complete meaning of this parameter. Especially, that it overwrites other options.
A simple solution would be to explain, that decode_cf sets mask_and_scale, decode_times, concat_characters, and decode_coords to False. But probably it would be more convenient to detect option conflicts like in my example and raise a ValueError.
What do you think? Do you prefer any of these options? I could write the little PR.
Activity
dcherian commentedon Jun 13, 2019
Thanks @MeraX.
+1 on raising an error. and +5 for sending in a PR :)
MeraX commentedon Nov 16, 2019
Good things take a while, but today I finally managed to create a PR. What do you think?
If there is more to to, let me know.