-
Notifications
You must be signed in to change notification settings - Fork 50
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
Tests failing after build with GDAL 3.5.0 #416
Comments
Looks like this command is producing a different result with GDAL3.5 MDAL/tests/test_gdal_netcdf.cpp Line 155 in bff65e8
|
From Changelog for GDAL3.5
I am wondering about the CRS changes ... |
Yep - under GDAL3.5
whilst under GDAL3.4 it reported
@PeterPetrik - don't know how you want to deal with this. The change comes from OSGeo/gdal#4734 and it does not look like there is a config item to revert to legacy beahviour |
I think we may need if-else in your code to work with pre 3.5 and post 3.5 GDAL releases differently MDAL_M_extent should probably report the same for both versions |
@PeterPetrik I must admit I have a slightly different opinion - in my mind the statement of compliance should be "MDAL gives the same result as GDAL". If the GDAL result (and thus the QGIS) result changes between major versions then so should the MDAL result and at least then the results in a given environment are consistent. I think that any other approach just creates an ongoing problem of consistency and support. There will be issues for ever asking why GDAL and MDAL say different things in certain circumstances. There will also be not inconsiderable work to out how to make the GDAL 3.5 results look like GDAL 3.4 results (or vice versa). I would say that it is the TEST that should be changed to be based upon the GDAL version. However - ultimately it is your call. |
I am easy both ways, both have some positives and negatives. @vcloarec what do you think? |
I was too - it looks like 3.5 is in some sort of local projected CRS while 3.4 is picking up some sort of UTM-like projected CRS but the units of the 3.5 local CRS are exactly half the size of the units of the 3.4 CRS ... I am guessing that the WKT in the file has a different CRS to the CF Params?? which is another reason for not trying to reverse engineer |
Joy of joys. This behaviour seems to revert in GDAL 3.6! I will try to push a PR that disables this test just for GDAL 3.5 |
The NetCDF tests are failing after MDAL is built using GDAL 3.5.0 in Conda-Forge.
The results can be seen here
https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=515809&view=logs&j=656edd35-690f-5c53-9ba3-09c10d0bea97&t=e5c8ab1d-8ff9-5cae-b332-e15ae582ed2d&l=2279
The text was updated successfully, but these errors were encountered: