xarray changes coming up impacting Herbie? #519
Unanswered
ChinaCymbal
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I'm trying (poorly, it appears) to create a notebook to determine, among other things, the magnitude of the gradient of the surface equivalent potential temperature. I'm getting this behavior when operating on the Herbie dataset I just downloaded and its puzzling me...
[5] ds_windComponents = H.xarray("":(U|V)GRD: 10 m)
C:\Users\bc\anaconda3\Lib\site-packages\herbie\core.py:823: UserWarning: This pattern is interpreted as a regular expression, and has match groups. To actually get the groups, use str.extract.
logic = df.search_this.str.contains(search)
C:\Users\bc\anaconda3\Lib\site-packages\cfgrib\xarray_store.py:51: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use
set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly. o = xr.merge([o, ds], **kwargs) [C:\Users\bc\anaconda3\Lib\site-packages\cfgrib\xarray_store.py:51](file:///C:/Users/bc/anaconda3/Lib/site-packages/cfgrib/xarray_store.py#line=50): FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now useset_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.o = xr.merge([o, ds], **kwargs)
C:\Users\bc\anaconda3\Lib\site-packages\cfgrib\xarray_store.py:51: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.
o = xr.merge([o, ds], **kwargs)
Does anyone have a suggestion as to what I'm doing wrong, if anything, and if my code snippet can be future-proofed. Thank y'all!
-bc
All reactions