-
Notifications
You must be signed in to change notification settings - Fork 367
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
OSGB tests fail without datum transformation grids available #1880
Comments
Hmm, so I tried downgrading to 8.0.0 and it still fails, so now I'm not sure what the real cause is. |
Additionally, the expected projected values were changed in 726ebac#diff-535d7d5e8b3b49d4b6a3bee21502ba1c3835941b30f5b629e5f0ef6784faaef0R53 for the pyproj conversion, but I am getting back the values from before the change. I can replicate the "new" values using a conda environment, but not in any online converter (i.e., the streetmap.co.uk mentioned in the test comment, or britishnationalgrid.uk). Any ideas @snowman2? |
I wonder if the datum/transformation grids were updated ref? |
Ah, that's a good thought. The test currently transforms from/to There's no network available on the Fedora build, and only the main package data is installed. There are many data subpackages available, so maybe I can install one of those to get the missing transformation grid. |
So that's it; I installed
and now the tests pass without any patching. Is there a way to determine if the necessary grids are available? Should we just tweak the test to work either way? |
That seems good; I'll put together a PR. For that pyproj check, shouldn't you check if files exist before checking the network flag? |
When PROJ_NETWORK is enabled, it behaves as if you have all of the files downloaded. So, there is no need to check for the file. This assumes that your network works ... |
Description
Currently, tests use conda-forge, which is on 8.0.1, but Fedora Rawhide is on 8.1.1. With that version of Proj, a few tests fail now.
Traceback
The differences are rather small, but I did not see anything obvious that might have been the cause in Proj.
Full environment definition
Operating system
Fedora Rawhide
Cartopy version
0.20.0
The text was updated successfully, but these errors were encountered: