ecmwf / magics-python

Python interface to Magics meteorological plotting package
Apache License 2.0
49 stars 12 forks source link

Add mxarray() #6

Closed dtip closed 5 years ago

dtip commented 5 years ago

This PR adds a function to parse xarray datasets into magics.minput.

It also makes png the default output format.

The code as it stands doesn't actually work properly - there's a method missing in Magics for plotting matrix data which has irregular latitude and longitude data. @sylvielamythepaut is working on this.

The code is also missing tests. They need to be added to the Magics repo - I'll do that soon.