Skip to content

upgrade cartopy 0.20 -> 0.21 #693

@emanuel-schmid

Description

@emanuel-schmid

Since the update to cartopy 0.21, the unit test climada.test.test_plot.TestPlotter.test_exposures_value_pass fails gracelessly on Jenkins because it runs out of memory:

======================================================================
ERROR [31.423s]: test_exposures_value_pass (climada.test.test_plot.TestPlotter)
Plot exposures values.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/jenkins/jobs/climada_branches/branches/develop/workspace/climada/test/test_plot.py", line 123, in test_exposures_value_pass

  ...

  File "/home/IEDAdmin/miniconda3/envs/climada_env/lib/python3.9/site-packages/pyproj/utils.py", line 129, in _copytobuffer
    return xxx.astype("d", order="C", copy=not inplace), DataType.ARRAY
numpy.core._exceptions._ArrayMemoryError: Unable to allocate 981. MiB for an array with shape (128544732,) and data type float64

(On Windows, the test consumes, unrestricted, about 10G.)

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions