[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 -p
  File "<stdin>", line 1
    plot_data.py parabplic_05.h5 -p
                 ^
SyntaxError: invalid syntax
>>> plot_data.py parabolic_05.h5 -p
  File "<stdin>", line 1
    plot_data.py parabolic_05.h5 -p
                 ^
SyntaxError: invalid syntax
>>> python plot_data.py parabolic_05.h5
  File "<stdin>", line 1
    python 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>

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

云炬学长

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值