-
Notifications
You must be signed in to change notification settings - Fork 370
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
Deepcopy of CRS Object Fails to Initialize #2361
Comments
It looks like this is being worked in #2356. Testing that PR and seeing if it addresses your problem would be helpful. |
Ah indeed, I see that we discovered the issue around the same time! Never tested a dev branch of a module before, mind giving me a quick guide? Should I just download a local copy of the branch and import it manually to my script to see if it works? |
Hello @moss-xyz, definitely discovered the issue from reading your original report :) To install the dev branch, the instructions at https://scitools.org.uk/cartopy/docs/latest/installing.html#required-dependencies are good, except adding two lines below to pull/checkout this specific branch for testing:
|
@lgolston thank you for the guide! I'm relatively new at conda so might be doing something wrong, but running the same code from original post I made at the top^ in the
|
@moss-xyz, even easier is to install from the specific git branch into your current environment. When I tested the original code block out at the top with current main there are no warnings, so I think this was fixed by the linked PR. |
@greglucas finally got around to testing this out, seems like it is indeed fixed, thank you for your work on this! |
Thank you @lgolston who actually did the work! Glad it solved the issue for you. |
@greglucas @lgolston @dopplershift just wanted to thank you again for all of your help here: I was able to push out the package I was developing that required this functionality yesterday! You can check it out here :) |
Description
Originally called this out in #1336
Using the
deepcopy
function from thecopy
module leads to a TypeError.Code to reproduce
Traceback
Full environment definition
Operating system
Windows 11
Cartopy version
0.22.0
pip list
Don't judge please
The text was updated successfully, but these errors were encountered: