Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quadmesh flips image upside down #23

Closed
ahuang11 opened this issue Jun 4, 2018 · 2 comments
Closed

Quadmesh flips image upside down #23

ahuang11 opened this issue Jun 4, 2018 · 2 comments

Comments

@ahuang11
Copy link
Collaborator

ahuang11 commented Jun 4, 2018

import os
import xarray as xr
import holoviews as hv
import geoviews as gv
import holoplot.xarray
hv.extension('bokeh')

os.system(
    'wget '
    'ftp://ftp.cdc.noaa.gov/'
    'Datasets/ncep.reanalysis.dailyavgs/'
    'surface/'
    'air.sig995.2018.nc'
)

obs_ds = xr.open_dataset('air.sig995.2018.nc')
obs_ds.holoplot.quadmesh(x='lon', y='lat', z='air', groupby='time')
obs_ds.holoplot.image(x='lon', y='lat', z='air', groupby='time')

Or maybe I just don't really know what the difference between quadmesh and image is.

image

@philippjfr
Copy link
Member

This one is quite bizarre, I didn't think it was possible for a quadmesh to be inverted. Will have to look into this before releasing tomorrow.

@philippjfr
Copy link
Member

Found the issue, the fix should be in the HoloViews release tomorrow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants