-
Notifications
You must be signed in to change notification settings - Fork 13
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
XQuartz version and numpy? #44
Comments
I get:
Nothing to do about it except nox version, correct? |
@scottwittenburg @danlipsa @doutriaux1 @downiec @forsyth2 @muryanto1 I am hunting around for a solution to #430 and it seems that the only "solution" is to use the mesa build, which defeats the purpose of what I am trying to use |
jupyter-notebook are not the best, but a great way around when using mesa. They will show you the picture. |
@doutriaux1 thanks, I am trying to debug a script which is not implemented in a jupyter notebook, rather I am just running this (with pdb) in the terminal. It would be preferable to me if I can just enable VCS interactively, however it that's not possible I'll just have to forget about vcs altogether and go to matplotlib or equivalent. It's a pity though, as VCS deals with CMIP5/6/ ocean grids far better than other packages |
you do know you can copy/paste your script into a new notebook? Then use split cell to run only the buggy section of your script. It's actually faster than regular prompt debugging. |
@doutriaux1 I know this exists somewhere, but how do I initialize a jupyter notebook on one of our workstations? Is there a better way than:
|
@doutriaux1 Are you talking about jupyter-vcdat setup in Jupyterhub which is hosted on nimbus? |
I don't have vcdat setup/installed on other machines right now, but if the machine has docker available, there's a docker image that can be run which has vcdat, jupyterlab and notebooks setup in it. |
nimbus should work for @durack1 he wants to be able to connect to a jupyterlab running on a remote machine from his local machine. |
@doutriaux1 Yes, in that I can add him to the group on github so he can access it. @durack1 I set you an invitation to the group and will email you how to access it. |
@doutriaux1 is this what you'd expect with a cdat82py3 instance that has not enabled mesa on env creation: |
@doutriaux1 it seems that there is a vcs graphics object created, but I just can't see it, no matter how I try and go about using it.. |
try this from IPython.core.display import display
d = x.plot(climSlice)
display(d) |
of course with pdb, you're interupting before anything is drawn so you can't see an image yet. |
but the |
@doutriaux1 I was hoping this would work, but no cigar: |
maybe display is used by pdb. try from IPython.core.display import display as display_ipython
...
display_ipython(d) |
/export_backup/lee1043/anaconda2/lib/python2.7/site-packages/numpy/ma/core.py:2761: DeprecationWarning: Non-string object detected for the array ordering. Please pass in 'C', 'F', 'A', or 'K' instead
order=order, subok=True, ndmin=ndmin)
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 149 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 42
Current serial number in output stream: 43
Migrated from: CDAT/cdat#2132
The text was updated successfully, but these errors were encountered: