Opened 14 months ago

Closed 5 weeks ago

#2081 closed defect (wontfix)

SciTools Iris to_xml() fails

Reported by: darkblueb Owned by: osgeolive@…
Priority: normal Milestone: OSGeoLive13.0
Component: OSGeoLive Keywords: python, iris
Cc:

Description

12dev notebooktest

import matplotlib.pyplot as plt
%matplotlib inline

import cartopy.crs as ccrs

import iris
import iris.plot as iplt
import iris.quickplot as qplt

fname = 'sample_data/air_temp.pp'
t0 = iris.load_cube(fname)
t0.xml()

...
TypeError: set_printoptions() got an unexpected keyword argument 'legacy'

Change history (4)

comment:1 Changed 14 months ago by darkblueb

Type: taskdefect

comment:2 Changed 14 months ago by darkblueb

Phil Elson writes:

you might have an old-ish numpy (<1.14). Iris 2.1 has been updated to >=1.14 for our tests, but on the whole should still work (apart from the XML methods) on older numpy versions.

comment:3 Changed 5 months ago by kalxas

Milestone: OSGeoLive12.0OSGeoLive13.0

Ticket retargeted after milestone closed

comment:4 Changed 5 weeks ago by darkblueb

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.