xarray issue? #546
-
I got the below error message after running one ACT example. This is new to me. I used to run this example without any problems. I have recreated an environment and reinstalled metpy and act. Still get the same error message. Any suggestions? %run plot_wind_rose.py ValueError Traceback (most recent call last) File D:\Anac3\envs\aaf\Lib\site-packages\act\io\armfiles.py:141, in read_netcdf(filenames, concat_dim, return_None, combine, use_cftime, cftime_to_datetime64, **kwargs) File D:\Anac3\envs\aaf\Lib\site-packages\act\io\armfiles.py:119, in read_netcdf(filenames, concat_dim, return_None, combine, use_cftime, cftime_to_datetime64, **kwargs) File D:\Anac3\envs\aaf\Lib\site-packages\xarray\backends\api.py:976, in open_mfdataset(paths, chunks, concat_dim, compat, preprocess, engine, data_vars, coords, combine, parallel, join, attrs_file, combine_attrs, **kwargs) ValueError: When combine='by_coords', passing a value for |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 19 replies
-
@fanmei can you let us know what version python and xarray you are running? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Pulling @mgrover1 and @zssherman into this discussion as well. |
Beta Was this translation helpful? Give feedback.
-
These seem like two separate issues.. @fanmei can you please copy and paste the full error from the first lines? import act
sonde_ds = act.io.armfiles.read_netcdf(act.tests.sample_files.EXAMPLE_TWP_SONDE_WILDCARD) Let's start there. |
Beta Was this translation helpful? Give feedback.
-
@fanmei I have not been able to recreate this. Do you have the cftime package installed?
|
Beta Was this translation helpful? Give feedback.
-
@fanmei did you ever get ACT updated to the latest version? There's been a lot added since v0.2!
You might need to do the following since it's already installed. |
Beta Was this translation helpful? Give feedback.
-
Thank you so much for all your help and support, Adam and Max |
Beta Was this translation helpful? Give feedback.
@fanmei did you ever get ACT updated to the latest version? There's been a lot added since v0.2!
conda install act-atmos=1.2.0
You might need to do the following since it's already installed.
conda install act-atmos=1.2.0 --force