-
Notifications
You must be signed in to change notification settings - Fork 36
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
paraview_hello_world.ipynb doesn't work on Colab #1467
Comments
|
Should we add this to notebook?
niedz., 15 gru 2024, 02:23 użytkownik Sylwester Arabas <
***@***.***> napisał:
… !pip install python3-paraview will, in principle, work on Colab and
result in availability of the pvpython command.
—
Reply to this email directly, view it on GitHub
<#1467 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANMOOLF4FI3JCARYLOYTKGL2FTK2JAVCNFSM6AAAAABTT6OLJGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBTGQYDEMJUGU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
We'd probably be better off directing users to existing tutorials on Paraview, e.g. https://docs.paraview.org/en/latest/Tutorials/SelfDirectedTutorial/ |
|
sorry! |
I tried to run this notebook on Colab, on MacOs 14 and Ubuntu. I can't make it work.
First error that I get is
FileNotFoundError: [Errno 2] No such file or directory: 'pvpython'
On Ubuntu I managed to pass this error to another one
CalledProcessError: Command '['ffmpeg', '-f', 'rawvideo', '-vcodec', 'rawvideo', '-s', '1120x1488', '-pix_fmt', 'rgba', '-framerate', '10.0', '-loglevel', 'error', '-i', 'pipe:', '-vcodec', 'h264', '-pix_fmt', 'yuv420p', '-y', '/tmp/tmpodqfrsid/temp.m4v']' returned non-zero exit status 234.
It's connected to missing
data_range
parameter inupdate
function (in a lineplots[i].update(ncdf.variables[product][frame_num], step=step)
)After setting it to
None
there is a different error`---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
Cell In[22], line 1
----> 1 np.full_like(ncdf.variables['surf_precip'][:], np.nan)
KeyError: 'surf_precip'`
Please help me :)
Maybe tutorial on HOWTO actually set paraview?
The text was updated successfully, but these errors were encountered: