eurec4a / how_to_eurec4a

Code examples to get you started with EUREC⁴A data.
https://howto.eurec4a.eu
MIT License
6 stars 20 forks source link

Failing to compile notebooks with latest environment #82

Closed observingClouds closed 1 year ago

observingClouds commented 1 year ago

Running the CI for https://github.com/eurec4a/how_to_eurec4a/pull/81 failed due to the following attribute error:

AttributeError: 'GeoAxesSubplot' object has no attribute '_autoscaleXon

when calling Cartopy. Affected by this error are the notebooks p3_AXRT.md, p3_wsra.md and icon_les.md.

Related Cartopy Issue

observingClouds commented 1 year ago

For some reason, the CI installed cartopy-0.18.0 and Matplotlib 3.6.2, however, we need to have Cartopy-0.21 or larger as it seems.

observingClouds commented 1 year ago

I think the issue is that Cartopy is installed with conda and matplotlib with pip. #83 fixes this issue by installing both via conda