欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 编程语言 > python >内容正文

python

[python调试笔记] 编译运行h5py

发布时间:2025/3/15 python 46 豆豆
生活随笔 收集整理的这篇文章主要介绍了 [python调试笔记] 编译运行h5py 小编觉得挺不错的,现在分享给大家,帮大家做个参考.
Microsoft Windows [版本 10.0.19042.1288] (c) Microsoft Corporation。保留所有权利。 (base) D:\AntoPan2020\Library\python\whistlewave>python Python 3.8.5 (default, Sep 3 2020, 21:29:08) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32 Type "help", "copyright", "credits" or "license" for more information. >>> print('Hello World!') Hello World! >>> plot_data.py parabplic_05.h5 -pFile "<stdin>", line 1plot_data.py parabplic_05.h5 -p^ SyntaxError: invalid syntax >>> plot_data.py parabolic_05.h5 -pFile "<stdin>", line 1plot_data.py parabolic_05.h5 -p^ SyntaxError: invalid syntax >>> python plot_data.py parabolic_05.h5File "<stdin>", line 1python plot_data.py parabolic_05.h5^ SyntaxError: invalid syntax >>> exit Use exit() or Ctrl-Z plus Return to exit >>>(base) D:\AntoPan2020\Library\python\whistlewave>python plot_data.py parabolic_05.h5 -p python: can't open file 'plot_data.py': [Errno 2] No such file or directory(base) D:\AntoPan2020\Library\python\whistlewave>ls 'ls' 不是内部或外部命令,也不是可运行的程序 或批处理文件。(base) D:\AntoPan2020\Library\python\whistlewave>cd whistlewave(base) D:\AntoPan2020\Library\python\whistlewave\whistlewave>python plot_data.py parabolic_05.h5 -p plot_data.py:82: MatplotlibDeprecationWarning: shading='flat' when X and Y have the same dimensions as C is deprecated since 3.3. Either specify the corners of the qua drilaterals with X and Y, or pass shading='auto', 'nearest' or 'gouraud', or set rcParams['pcolor.shading']. This will become an error two minor releases later.contourdata = ax1.pcolormesh(X, Y, 10*np.log10(bw).T, cmap='plasma',norm=Normalize(vmin=-80, vmax=-20)) plot_data.py:98: MatplotlibDeprecationWarning: shading='flat' when X and Y have the same dimensions as C is deprecated since 3.3. Either specify the corners of the qua drilaterals with X and Y, or pass shading='auto', 'nearest' or 'gouraud', or set rcParams['pcolor.shading']. This will become an error two minor releases later.contourdata = ax1.pcolormesh(X, Y, 10*np.log10(bw).T, cmap='plasma',norm=Normalize(vmin=-80, vmax=-20))(base) D:\AntoPan2020\Library\python\whistlewave\whistlewave>python plot_data.py parabolic_05.h5 plot_data.py:82: MatplotlibDeprecationWarning: shading='flat' when X and Y have the same dimensions as C is deprecated since 3.3. Either specify the corners of the qua drilaterals with X and Y, or pass shading='auto', 'nearest' or 'gouraud', or set rcParams['pcolor.shading']. This will become an error two minor releases later.contourdata = ax1.pcolormesh(X, Y, 10*np.log10(bw).T, cmap='plasma',norm=Normalize(vmin=-80, vmax=-20)) plot_data.py:98: MatplotlibDeprecationWarning: shading='flat' when X and Y have the same dimensions as C is deprecated since 3.3. Either specify the corners of the qua drilaterals with X and Y, or pass shading='auto', 'nearest' or 'gouraud', or set rcParams['pcolor.shading']. This will become an error two minor releases later.contourdata = ax1.pcolormesh(X, Y, 10*np.log10(bw).T, cmap='plasma',norm=Normalize(vmin=-80, vmax=-20)) plot_data.py:126: MatplotlibDeprecationWarning: shading='flat' when X and Y have the same dimensions as C is deprecated since 3.3. Either specify the corners of the qu adrilaterals with X and Y, or pass shading='auto', 'nearest' or 'gouraud', or set rcParams['pcolor.shading']. This will become an error two minor releases later.contourdata = ax1.pcolormesh(T, W, 10*np.log10(np.abs(bz_spectrum)**2), cmap='plasma',norm=Normalize(vmin=-80, vmax=-20)) plot_data.py:154: MatplotlibDeprecationWarning: shading='flat' when X and Y have the same dimensions as C is deprecated since 3.3. Either specify the corners of the qu adrilaterals with X and Y, or pass shading='auto', 'nearest' or 'gouraud', or set rcParams['pcolor.shading']. This will become an error two minor releases later.contourdata = ax1.pcolormesh(PARA, PERP, np.log10(f), cmap='plasma', plot_data.py:162: MatplotlibDeprecationWarning: shading='flat' when X and Y have the same dimensions as C is deprecated since 3.3. Either specify the corners of the qu adrilaterals with X and Y, or pass shading='auto', 'nearest' or 'gouraud', or set rcParams['pcolor.shading']. This will become an error two minor releases later.contourdata = ax1.pcolormesh(PARA, PERP, f, cmap='plasma', plot_data.py:190: MatplotlibDeprecationWarning: shading='flat' when X and Y have the same dimensions as C is deprecated since 3.3. Either specify the corners of the qu adrilaterals with X and Y, or pass shading='auto', 'nearest' or 'gouraud', or set rcParams['pcolor.shading']. This will become an error two minor releases later.contourdata = ax1.pcolormesh(X, Y, -je.T, cmap='RdBu_r',norm=Normalize(vmin=-2e-4, vmax=2e-4)) plot_data.py:204: MatplotlibDeprecationWarning: shading='flat' when X and Y have the same dimensions as C is deprecated since 3.3. Either specify the corners of the qu adrilaterals with X and Y, or pass shading='auto', 'nearest' or 'gouraud', or set rcParams['pcolor.shading']. This will become an error two minor releases later.3.3. Either specify the corners of the quadrilaterals with 3.3. Either specify the corners of the quadrilaterals with X an 3.3. Either specify the corners of the quadrilaterals with X and Y, or pass shading='auto', 'nearest' or 'gouraud', or set rc Params['pcolor.shading']. This will become an error two minor releases later.contourdata = ax1.pcolormesh(X, Y, jb.T, cmap='RdBu_r',norm=Normalize(vmin=-1e-3, vmax=1e-3)) plot_data.py:217: MatplotlibDeprecationWarning: shading='flat' when X and Y have the same dimensions as C is deprecated since 3 .3. Either specify the corners of the quadrilaterals with X and Y, or pass shading='auto', 'nearest' or 'gouraud', or set rcPa rams['pcolor.shading']. This will become an error two minor releases later.contourdata = ax1.pcolormesh(X, Y, jb_bw.T, cmap='RdBu_r',norm=Normalize(vmin=-0.3, vmax=0.3))(base) D:\AntoPan2020\Library\python\whistlewave\whistlewave> rcParams['pcolor.shading']. This will become an error two minor releases later.contourdata = ax1.pcolormesh(X, Y, jb_bw.T, cmap='RdBu_r',norm=Normalize(vmin=-0.3, vmax=0.3))(base) D:\AntoPan2020\Library\python\whistlewave\whistlewave>

 

总结

以上是生活随笔为你收集整理的[python调试笔记] 编译运行h5py的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。