[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>

 

Guess you like

Origin blog.csdn.net/qq_39154376/article/details/121299727
Recommended