-
Notifications
You must be signed in to change notification settings - Fork 85
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
TypeError: cannot pickle '_thread.lock' object #614
Comments
Mind filling out the issue template: Environment Information
Installation method
Conda environment information (if you installed with conda):Environment ( conda list ):
Details about conda and system ( conda info ):
|
Environment Information:
Installation method: conda Environment (conda list):
Details about conda and system ( conda info ):
|
This one may be more difficult to track down. I don't have a Windows machine and the CICD runners don't show this issue. If someone else runs into this, more details are welcome. |
Hi @snowman2, I was also unable to find exactly the cause of that error. But, I was able to find a workaround for this issue. I created an environment with the python 3.7.12 version and was able to run the code. But I would like to know what was the source of the error and the solution to the same. |
I have the same issue on Fedora Linux 38. Here is the code:
Error: rioxarray.show_versions() |
pydata/xarray#8571 was included in v2024.01.0 and says it addresses the issue. |
Discussed in https://github.com/corteva/rioxarray/discussions/613
Originally posted by pradeeps31 December 8, 2022
Hi Guys,
I am trying to convert a netCDF file to GeoTIFF file using xarrray and rioxarray. But when I give the rio.to_raster command, it throws the TypeError: cannot pickle '_thread.lock' object. The NetCDF file (.nc4) is a precipitation dataset downloaded from NASA Earthdata. The code I have used is below:
Could anyone help me to resolve this issue. I'm using python 3.11 version.
Thanks
Pradeep
The text was updated successfully, but these errors were encountered: