Opened 6 years ago

Closed 5 years 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 by darkblueb, 6 years ago

Type: taskdefect

comment:2 by darkblueb, 6 years ago

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 by kalxas, 5 years ago

Milestone: OSGeoLive12.0OSGeoLive13.0

Ticket retargeted after milestone closed

comment:4 by darkblueb, 5 years ago

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