-
-
Notifications
You must be signed in to change notification settings - Fork 77
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
plot dataset with 2D coordinate variables #57
Comments
Hi @rabernat, the issue is that the gvds_from_xr = gv.Dataset(ds, kdims=['XC', 'YC', 'k', 'time'], vdims=['Theta', 'Salt'])
gvds_from_xr.to(gv.Image, ['XC', 'YC'], 'Theta', dynamic=True) Here we explicitly told it that the Image should show the gvds_from_xr.to(gv.Image, ['XC', 'YC'], 'Theta', dynamic=True).redim(Theta=dict(range=(0,100))) Let me know if you have any more questions we're usually available on Gitter. |
Thanks for your quick reply! Your code worked, but I hit a new problem when trying to actually view the map. I will follow up on gitter. |
Just for completeness, here is the error I get when I print that last line:
|
@rabernat We have now released both HoloViews 1.7.0 and GeoViews 1.2.0 and are now focusing on improving the documentation. Could you try updating to the latest versions using:
And report back if everything is working for you? |
|
I have an xarray dataset with the following structure:
This is an enormous dataset from a ocean simulation using a faceted curvilinear grid. The longitudes latitudes, and depths of the data are encoded by the variables 'XC' and 'YC'.
I am trying, unsuccessfully, to use geoviews to visualize this data. Here is what I am doing:
This raises the error
If I try
(replacing physical dimension 'Z' with logical dimension 'k') I get the following stack trace:
Clearly I am doing something wrong, but I can't figure out what.
Thanks for any help you can provide.
The text was updated successfully, but these errors were encountered: