Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
4580 Discussions

Exception has occurred: ValueError

negar
New Contributor I
257 Views
 
I have downloaded monthly mean wind speed of terraclimate data for 20 years (2000-2019) which have NetCDF format, but unfortunately, each year has a single NetCDF file, and I want to merge them all to have a single wind speed which is from 2000 to 2019. So, I am using xarray in python to join these NETCDF files, and this is my code:
 
import xarray as xr
 
import glob
 
ds = xr.open_mfdataset("C:/Users/Nazanin/Desktop/other/nc/*.nc")
 
ds.to_netcdf('Final.nc')
 
but it gives me this error:
 
Exception has occurred: ValueError
 
Variable 'ws' has conflicting _FillValue (32768) and missing_value (-32768). Cannot encode data.
 
File "C:\Users\Nazanin\Desktop\other\nc\nc.py", line 4, in <module> ds.to_netcdf('Final.nc')
Could anybody help me with this error?
0 Kudos
3 Replies
AthiraM_Intel
Moderator
231 Views

Hi,


Thanks for reaching out to us.


Could you please let us know whether you are using any of the Intel tools or packages for your work?


We provide support only for queries related to Intel products.


Thanks.



AthiraM_Intel
Moderator
205 Views

Hi,


Could you please give us an update?


Thanks.


AthiraM_Intel
Moderator
178 Views

Hi,


We have not heard back from you, we wont be monitoring this thread. If you need further assistance, please post a new thread.


Thanks


Reply