{"id":32385,"date":"2025-04-24T04:56:22","date_gmt":"2025-04-23T20:56:22","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/32385.html"},"modified":"2025-04-24T04:56:22","modified_gmt":"2025-04-23T20:56:22","slug":"%e5%88%86%e6%9e%90jhtdb%e6%95%b0%e6%8d%ae%e5%ba%93%e7%9a%84channel5200%e6%95%b0%e6%8d%ae%e9%9b%86%e7%9a%84%e6%95%b0%e6%8d%ae%ef%bc%88sciserver%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/32385.html","title":{"rendered":"\u5206\u6790JHTDB\u6570\u636e\u5e93\u7684Channel5200\u6570\u636e\u96c6\u7684\u6570\u636e\uff08SciServer\u670d\u52a1\u5668\uff09"},"content":{"rendered":"<p>\u4ee3\u7801\u6765\u81eahttps:\/\/github.com\/idies\/pyJHTDB\/blob\/master\/examples\/channel.ipynb<\/p>\n<p>%matplotlib inline<br \/>\nimport numpy as np<br \/>\nimport math<br \/>\nimport random<br \/>\nimport pyJHTDB<br \/>\nimport matplotlib.pyplot as plt<br \/>\nimport time as tt<\/p>\n<p>N &#061; 3<br \/>\nT &#061; pyJHTDB.dbinfo.channel5200[&#039;time&#039;][-1]<br \/>\ntime &#061; np.random.random()*T<\/p>\n<p>spatialInterp  &#061; 6  # 6 \u62c9\u683c\u6717\u65e5\u70b9<br \/>\ntemporalInterp &#061; 0  # \u65e0\u65f6\u95f4\u63d2\u503c<br \/>\nFD4Lag4        &#061; 44 # 4 point Lagrange interp for derivatives<\/p>\n<p># mhdc has starttime .364 and endtime .376<br \/>\nstartTime &#061; time<br \/>\nendTime &#061; startTime &#043; 0.012<br \/>\nlag_dt &#061; 0.0004<\/p>\n<p># Select points in the database to query<br \/>\nlpoints &#061; []<br \/>\nfor i in range(0,N):<br \/>\n    lpoints.append([random.uniform(0, 8*3.14),random.uniform(-1, 1),random.uniform(0, 3*3.14)])<\/p>\n<p># 2D array with single precision values<br \/>\npoints &#061; np.array(lpoints,dtype&#061;&#039;float32&#039;)<br \/>\n# load shared library<br \/>\nlTDB &#061; pyJHTDB.libJHTDB()<br \/>\n#initialize webservices<br \/>\nlTDB.initialize()<\/p>\n<p>#Add token<br \/>\nauth_token  &#061; &#034;edu.jhu.pha.turbulence.testing-201311&#034;  #Replace with your own token here<br \/>\nlTDB.add_token(auth_token)<\/p>\n<p>print(&#039;Coordinates of {0} points where variables are requested:&#039;.format(N))<br \/>\nfor p in range(N):<br \/>\n    print(&#039;{0}: {1}&#039;.format(p, points[p]))<br \/>\nprint(&#039;Data is requested at time {0}&#039;.format(time)) <\/p>\n<p><img decoding=\"async\" alt=\"68a670ccc8944f25931799ce8dd923ef.png\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250423205614-680953eebf805.png\" \/><\/p>\n<hr \/>\n<p style=\"text-align:center\">\u4e0b\u9762\u662f\u9010\u884c\u5206\u6790<\/p>\n<ul>\n<li>%matplotlib inline&#xff1a;\u5728 Jupyter Notebook \u4e2d\u4f7f matplotlib \u7684\u56fe\u8868\u5185\u5d4c\u663e\u793a\u3002<\/li>\n<li>numpy\u3001math\u3001random&#xff1a;\u7528\u4e8e\u6570\u5b66\u8fd0\u7b97\u548c\u968f\u673a\u6570\u751f\u6210\u3002<\/li>\n<li>pyJHTDB&#xff1a;\u7528\u4e8e\u8bbf\u95ee Johns Hopkins \u6e4d\u6d41\u6570\u636e\u5e93 (JHTDB) \u7684 Python \u5305\u3002<\/li>\n<li>matplotlib.pyplot&#xff1a;\u7528\u4e8e\u7ed8\u56fe\u3002<\/li>\n<li>time&#xff1a;\u7528\u4e8e\u8ba1\u65f6\u3002<\/li>\n<\/ul>\n<p>N &#061; 3<br \/>\nT &#061; pyJHTDB.dbinfo.channel5200[&#039;time&#039;][-1]<br \/>\ntime &#061; np.random.random()*T<\/p>\n<p>\u8bf4\u660e&#xff1a;<\/p>\n<ul>\n<li>N &#061; 3&#xff1a;\u5b9a\u4e49\u4e86\u8981\u67e5\u8be2\u7684\u70b9\u7684\u6570\u91cf\u3002<\/li>\n<li>T &#061; pyJHTDB.dbinfo.channel5200[&#039;time&#039;][-1]&#xff1a;\u83b7\u53d6 channel5200 \u6570\u636e\u96c6\u4e2d\u65f6\u95f4\u5e8f\u5217\u7684\u6700\u540e\u4e00\u4e2a\u65f6\u95f4\u70b9&#xff0c;\u8868\u793a\u6574\u4e2a\u65f6\u95f4\u8303\u56f4\u3002<\/li>\n<li>time &#061; np.random.random() * T&#xff1a;\u751f\u6210\u4e00\u4e2a\u968f\u673a\u7684\u65f6\u95f4 time&#xff0c;\u8303\u56f4\u4ece 0 \u5230 T\u3002<\/li>\n<\/ul>\n<p>spatialInterp  &#061; 6  # 6 \u62c9\u683c\u6717\u65e5\u70b9<br \/>\ntemporalInterp &#061; 0  # \u65e0\u65f6\u95f4\u63d2\u503c<br \/>\nFD4Lag4        &#061; 44 # 4 point Lagrange interp for derivatives<\/p>\n<ul>\n<li>spatialInterp &#061; 6&#xff1a;\u8bbe\u7f6e\u7a7a\u95f4\u63d2\u503c\u7c7b\u578b\u4e3a 6 \u70b9\u62c9\u683c\u6717\u65e5\u63d2\u503c\u3002<\/li>\n<li>temporalInterp &#061; 0&#xff1a;\u65f6\u95f4\u63d2\u503c\u8bbe\u4e3a\u65e0\u63d2\u503c\u3002<\/li>\n<li>FD4Lag4 &#061; 44&#xff1a;\u7528\u4e8e\u8ba1\u7b97\u5bfc\u6570\u7684 4 \u70b9\u62c9\u683c\u6717\u65e5\u63d2\u503c\u3002<\/li>\n<\/ul>\n<p>startTime &#061; time<br \/>\nendTime &#061; startTime &#043; 0.012<br \/>\nlag_dt &#061; 0.0004<\/p>\n<p>\u8bf4\u660e&#xff1a;<\/p>\n<ul>\n<li>startTime &#061; time&#xff1a;\u8bbe\u7f6e\u67e5\u8be2\u7684\u5f00\u59cb\u65f6\u95f4\u3002<\/li>\n<li>endTime &#061; startTime &#043; 0.012&#xff1a;\u8bbe\u7f6e\u67e5\u8be2\u7684\u7ed3\u675f\u65f6\u95f4&#xff0c;\u65f6\u95f4\u8303\u56f4\u4e3a 0.012 \u5355\u4f4d\u3002<\/li>\n<li>lag_dt &#061; 0.0004&#xff1a;\u8bbe\u7f6e\u65f6\u95f4\u6b65\u957f\u4e3a 0.0004\u3002<\/li>\n<\/ul>\n<p>lpoints &#061; []<br \/>\nfor i in range(0, N):<br \/>\n    lpoints.append([random.uniform(0, 8*3.14), random.uniform(-1, 1), random.uniform(0, 3*3.14)])<\/p>\n<p>\u8bf4\u660e&#xff1a;<\/p>\n<ul>\n<li>\u521d\u59cb\u5316 lpoints \u4e3a\u4e00\u4e2a\u7a7a\u5217\u8868\u3002<\/li>\n<li>\u4f7f\u7528\u5faa\u73af\u751f\u6210 N \u4e2a\u968f\u673a\u7684\u5750\u6807\u70b9&#xff0c;\u6bcf\u4e2a\u70b9\u662f\u4e00\u4e2a [x, y, z] \u7684\u4e09\u7ef4\u4f4d\u7f6e&#xff1a;\n<ul>\n<li>x \u8303\u56f4\u5728 0 \u5230 8\u03c0\u3002<\/li>\n<li>y \u8303\u56f4\u5728 -1 \u5230 1\u3002<\/li>\n<li>z \u8303\u56f4\u5728 0 \u5230 3\u03c0\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>points &#061; np.array(lpoints, dtype&#061;&#039;float32&#039;)<\/p>\n<p>lTDB &#061; pyJHTDB.libJHTDB()<br \/>\nlTDB.initialize()<\/p>\n<p>\u8bf4\u660e&#xff1a;<\/p>\n<ul>\n<li>\u5c06 lpoints \u8f6c\u6362\u4e3a\u5355\u7cbe\u5ea6\u6d6e\u70b9\u578b\u7684 NumPy \u6570\u7ec4 points&#xff0c;\u7528\u4e8e\u4e4b\u540e\u7684\u67e5\u8be2\u3002<\/li>\n<li>lTDB &#061; pyJHTDB.libJHTDB()&#xff1a;\u521b\u5efa libJHTDB \u7c7b\u7684\u5b9e\u4f8b lTDB&#xff0c;\u7528\u4e8e\u8bbf\u95ee JHTDB\u3002<\/li>\n<li>lTDB.initialize()&#xff1a;\u521d\u59cb\u5316 JHTDB \u670d\u52a1&#xff0c;\u51c6\u5907\u8fdb\u884c\u6570\u636e\u67e5\u8be2\u3002<\/li>\n<\/ul>\n<p>auth_token  &#061; &#034;edu.jhu.pha.turbulence.testing-201311&#034;  #Replace with your own token here<br \/>\nlTDB.add_token(auth_token)<\/p>\n<p>print(&#039;Coordinates of {0} points where variables are requested:&#039;.format(N))<br \/>\nfor p in range(N):<br \/>\n    print(&#039;{0}: {1}&#039;.format(p, points[p]))<br \/>\nprint(&#039;Data is requested at time {0}&#039;.format(time))<\/p>\n<p>\u8bf4\u660e&#xff1a;<\/p>\n<ul>\n<li>auth_token&#xff1a;\u8bbe\u7f6e\u6388\u6743\u4ee4\u724c&#xff0c;\u7528\u4e8e\u8bbf\u95ee JHTDB \u670d\u52a1\u3002<\/li>\n<li>\u5982\u4f55\u5c06auth_token\u66f4\u6362\u4e3a\u81ea\u5df1\u7684&#xff1f;&#xff1f;&#xff1f;<\/li>\n<li>lTDB.add_token(auth_token)&#xff1a;\u5c06\u6388\u6743\u4ee4\u724c\u6dfb\u52a0\u5230 lTDB \u5b9e\u4f8b&#xff0c;\u786e\u4fdd\u80fd\u591f\u8fdb\u884c\u67e5\u8be2<\/li>\n<li>\u6253\u5370\u51fa N \u4e2a\u70b9\u7684\u5750\u6807&#xff0c;\u663e\u793a\u6bcf\u4e2a\u70b9\u7684\u4f4d\u7f6e\u3002<\/li>\n<li>\u6253\u5370\u67e5\u8be2\u6570\u636e\u7684\u968f\u673a\u65f6\u95f4 time\u3002<\/li>\n<\/ul>\n<p>\u8fd9\u6bb5\u4ee3\u7801\u7684\u4f5c\u7528\u662f&#xff1a;<\/p>\n<ul>\n<li>\u5bfc\u5165\u5fc5\u8981\u7684\u5e93\u548c\u6a21\u5757\u3002<\/li>\n<li>\u751f\u6210 N \u4e2a\u968f\u673a\u7684\u4e09\u7ef4\u70b9&#xff0c;\u7528\u4e8e\u67e5\u8be2\u6e4d\u6d41\u6570\u636e\u5e93\u4e2d\u7684\u7269\u7406\u53d8\u91cf\u3002<\/li>\n<li>\u8bbe\u7f6e\u63d2\u503c\u548c\u67e5\u8be2\u53c2\u6570\u3002<\/li>\n<li>\u521d\u59cb\u5316\u548c\u6388\u6743 JHTDB \u670d\u52a1\u3002<\/li>\n<li>\u6253\u5370\u51fa\u67e5\u8be2\u7684\u5750\u6807\u548c\u65f6\u95f4&#xff0c;\u4ee5\u4fbf\u7528\u6237\u786e\u8ba4\u3002<\/li>\n<\/ul>\n<p>\u8fd9\u6bb5\u4ee3\u7801\u7528\u4e8e\u4ece JHTDB \u83b7\u53d6\u5728\u7279\u5b9a\u65f6\u95f4\u548c\u7a7a\u95f4\u4f4d\u7f6e\u4e0a\u7684\u6e4d\u6d41\u6570\u636e&#xff0c;\u63a5\u4e0b\u6765\u53ef\u4ee5\u8c03\u7528\u76f8\u5173\u65b9\u6cd5\u6765\u83b7\u53d6\u6570\u636e\u5e76\u8fdb\u884c\u5206\u6790\u3002<\/p>\n<\/p>\n<p>print(&#039;Requesting pressure at {0} points&#8230;&#039;.format(N))<br \/>\nresult &#061; lTDB.getData(time, points,data_set &#061; &#039;channel&#039;,<br \/>\n        sinterp &#061; spatialInterp, tinterp &#061; temporalInterp,<br \/>\n        getFunction &#061; &#039;getPressure&#039;)<br \/>\nfor p in range(N):<br \/>\n    print(&#039;{0}: {1}&#039;.format(p, result[p])) <\/p>\n<p><img decoding=\"async\" alt=\"e4d78517631a4917b9de1dd0a70176cd.png\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250423205615-680953eff3428.png\" \/><\/p>\n<p>\u8bf4\u660e&#xff1a;<\/p>\n<ul>\n<li>result \u53d8\u91cf\u63a5\u6536\u4ece JHTDB \u67e5\u8be2\u5f97\u5230\u7684\u6570\u636e\u3002<\/li>\n<li>lTDB.getData() \u662f libJHTDB \u7c7b\u4e2d\u7684\u65b9\u6cd5&#xff0c;\u7528\u4e8e\u4ece\u6570\u636e\u5e93\u4e2d\u83b7\u53d6\u7269\u7406\u91cf\u6570\u636e\u3002\u4ee5\u4e0b\u662f\u5404\u53c2\u6570\u7684\u542b\u4e49&#xff1a;\n<ul>\n<li>time&#xff1a;\u8bf7\u6c42\u6570\u636e\u7684\u65f6\u95f4\u3002<\/li>\n<li>points&#xff1a;\u4e00\u4e2a\u5305\u542b\u67e5\u8be2\u7a7a\u95f4\u4f4d\u7f6e\u7684\u6570\u7ec4&#xff0c;\u5373\u524d\u9762\u751f\u6210\u7684 N \u4e2a\u968f\u673a\u70b9\u3002<\/li>\n<li>data_set&#061;&#039;channel&#039;&#xff1a;\u6307\u5b9a\u4f7f\u7528\u7684\u6e4d\u6d41\u6570\u636e\u96c6&#xff0c;\u8fd9\u91cc\u662f channel \u6570\u636e\u96c6\u3002<\/li>\n<li>\u60f3\u83b7\u53d6\u522b\u7684\u6570\u636e\u96c6\u6570\u636e\u65f6\u5982\u4f55\u77e5\u9053\u522b\u7684\u6570\u636e\u96c6\u540d\u79f0&#xff1f;&#xff1f;&#xff1f;<\/li>\n<li>sinterp&#061;spatialInterp&#xff1a;\u6307\u5b9a\u7a7a\u95f4\u63d2\u503c\u65b9\u6cd5&#xff0c;\u8fd9\u91cc\u4f7f\u7528\u7684\u662f 6 \u70b9\u62c9\u683c\u6717\u65e5\u63d2\u503c\u3002<\/li>\n<li>tinterp&#061;temporalInterp&#xff1a;\u6307\u5b9a\u65f6\u95f4\u63d2\u503c\u65b9\u6cd5&#xff0c;\u8fd9\u91cc\u4e0d\u4f7f\u7528\u65f6\u95f4\u63d2\u503c\u3002<\/li>\n<li>\u63d2\u503c\u6cd5\u7684\u4f5c\u7528\u662f\u4ec0\u4e48&#xff1f;\u4e3a\u4ec0\u4e48\u8981\u63d2\u503c&#xff1f;&#xff1f;&#xff1f;<\/li>\n<li>getFunction&#061;&#039;getVelocity&#039;&#xff1a;\u6307\u5b9a\u8981\u83b7\u53d6\u7684\u6570\u636e\u662f\u901f\u5ea6\u4fe1\u606f\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li>\u904d\u5386 result \u6570\u7ec4\u5e76\u6253\u5370\u6bcf\u4e2a\u70b9\u7684\u7ed3\u679c\u3002<\/li>\n<li>&#039;{0}: {1}&#039;.format(p, result[p]) \u683c\u5f0f\u5316\u8f93\u51fa&#xff0c;\u663e\u793a\u70b9\u7684\u7d22\u5f15\u548c\u5bf9\u5e94\u7684\u901f\u5ea6\u503c\u3002<\/li>\n<\/ul>\n<h4>\u603b\u7ed3<\/h4>\n<p>\u8fd9\u6bb5\u4ee3\u7801\u7684\u4f5c\u7528\u662f&#xff1a;<\/p>\n<ul>\n<li>\u4ece JHTDB \u8bf7\u6c42\u7279\u5b9a\u65f6\u95f4\u548c\u7a7a\u95f4\u4f4d\u7f6e\u7684\u901f\u5ea6\u6570\u636e\u3002<\/li>\n<li>\u4f7f\u7528 getData() \u65b9\u6cd5\u8fdb\u884c\u67e5\u8be2\u3002<\/li>\n<li>\u8f93\u51fa\u6bcf\u4e2a\u67e5\u8be2\u70b9\u7684\u901f\u5ea6\u7ed3\u679c&#xff0c;\u65b9\u4fbf\u7528\u6237\u67e5\u770b\u548c\u9a8c\u8bc1\u3002<\/li>\n<\/ul>\n<p>print(&#039;Requesting pressure at {0} points&#8230;&#039;.format(N))<br \/>\nresult &#061; lTDB.getData(time, points,data_set &#061; &#039;channel&#039;,<br \/>\n        sinterp &#061; spatialInterp, tinterp &#061; temporalInterp,<br \/>\n        getFunction &#061; &#039;getPressure&#039;)<br \/>\nfor p in range(N):<br \/>\n    print(&#039;{0}: {1}&#039;.format(p, result[p])) <\/p>\n<p>\u00a0\u540c\u7406&#xff0c;\u8fd9\u6bb5\u4ee3\u7801\u83b7\u53d6\u7684\u538b\u529b\u503c<\/p>\n<p><img decoding=\"async\" alt=\"4d02bf3744554b95b29b6ee30bf98ba1.png\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250423205616-680953f029193.png\" \/><\/p>\n<p>print(&#039;Requesting velocity and pressure at {0} points&#8230;&#039;.format(N))<br \/>\nresult &#061; lTDB.getData(time, points,data_set &#061; &#039;channel&#039;,<br \/>\n        sinterp &#061; spatialInterp, tinterp &#061; temporalInterp,<br \/>\n        getFunction &#061; &#039;getVelocityAndPressure&#039;)<br \/>\nfor p in range(N):<br \/>\n    print(&#039;{0}: {1}&#039;.format(p, result[p])) <\/p>\n<p>\u8fd9\u6bb5\u4ee3\u7801\u83b7\u53d6\u7684\u901f\u5ea6\u548c\u538b\u529b\u503c\u00a0<\/p>\n<p><img decoding=\"async\" alt=\"92dc96c2e8964b8e94316bc149c35868.png\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250423205616-680953f052778.png\" \/><\/p>\n<\/p>\n<p>print(&#039;Requesting velocity gradient at {0} points&#8230;&#039;.format(N))<br \/>\nresult &#061; lTDB.getData(time, points,<br \/>\n        sinterp &#061; FD4Lag4, tinterp &#061; temporalInterp,data_set &#061;&#039;channel&#039;,<br \/>\n        getFunction &#061; &#039;getVelocityGradient&#039;)<br \/>\nfor p in range(N):<br \/>\n    print(&#039;{0}: &#039;.format(p) &#043;<br \/>\n          &#039;duxdx &#061; {0:&#043;e}, duxdy &#061; {1:&#043;e}, duxdz &#061; {2:&#043;e}\\\\n   &#039;.format(result[p][0], result[p][1], result[p][2]) &#043;<br \/>\n          &#039;duydx &#061; {0:&#043;e}, duydy &#061; {1:&#043;e}, duydz &#061; {2:&#043;e}\\\\n   &#039;.format(result[p][3], result[p][4], result[p][5]) &#043;<br \/>\n          &#039;duzdx &#061; {0:&#043;e}, duzdy &#061; {1:&#043;e}, duzdz &#061; {2:&#043;e}&#039;.format(result[p][6], result[p][7], result[p][8])) <\/p>\n<p><img decoding=\"async\" alt=\"2f5d9823edc14ee295099c5dbfa6309f.png\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250423205616-680953f08511b.png\" \/><\/p>\n<p>\u8bf4\u660e&#xff1a;<\/p>\n<ul>\n<li>\u8c03\u7528 lTDB.getData() \u51fd\u6570\u6765\u83b7\u53d6\u901f\u5ea6\u68af\u5ea6\u6570\u636e\u3002\n<ul>\n<li>getFunction&#061;&#039;getVelocityGradient&#039;&#xff1a;\u8868\u793a\u8981\u83b7\u53d6\u901f\u5ea6\u68af\u5ea6\u4fe1\u606f\u3002<\/li>\n<li>\u904d\u5386 result \u6570\u7ec4&#xff0c;\u5e76\u683c\u5f0f\u5316\u8f93\u51fa\u6bcf\u4e2a\u70b9\u7684\u901f\u5ea6\u68af\u5ea6\u3002<\/li>\n<li>result[p] \u5305\u542b\u5f53\u524d\u70b9\u7684\u901f\u5ea6\u68af\u5ea6&#xff0c;\u6392\u5217\u65b9\u5f0f\u4e3a [duxdx, duxdy, duxdz, duydx, duydy, duydz, duzdx, duzdy, duzdz]&#xff0c;\u5206\u522b\u8868\u793a\u901f\u5ea6\u5206\u91cf u\u3001v\u3001w \u5728 x\u3001y\u3001z\u65b9\u5411\u4e0a\u7684\u504f\u5bfc\u6570\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><img decoding=\"async\" alt=\"4641833fdb814aa7a4e0640d435ac014.png\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250423205616-680953f0c12ae.png\" \/><\/p>\n<\/p>\n<p>print(&#039;Requesting velocity hessian at {0} points&#8230;&#039;.format(N))<br \/>\nresult &#061; lTDB.getData(time, points,data_set &#061; &#039;channel&#039;,sinterp &#061; FD4Lag4, tinterp &#061; temporalInterp,<br \/>\n                      getFunction &#061; &#039;getVelocityHessian&#039;)<\/p>\n<p>for p in range(N):<br \/>\n        print(&#039;{0}: &#039;.format(p) &#043;<br \/>\n              &#039;d2uxdxdx &#061; {0:&#043;e}, d2uxdxdy &#061; {1:&#043;e}, d2uxdxdz &#061; {2:&#043;e}\\\\n   &#039;.format(result[p][ 0], result[p][ 1], result[p][ 2])<br \/>\n            &#043; &#039;d2uxdydy &#061; {0:&#043;e}, d2uxdydz &#061; {1:&#043;e}, d2uxdzdz &#061; {2:&#043;e}\\\\n   &#039;.format(result[p][ 3], result[p][ 4], result[p][ 5])<br \/>\n            &#043; &#039;d2uydxdx &#061; {0:&#043;e}, d2uydxdy &#061; {1:&#043;e}, d2uydxdz &#061; {2:&#043;e}\\\\n   &#039;.format(result[p][ 6], result[p][ 7], result[p][ 8])<br \/>\n            &#043; &#039;d2uydydy &#061; {0:&#043;e}, d2uydydz &#061; {1:&#043;e}, d2uydzdz &#061; {2:&#043;e}\\\\n   &#039;.format(result[p][ 9], result[p][10], result[p][11])<br \/>\n            &#043; &#039;d2uzdxdx &#061; {0:&#043;e}, d2uzdxdy &#061; {1:&#043;e}, d2uzdxdz &#061; {2:&#043;e}\\\\n   &#039;.format(result[p][12], result[p][13], result[p][14])<br \/>\n            &#043; &#039;d2uzdydy &#061; {0:&#043;e}, d2uzdydz &#061; {1:&#043;e}, d2uzdzdz &#061; {2:&#043;e}&#039;.format(result[p][15], result[p][16], result[p][17])) <\/p>\n<p>\u83b7\u53d6\u901f\u5ea6\u7684\u4e8c\u9636\u5bfc\u6570<\/p>\n<p><img decoding=\"async\" alt=\"5ce08a0ccf0646e0a1ba7f073530b7d6.png\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250423205617-680953f1303ae.png\" \/><\/p>\n<p>\u8bf4\u660e&#xff1a;<\/p>\n<ul>\n<li>result \u53d8\u91cf\u63a5\u6536\u4ece JHTDB \u67e5\u8be2\u5f97\u5230\u7684\u901f\u5ea6 Hessian \u6570\u636e\u3002<\/li>\n<li>lTDB.getData() \u65b9\u6cd5\u7528\u4e8e\u4ece\u6570\u636e\u5e93\u4e2d\u83b7\u53d6\u6570\u636e&#xff0c;\u53c2\u6570\u542b\u4e49\u5982\u4e0b&#xff1a;\n<ul>\n<li>time&#xff1a;\u8bf7\u6c42\u6570\u636e\u7684\u65f6\u95f4\u3002<\/li>\n<li>points&#xff1a;\u4e00\u4e2a\u5305\u542b\u67e5\u8be2\u7a7a\u95f4\u4f4d\u7f6e\u7684\u6570\u7ec4&#xff0c;\u5373\u4f60\u4e4b\u524d\u751f\u6210\u7684\u968f\u673a\u70b9\u3002<\/li>\n<li>data_set&#061;&#039;channel&#039;&#xff1a;\u6307\u5b9a\u6570\u636e\u96c6&#xff0c;\u8fd9\u91cc\u4f7f\u7528\u7684\u662f channel \u6570\u636e\u96c6\u3002<\/li>\n<li>sinterp&#061;FD4Lag4&#xff1a;\u4f7f\u7528 4 \u70b9\u62c9\u683c\u6717\u65e5\u63d2\u503c&#xff08;FD4Lag4&#xff09;\u8ba1\u7b97\u5bfc\u6570&#xff0c;\u7528\u4e8e\u8ba1\u7b97 Hessian\u3002<\/li>\n<li>tinterp&#061;temporalInterp&#xff1a;\u6307\u5b9a\u65f6\u95f4\u63d2\u503c\u65b9\u6cd5&#xff0c;\u8fd9\u91cc\u4e0d\u4f7f\u7528\u65f6\u95f4\u63d2\u503c&#xff08;\u8bbe\u4e3a 0&#xff09;\u3002<\/li>\n<li>getFunction&#061;&#039;getVelocityHessian&#039;&#xff1a;\u6307\u5b9a\u8981\u83b7\u53d6\u7684\u6570\u636e\u662f\u901f\u5ea6 Hessian\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><img decoding=\"async\" alt=\"0aff9d10ed4d47d795aa3df71010c627.png\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250423205617-680953f18ce0c.png\" \/><\/p>\n<p>print(&#039;Requesting velocity laplacian at {0} points&#8230;&#039;.format(N))<br \/>\nresult &#061; lTDB.getData(time, points,<br \/>\n        sinterp &#061; FD4Lag4, tinterp &#061; temporalInterp, data_set &#061; &#039;channel&#039;,<br \/>\n        getFunction &#061; &#039;getVelocityLaplacian&#039;)<br \/>\nfor p in range(N):<br \/>\n    print(&#039;{0}: &#039;.format(p) &#043;<br \/>\n          &#039;grad2ux &#061; {0:&#043;e}, grad2uy &#061; {1:&#043;e}, grad2uz &#061; {2:&#043;e}, &#039;.format(result[p][0], result[p][1], result[p][2])) <\/p>\n<p>\u00a0<img decoding=\"async\" alt=\"81052262ee764bb39d2d1377c20e4bb0.png\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250423205618-680953f2249c9.png\" \/><\/p>\n<p> <img decoding=\"async\" alt=\"850e1b551265488598d5df5edb5e86a5.png\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250423205618-680953f256ec9.png\" \/> <\/p>\n<p>\u6807\u8f93\u51fa\u7ed3\u679c\u89e3\u91ca<\/p>\n<\/p>\n<p><img decoding=\"async\" alt=\"8077317075e34ba1b4ffa3f1347d0e02.png\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250423205618-680953f27d04d.png\" \/>\u00a0<img decoding=\"async\" alt=\"da388be9b2eb4cbd899600007441ea9b.png\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250423205618-680953f2c4a7e.png\" \/><\/p>\n<p>print(&#039;Requesting pressure hessian at {0} points&#8230;&#039;.format(N))<br \/>\nresult &#061; lTDB.getData(time, points,<br \/>\n        sinterp &#061; FD4Lag4, tinterp &#061; temporalInterp, data_set &#061; &#039;channel&#039;,<br \/>\n        getFunction &#061; &#039;getPressureHessian&#039;)<br \/>\nfor p in range(N):<br \/>\n    print(&#039;{0}: &#039;.format(p) &#043;<br \/>\n          &#039;d2pdxdx &#061; {0:&#043;e}, d2pdxdy &#061; {1:&#043;e}, d2pdxdz &#061; {2:&#043;e}\\\\n   &#039;.format(result[p][0], result[p][1], result[p][2])<br \/>\n        &#043; &#039;d2pdydy &#061; {0:&#043;e}, d2pdydz &#061; {1:&#043;e}, d2pdzdz &#061; {2:&#043;e}&#039;.format(result[p][3], result[p][4], result[p][5]))<br \/>\nprint(&#039;Requesting pressure hessian at {0} points&#8230;&#039;.format(N))<br \/>\nresult &#061; lTDB.getData(time, points,<br \/>\n        sinterp &#061; FD4Lag4, tinterp &#061; temporalInterp, data_set &#061; &#039;channel&#039;,<br \/>\n        getFunction &#061; &#039;getInvariant&#039;)<br \/>\nfor p in range(N):<br \/>\n    print(&#039;{0}: &#039;.format(p) &#043;<br \/>\n          &#039;S2 &#061; {0:&#043;e}, O2 &#061; {1:&#043;e}&#039;.format(result[p][0], result[p][1])) <\/p>\n<p><img decoding=\"async\" alt=\"000af9659b7d4bac8bbf186b3d4908cc.png\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250423205619-680953f303685.png\" \/><\/p>\n<p>\u8bf4\u660e&#xff1a;<\/p>\n<ul>\n<li>\u4ece\u6570\u636e\u5e93\u4e2d\u83b7\u53d6\u6307\u5b9a\u65f6\u95f4\u548c\u4f4d\u7f6e\u7684\u538b\u529b Hessian\u3002<\/li>\n<li>getFunction&#061;&#039;getPressureHessian&#039; \u6307\u5b9a\u8bf7\u6c42\u7684\u662f\u538b\u529b\u7684 Hessian \u6570\u636e\u3002<\/li>\n<\/ul>\n<p>\u8fd4\u56de\u6570\u636e\u7ed3\u6784&#xff1a;<\/p>\n<ul>\n<li>result[p] \u5305\u542b\u6bcf\u4e2a\u67e5\u8be2\u70b9\u7684 6 \u4e2a\u5206\u91cf&#xff0c;\u5bf9\u5e94 Hessian \u77e9\u9635\u4e2d\u4e0d\u91cd\u590d\u7684\u4e0a\u4e09\u89d2\u90e8\u5206\u3002<\/li>\n<li>\u6253\u5370\u6bcf\u4e2a\u70b9\u7684\u538b\u529b Hessian \u5206\u91cf\u3002<\/li>\n<li>result[p][0] \u8868\u793a \u22022p\u2202x2\\\\frac{\\\\partial^2 p}{\\\\partial x^2}\u2202x2\u22022p\u200b&#xff0c;\u4f9d\u6b21\u7c7b\u63a8\u3002<\/li>\n<li>\u4f7f\u7528\u79d1\u5b66\u8ba1\u6570\u6cd5\u683c\u5f0f\u5316\u8f93\u51fa&#xff0c;\u4f7f\u7ed3\u679c\u66f4\u6e05\u6670\u3002<\/li>\n<\/ul>\n<p><img decoding=\"async\" alt=\"a997eeaf0fe04c4db4e94ce1d2037161.png\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250423205619-680953f346088.png\" \/><\/p>\n<p><img decoding=\"async\" alt=\"86868330dc654ebe98bcf3881f95a872.png\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250423205619-680953f3982f0.png\" \/><\/p>\n<p>result &#061; lTDB.getThreshold(<br \/>\n            data_set &#061; &#039;channel&#039;,<br \/>\n            field &#061; &#039;vorticity&#039;,<br \/>\n            time &#061; 0,<br \/>\n            threshold &#061; 65,<br \/>\n            x_start &#061; 1, y_start &#061; 1, z_start &#061; 1,<br \/>\n            x_end &#061; 4, y_end &#061; 4, z_end &#061; 4,<br \/>\n            sinterp &#061; 40,<br \/>\n            tinterp &#061; 0)<br \/>\nfor p in range(result.shape[0]):<br \/>\n    print(&#039;{0}: &#039;.format(p)<br \/>\n        &#043; &#039;i_x &#061; {0}, i_y &#061; {1}, i_z &#061; {2}, value &#061; {3} &#039;.format(result[p][0], result[p][1], result[p][2],result[p][3])) <\/p>\n<p><img decoding=\"async\" alt=\"886879b6217c483c9d3fa6f6b5dc41af.png\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250423205619-680953f3e7266.png\" \/><\/p>\n<p>\u9010\u53e5\u5206\u6790<\/p>\n<li>\n<p>result &#061; lTDB.getThreshold(&#8230;):<\/p>\n<ul>\n<li>\u4f7f\u7528 getThreshold \u65b9\u6cd5&#xff0c;\u4ece\u6307\u5b9a\u7684 data_set&#xff08;\u6b64\u5904\u662f &#039;channel&#039;&#xff09;\u4e2d\u83b7\u53d6\u6ee1\u8db3\u7279\u5b9a\u9608\u503c\u6761\u4ef6\u7684\u6da1\u91cf\u573a&#xff08;&#039;vorticity&#039;&#xff09;\u6570\u636e\u70b9\u3002<\/li>\n<li>\u53c2\u6570 time &#061; 0 \u6307\u5b9a\u5728\u65f6\u95f4 t&#061;0 \u65f6\u523b\u83b7\u53d6\u6570\u636e\u3002<\/li>\n<li>\u53c2\u6570 threshold &#061; 65 \u8868\u793a\u63d0\u53d6\u6da1\u91cf\u503c\u5927\u4e8e\u6216\u7b49\u4e8e 65 \u7684\u70b9\u3002<\/li>\n<li>x_start, y_start, z_start \u548c x_end, y_end, z_end \u5b9a\u4e49\u4e86\u8981\u67e5\u8be2\u7684\u7acb\u65b9\u4f53\u533a\u57df\u5728\u7f51\u683c\u4e2d\u7684\u8d77\u59cb\u548c\u7ed3\u675f\u7d22\u5f15\u8303\u56f4\u3002<\/li>\n<li>sinterp &#061; 40 \u8868\u793a\u7528\u4e8e\u7a7a\u95f4\u63d2\u503c\u7684\u65b9\u6cd5\u3002<\/li>\n<li>tinterp &#061; 0 \u8868\u793a\u6ca1\u6709\u65f6\u95f4\u63d2\u503c\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>for p in range(result.shape[0])::<\/p>\n<ul>\n<li>\u904d\u5386 result \u6570\u7ec4\u7684\u6bcf\u4e2a\u6570\u636e\u70b9\u3002result \u4e2d\u7684\u6bcf\u4e2a\u5143\u7d20\u5bf9\u5e94\u4e00\u4e2a\u6ee1\u8db3\u9608\u503c\u6761\u4ef6\u7684\u70b9\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>print(&#8230;):<\/p>\n<ul>\n<li>\u6253\u5370\u6bcf\u4e2a\u6ee1\u8db3\u6761\u4ef6\u7684\u70b9\u7684\u7d22\u5f15\u548c\u6da1\u91cf\u503c\u3002<\/li>\n<li>i_x, i_y, i_z \u8868\u793a\u8be5\u70b9\u5728\u7f51\u683c\u4e2d\u7684\u7d22\u5f15\u4f4d\u7f6e\u3002<\/li>\n<li>value \u8868\u793a\u8be5\u70b9\u7684\u6da1\u91cf\u503c\u3002<\/li>\n<\/ul>\n<\/li>\n<h4>\u89e3\u91ca\u7528\u9014<\/h4>\n<ul>\n<li>\u5bfb\u627e\u9ad8\u6da1\u91cf\u533a\u57df&#xff1a;\u6b64\u65b9\u6cd5\u6709\u52a9\u4e8e\u5728\u6d41\u573a\u4e2d\u5b9a\u4f4d\u5177\u6709\u5f3a\u65cb\u8f6c\u8fd0\u52a8&#xff08;\u9ad8\u6da1\u91cf&#xff09;\u7684\u533a\u57df&#xff0c;\u8fd9\u4e9b\u533a\u57df\u901a\u5e38\u4e0e\u6e4d\u6d41\u7ed3\u6784\u76f8\u5173\u8054&#xff0c;\u5982\u6da1\u6838\u6216\u5f3a\u65cb\u6da1\u3002<\/li>\n<li>\u7814\u7a76\u6e4d\u6d41\u7ed3\u6784&#xff1a;\u63d0\u53d6\u548c\u5206\u6790\u9ad8\u6da1\u91cf\u70b9\u53ef\u4ee5\u5e2e\u52a9\u7814\u7a76\u4eba\u5458\u66f4\u597d\u5730\u7406\u89e3\u6e4d\u6d41\u7684\u7279\u5f81&#xff0c;\u5982\u65cb\u6da1\u751f\u6210\u548c\u6d88\u6563\u7684\u673a\u5236\u3002<\/li>\n<li>\n<h4>\u4e3e\u4f8b\u8bf4\u660e<\/h4>\n<p>\u5047\u8bbe\u4f60\u5728\u4e00\u4e2a\u6d41\u52a8\u5b9e\u9a8c\u4e2d\u60f3\u627e\u5230\u6240\u6709\u5177\u6709\u8f83\u9ad8\u65cb\u8f6c\u901f\u7387\u7684\u70b9&#xff0c;\u6bd4\u5982\u6a21\u62df\u4e2d\u80fd\u91cf\u8f83\u96c6\u4e2d\u7684\u65cb\u6da1\u7ed3\u6784&#xff0c;\u8fd9\u6bb5\u4ee3\u7801\u4f1a\u5e2e\u4f60\u5728\u6307\u5b9a\u7684\u7acb\u65b9\u4f53\u533a\u57df\u5185\u627e\u5230\u6da1\u91cf\u5927\u4e8e\u7b49\u4e8e 65 \u7684\u70b9&#xff0c;\u5e76\u8fd4\u56de\u8fd9\u4e9b\u70b9\u7684\u7f51\u683c\u4f4d\u7f6e\u548c\u6da1\u91cf\u503c\u3002<\/p>\n<\/li>\n<\/ul>\n<p>start &#061; tt.time()<br \/>\nresult &#061; lTDB.getCutout(<br \/>\n    data_set &#061; &#039;channel&#039;,<br \/>\n    field&#061;&#039;u&#039;,<br \/>\n    time_step&#061;int(1),<br \/>\n    start &#061; np.array([1, 1, 1], dtype &#061; int),<br \/>\n    end  &#061; np.array([512, 512, 1], dtype &#061; int),<br \/>\n    step  &#061; np.array([1, 1, 1], dtype &#061; int),<br \/>\n    filter_width &#061; 1)<br \/>\n#print(result)<br \/>\nend &#061; tt.time()<br \/>\nprint(end &#8211; start) <\/p>\n<p>\u00a0&#xff08;<span style=\"color:#fe2c24\">\u8fd9\u91cc\u4f7f\u7528\u00a0np.array([512, 512, 1]&#xff0c;\u670d\u52a1\u5668\u4f1a\u5d29&#xff0c;\u4e0d\u77e5\u9053\u4e3a\u4ec0\u4e48&#xff0c;100\u90fd\u4e0d\u884c&#xff1f;&#xff1f;&#xff1f;\u95ee\u9898\u5df2\u89e3\u51b3&#xff1a;\u7531\u4e8etoken\u7528\u7684\u6d4b\u8bd5token&#xff08;\u53ea\u80fd\u63d0\u53d6\u5c0f\u5207\u7247&#xff09;&#xff0c;\u9700\u8981\u4e3b\u52a8\u7533\u8bf7\u4e00\u4e2atoken<\/span>&#xff09;<\/p>\n<p>\u8fd9\u6bb5\u4ee3\u7801\u7684\u4f5c\u7528\u662f\u4ece\u6307\u5b9a\u7684\u6e4d\u6d41\u6570\u636e\u96c6\u4e2d\u63d0\u53d6\u7279\u5b9a\u533a\u57df\u7684\u901f\u5ea6\u573a\u6570\u636e&#xff08;field&#061;&#039;u&#039; \u8868\u793a\u83b7\u53d6\u901f\u5ea6\u573a\u7684 u \u5206\u91cf&#xff09;\u3002\u4e0b\u9762\u662f\u8be6\u7ec6\u7684\u9010\u53e5\u5206\u6790\u548c\u89e3\u91ca&#xff1a;<\/p>\n<h4>\u9010\u53e5\u5206\u6790<\/h4>\n<li>\n<p>start &#061; tt.time():<\/p>\n<ul>\n<li>\u8bb0\u5f55\u5f53\u524d\u65f6\u95f4\u6233&#xff0c;\u4ee5\u6d4b\u91cf\u83b7\u53d6\u6570\u636e\u6240\u9700\u7684\u65f6\u95f4\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>result &#061; lTDB.getCutout(&#8230;):<\/p>\n<ul>\n<li>\u4f7f\u7528 getCutout \u65b9\u6cd5\u4ece channel \u6570\u636e\u96c6\u4e2d\u63d0\u53d6\u6307\u5b9a\u7684\u5207\u7247\u6570\u636e\u3002<\/li>\n<li>\u53c2\u6570\u8bf4\u660e&#xff1a;\n<ul>\n<li>data_set &#061; &#039;channel&#039;&#xff1a;\u6307\u5b9a\u4ece\u901a\u9053\u6e4d\u6d41\u6570\u636e\u96c6\u4e2d\u83b7\u53d6\u6570\u636e\u3002<\/li>\n<li>field&#061;&#039;u&#039;&#xff1a;\u9009\u62e9\u63d0\u53d6\u7684\u573a\u4e3a\u901f\u5ea6\u7684 uuu \u5206\u91cf&#xff08;\u901a\u5e38\u4ee3\u8868\u6d41\u52a8\u7684 x \u65b9\u5411\u5206\u91cf&#xff09;\u3002<\/li>\n<li>time_step&#061;int(1)&#xff1a;\u9009\u62e9\u65f6\u95f4\u6b65\u4e3a 1\u3002<\/li>\n<li>start &#061; np.array([1, 1, 1], dtype &#061; int)&#xff1a;\u8d77\u59cb\u4f4d\u7f6e&#xff0c;\u8868\u793a\u4ece\u7f51\u683c\u4e2d\u7684\u7b2c\u4e00\u4e2a\u70b9&#xff08;x&#061;1, y&#061;1, z&#061;1&#xff09;\u5f00\u59cb\u3002<\/li>\n<li>end &#061; np.array([512, 512, 1], dtype &#061; int)&#xff1a;\u7ed3\u675f\u4f4d\u7f6e&#xff0c;\u8868\u793a\u5728 x \u548c y \u65b9\u5411\u6269\u5c55\u5230 512&#xff0c;z \u65b9\u5411\u53ea\u53d6\u4e00\u4e2a\u5e73\u9762\u3002<\/li>\n<li>step &#061; np.array([1, 1, 1], dtype &#061; int)&#xff1a;\u6b65\u957f\u4e3a 1&#xff0c;\u610f\u5473\u7740\u5728\u6bcf\u4e2a\u65b9\u5411\u4e0a\u63d0\u53d6\u8fde\u7eed\u6570\u636e\u70b9\u3002<\/li>\n<li>filter_width &#061; 1&#xff1a;\u8868\u793a\u7528\u4e8e\u6570\u636e\u63d0\u53d6\u7684\u8fc7\u6ee4\u5668\u5bbd\u5ea6\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>#print(result):<\/p>\n<ul>\n<li>\u8fd9\u884c\u88ab\u6ce8\u91ca\u6389\u4e86&#xff0c;\u901a\u5e38\u7528\u4e8e\u67e5\u770b\u7ed3\u679c\u6570\u7ec4\u7684\u5185\u5bb9\u3002\u53ef\u4ee5\u53d6\u6d88\u6ce8\u91ca\u4ee5\u8c03\u8bd5\u6216\u67e5\u770b\u6570\u636e\u63d0\u53d6\u7ed3\u679c\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>end &#061; tt.time():<\/p>\n<ul>\n<li>\u8bb0\u5f55\u6570\u636e\u63d0\u53d6\u5b8c\u6210\u540e\u7684\u65f6\u95f4\u6233\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>print(end &#8211; start):<\/p>\n<ul>\n<li>\u6253\u5370\u63d0\u53d6\u6570\u636e\u6240\u82b1\u8d39\u7684\u603b\u65f6\u95f4&#xff0c;\u4ee5\u79d2\u4e3a\u5355\u4f4d\u3002\u8fd9\u6709\u52a9\u4e8e\u8bc4\u4f30\u4ece\u6570\u636e\u5e93\u63d0\u53d6\u6570\u636e\u7684\u6548\u7387\u3002<\/li>\n<\/ul>\n<\/li>\n<h4>\u89e3\u91ca\u7528\u9014<\/h4>\n<p>\u8fd9\u6bb5\u4ee3\u7801\u65e8\u5728\u4ece\u6e4d\u6d41\u6570\u636e\u5e93\u4e2d\u63d0\u53d6\u4e00\u4e2a\u5e73\u9762\u5207\u7247\u7684\u6570\u636e&#xff08;\u5728 z&#061;1 \u4f4d\u7f6e\u4e0a\u3001\u6574\u4e2a x \u548c y \u5e73\u9762\u7684 uuu \u5206\u91cf&#xff09;\u3002\u63d0\u53d6\u8fd9\u6837\u7684\u5207\u7247\u6570\u636e\u53ef\u4ee5\u7528\u4e8e\u53ef\u89c6\u5316\u6d41\u573a\u7684\u67d0\u4e00\u5c42&#xff0c;\u6216\u8005\u8fdb\u4e00\u6b65\u7684\u6d41\u52a8\u5206\u6790&#xff0c;\u4f8b\u5982\u6da1\u7ed3\u6784\u68c0\u6d4b\u6216\u901f\u5ea6\u5206\u5e03\u7814\u7a76\u3002<\/p>\n<h4>\u793a\u4f8b\u7528\u9014<\/h4>\n<p>\u4f8b\u5982&#xff0c;\u4f60\u60f3\u89c2\u5bdf\u6e4d\u6d41\u901a\u9053\u4e2d\u67d0\u4e00\u4e2a\u7279\u5b9a\u5e73\u9762\u4e0a\u7684\u901f\u5ea6\u5206\u5e03&#xff0c;\u6216\u8005\u8fdb\u884c\u4e8c\u7ef4\u7684\u6d41\u52a8\u5206\u6790&#xff08;\u5982\u6d41\u7ebf\u56fe\u6216\u901f\u5ea6\u56fe&#xff09;&#xff0c;\u8fd9\u6bb5\u4ee3\u7801\u4f1a\u5e2e\u52a9\u4f60\u5feb\u901f\u63d0\u53d6\u6240\u9700\u7684\u6570\u636e\u5207\u7247\u8fdb\u884c\u5206\u6790\u3002<\/p>\n<p>print(result.shape)<br \/>\nfig &#061; plt.figure(figsize &#061; (20, 40))<br \/>\na &#061; fig.add_subplot(121)<br \/>\n#a.set_axis_off()<br \/>\na.imshow(result[0,:,:,0],<br \/>\n         extent &#061; [0, 3.14, 0, 2],<br \/>\n         interpolation &#061; &#039;none&#039;) <\/p>\n<p><img decoding=\"async\" alt=\"dc30f3783ab046528aa8224f99fe923f.png\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250423205620-680953f41dce4.png\" \/><\/p>\n<\/p>\n<p>x, t &#061; lTDB.getPosition(<br \/>\n    starttime &#061; 0.1,<br \/>\n    endtime &#061; 0.2,<br \/>\n    dt &#061; 0.01,<br \/>\n    data_set &#061; &#039;channel&#039;,<br \/>\n    point_coords &#061; points[0:1,:],<br \/>\n    steps_to_keep &#061; 10)<br \/>\nprint(x) <\/p>\n<p>\u8fd9\u6bb5\u4ee3\u7801\u7684\u4f5c\u7528\u662f\u53ef\u89c6\u5316\u4ece\u6e4d\u6d41\u6570\u636e\u5e93\u4e2d\u63d0\u53d6\u7684\u901f\u5ea6\u573a\u6570\u636e\u3002\u4e0b\u9762\u662f\u9010\u53e5\u5206\u6790\u548c\u89e3\u91ca&#xff1a;<\/p>\n<h4>\u9010\u53e5\u5206\u6790<\/h4>\n<li>\n<p>print(result.shape):<\/p>\n<ul>\n<li>\u6253\u5370\u63d0\u53d6\u7ed3\u679c result \u7684\u5f62\u72b6&#xff0c;\u7528\u4e8e\u786e\u8ba4\u6570\u636e\u7684\u7ef4\u5ea6\u548c\u5927\u5c0f\u3002\u8f93\u51fa\u7684\u5f62\u72b6\u4f1a\u544a\u8bc9\u4f60\u6570\u636e\u5728 x\u3001y\u3001z\u65b9\u5411\u4e0a\u7684\u91c7\u6837\u70b9\u6570\u53ca\u5176\u7ed3\u6784\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>fig &#061; plt.figure(figsize &#061; (20, 40)):<\/p>\n<ul>\n<li>\u521b\u5efa\u4e00\u4e2a Matplotlib \u56fe\u5f62\u5bf9\u8c61 fig&#xff0c;\u8bbe\u7f6e\u56fe\u5f62\u7684\u5927\u5c0f\u4e3a 20 \u00d7 40 \u82f1\u5bf8\u3002\u8f83\u5927\u7684\u5c3a\u5bf8\u901a\u5e38\u7528\u4e8e\u9ad8\u5206\u8fa8\u7387\u7684\u663e\u793a\u6216\u6253\u5370\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>a &#061; fig.add_subplot(121):<\/p>\n<ul>\n<li>\u6dfb\u52a0\u4e00\u4e2a\u5b50\u56fe a \u5230\u56fe\u5f62 fig \u4e2d\u3002121 \u8868\u793a\u56fe\u50cf\u5e03\u5c40\u4e3a 1 \u884c 2 \u5217&#xff0c;\u5e76\u9009\u62e9\u7b2c 1 \u4e2a\u5b50\u56fe\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>a.imshow(result[0,:,:,0], extent &#061; [0, 3.14, 0, 2], interpolation &#061; &#039;none&#039;):<\/p>\n<ul>\n<li>\u4f7f\u7528 imshow \u65b9\u6cd5\u5728\u5b50\u56fe a \u4e0a\u663e\u793a\u6570\u636e\u5207\u7247\u3002\n<ul>\n<li>result[0,:,:,0]&#xff1a;\u63d0\u53d6 result \u4e2d z&#061;1 \u5904\u7684 uuu \u5206\u91cf&#xff08;\u6574\u4e2a x \u548c y \u5e73\u9762\u4e0a\u7684\u6570\u636e&#xff09;\u3002<\/li>\n<li>extent &#061; [0, 3.14, 0, 2]&#xff1a;\u6307\u5b9a\u663e\u793a\u8303\u56f4&#xff0c;\u5c06 x \u8f74\u8303\u56f4\u6620\u5c04\u5230 [0, 3.14]&#xff0c;y \u8f74\u8303\u56f4\u6620\u5c04\u5230 [0, 2]\u3002\u8fd9\u4e9b\u503c\u901a\u5e38\u6839\u636e\u5b9e\u9645\u7269\u7406\u7a7a\u95f4\u8fdb\u884c\u6620\u5c04\u3002<\/li>\n<li>interpolation &#061; &#039;none&#039;&#xff1a;\u4e0d\u8fdb\u884c\u63d2\u503c&#xff0c;\u76f4\u63a5\u663e\u793a\u539f\u59cb\u6570\u636e\u70b9\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<p>x, t &#061; lTDB.getPosition(<br \/>\n    starttime &#061; 0.1,<br \/>\n    endtime &#061; 0.2,<br \/>\n    dt &#061; 0.01,<br \/>\n    data_set &#061; &#039;channel&#039;,<br \/>\n    point_coords &#061; points[0:1,:],<br \/>\n    steps_to_keep &#061; 10)<br \/>\nprint(x) <\/p>\n<p>\u8fd9\u6bb5\u4ee3\u7801\u4f7f\u7528\u4e86 lTDB.getPosition() \u65b9\u6cd5\u6765\u8ffd\u8e2a\u6d41\u4f53\u4e2d\u7684\u70b9\u968f\u65f6\u95f4\u7684\u79fb\u52a8&#xff0c;\u5177\u4f53\u89e3\u91ca\u5982\u4e0b&#xff1a;<\/p>\n<h4>\u9010\u53e5\u5206\u6790<\/h4>\n<li>\n<p>x, t &#061; lTDB.getPosition(&#8230;):<\/p>\n<ul>\n<li>\u8c03\u7528 getPosition \u65b9\u6cd5\u6765\u83b7\u53d6\u6307\u5b9a\u70b9\u5728\u6d41\u573a\u4e2d\u968f\u7740\u65f6\u95f4\u6f14\u5316\u7684\u4f4d\u7f6e\u8f68\u8ff9\u3002<\/li>\n<li>\u8fd4\u56de\u503c x \u662f\u4e00\u4e2a\u5305\u542b\u70b9\u5728\u5404\u4e2a\u65f6\u95f4\u6b65\u7684\u7a7a\u95f4\u5750\u6807\u7684\u6570\u7ec4&#xff0c;t \u662f\u5bf9\u5e94\u7684\u65f6\u95f4\u6b65\u6570\u7ec4\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>starttime &#061; 0.1, endtime &#061; 0.2:<\/p>\n<ul>\n<li>starttime \u548c endtime \u6307\u5b9a\u4e86\u4f4d\u7f6e\u8ffd\u8e2a\u7684\u65f6\u95f4\u8303\u56f4&#xff0c;\u4ece 0.1 \u5230 0.2&#xff08;\u65f6\u95f4\u7684\u5355\u4f4d\u53d6\u51b3\u4e8e\u6570\u636e\u96c6\u7684\u5b9a\u4e49&#xff0c;\u5982\u79d2\u6216\u65e0\u91cf\u7eb2\u65f6\u95f4&#xff09;\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>dt &#061; 0.01:<\/p>\n<ul>\n<li>\u8bbe\u7f6e\u6bcf\u4e2a\u65f6\u95f4\u6b65\u957f\u4e3a 0.01&#xff0c;\u8fd9\u8868\u793a\u5728 starttime \u548c endtime \u4e4b\u95f4&#xff0c;\u6bcf\u9694 0.01 \u4e2a\u65f6\u95f4\u5355\u4f4d\u8ba1\u7b97\u4e00\u6b21\u70b9\u7684\u4f4d\u7f6e\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>data_set &#061; &#039;channel&#039;:<\/p>\n<ul>\n<li>\u8868\u793a\u4f7f\u7528\u7684\u6d41\u573a\u6570\u636e\u96c6\u662f &#039;channel&#039;\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>point_coords &#061; points[0:1,:]:<\/p>\n<ul>\n<li>\u9009\u62e9 points \u6570\u7ec4\u4e2d\u7684\u7b2c\u4e00\u4e2a\u70b9&#xff08;points[0]&#xff09;\u4f5c\u4e3a\u8d77\u59cb\u4f4d\u7f6e\u8fdb\u884c\u8ffd\u8e2a\u3002[0:1, :] \u8868\u793a\u53ea\u53d6\u7b2c\u4e00\u4e2a\u70b9\u7684\u5168\u90e8\u5750\u6807&#xff08;x, y, z&#xff09;\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>steps_to_keep &#061; 10:<\/p>\n<ul>\n<li>\u6307\u5b9a\u4fdd\u5b58\u6bcf\u9694\u591a\u5c11\u4e2a\u65f6\u95f4\u6b65\u7684\u6570\u636e\u3002\u4f8b\u5982&#xff0c;\u8fd9\u4e2a\u503c\u4e3a 10 \u8868\u793a\u7a0b\u5e8f\u4f1a\u5728 10 \u4e2a\u8ba1\u7b97\u6b65\u957f\u4e2d\u53d6 1 \u4e2a\u4f4d\u7f6e\u6765\u4fdd\u5b58\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>print(x):<\/p>\n<ul>\n<li>\u6253\u5370 x&#xff0c;\u8f93\u51fa\u6bcf\u4e2a\u65f6\u95f4\u6b65\u4e2d\u70b9\u7684\u4f4d\u7f6e\u5750\u6807\u3002<\/li>\n<\/ul>\n<\/li>\n<h4>\u4ee3\u7801\u7528\u9014<\/h4>\n<p>\u8fd9\u6bb5\u4ee3\u7801\u7528\u4e8e\u7814\u7a76\u5355\u4e2a\u6d41\u4f53\u70b9\u5728\u6307\u5b9a\u65f6\u95f4\u533a\u95f4\u5185\u7684\u8fd0\u52a8\u8f68\u8ff9\u3002\u8f93\u51fa\u7684 x \u662f\u4e00\u4e2a\u5305\u542b\u5404\u4e2a\u65f6\u95f4\u6b65\u4f4d\u7f6e\u5750\u6807\u7684\u6570\u7ec4&#xff0c;\u5e2e\u52a9\u7814\u7a76\u4eba\u5458\u4e86\u89e3\u5728\u6d41\u573a\u4e2d\u70b9\u7684\u79fb\u52a8\u60c5\u51b5\u3002<\/p>\n<\/p>\n<p>t1 &#061; np.linspace(0, 4*3.14, 256)<br \/>\nt2 &#061; np.linspace(-1, 1, 256)<br \/>\nx &#061; np.zeros((t1.shape[0], t2.shape[0], 3), np.float32)<br \/>\nx[:, :, 0] &#061; t1[np.newaxis, :]<br \/>\nx[:, :, 1] &#061; t2[:, np.newaxis]<br \/>\nx[:, :, 2] &#061; .0<br \/>\nT &#061; pyJHTDB.dbinfo.channel5200[&#039;time&#039;][-1]<br \/>\ntime &#061; np.random.random()*T<br \/>\nu &#061; lTDB.getData(<br \/>\n               time,<br \/>\n               x,<br \/>\n               data_set &#061; &#039;channel5200&#039;,<br \/>\n               sinterp &#061; 4,<br \/>\n               getFunction&#061;&#039;getVelocity&#039;)<br \/>\nprint(u.shape)<br \/>\nfig &#061; plt.figure(figsize &#061; (t1[-1] &#8211; t1[0], t2[-1] &#8211; t2[0]))<br \/>\na &#061; fig.add_subplot(121)<br \/>\na.set_axis_off()<br \/>\na.imshow(u[:,:,0],<br \/>\n         extent &#061; [t1[0], t1[-1] &#8211; t1[0], t2[0], t2[-1] &#8211; t2[0]],<br \/>\n         interpolation &#061; &#039;none&#039;) <\/p>\n<p><img decoding=\"async\" alt=\"54bf32c332eb4d278d85f0e0e75f4de0.png\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250423205620-680953f47f678.png\" \/><\/p>\n<p><img decoding=\"async\" alt=\"65ab17e47b4c43a1aaaafcee28c48131.png\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250423205620-680953f4b248d.png\" \/><\/p>\n<p><img decoding=\"async\" alt=\"18a00930cc5b4ead8ae6c1576ee1a038.png\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250423205621-680953f53d05f.png\" \/><\/p>\n<p><img decoding=\"async\" alt=\"84aa6979b6bd4255affe3d39d62507fb.png\" src=\"2025-04-24ipn045zmiov.png\" \/>\u00a0\u6700\u540e<\/p>\n<p>lTDB.finalize()<br \/>\n##\u662f\u7528\u4e8e\u91ca\u653e\u8d44\u6e90\u3001\u5173\u95ed\u4e0e\u6570\u636e\u670d\u52a1\u5668\u7684\u8fde\u63a5\u6216\u6e05\u7406\u4e0e lTDB&#xff08;\u5982 PyJHTDB \u7c7b\u5e93&#xff09;\u76f8\u5173\u7684\u4f1a\u8bdd\u7684\u547d\u4ee4\u3002 <\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.2k\u6b21\uff0c\u70b9\u8d5e38\u6b21\uff0c\u6536\u85cf22\u6b21\u3002\u4ece JHTDB \u8bf7\u6c42\u7279\u5b9a\u65f6\u95f4\u548c\u7a7a\u95f4\u4f4d\u7f6e\u7684\u901f\u5ea6\u6570\u636e\u3002\u4f7f\u7528getData()\u65b9\u6cd5\u8fdb\u884c\u67e5\u8be2\u3002\u8f93\u51fa\u6bcf\u4e2a\u67e5\u8be2\u70b9\u7684\u901f\u5ea6\u7ed3\u679c\uff0c\u65b9\u4fbf\u7528\u6237\u67e5\u770b\u548c\u9a8c\u8bc1\u3002\u540c\u7406\uff0c\u8fd9\u6bb5\u4ee3\u7801\u83b7\u53d6\u7684\u538b\u529b\u503c\u8fd9\u6bb5\u4ee3\u7801\u83b7\u53d6\u7684\u901f\u5ea6\u548c\u538b\u529b\u503c\u8bf4\u660e\u8c03\u7528\u51fd\u6570\u6765\u83b7\u53d6\u901f\u5ea6\u68af\u5ea6\u6570\u636e\u3002\uff1a\u8868\u793a\u8981\u83b7\u53d6\u901f\u5ea6\u68af\u5ea6\u4fe1\u606f\u3002\u904d\u5386result\u6570\u7ec4\uff0c\u5e76\u683c\u5f0f\u5316\u8f93\u51fa\u6bcf\u4e2a\u70b9\u7684\u901f\u5ea6\u68af\u5ea6\u3002result[p]\u5305\u542b\u5f53\u524d\u70b9\u7684\u901f\u5ea6\u68af\u5ea6\uff0c\u6392\u5217\u65b9\u5f0f\u4e3a\uff0c\u5206\u522b\u8868\u793a\u901f\u5ea6\u5206\u91cf u\u3001v\u3001w \u5728 x\u3001y\u3001z\u65b9\u5411\u4e0a\u7684\u504f\u5bfc\u6570\u3002\u83b7\u53d6\u901f\u5ea6\u7684\u4e8c\u9636\u5bfc\u6570\u8bf4\u660eresult\u3002_jhtdb\u662f\u4ec0\u4e48\u6570\u636e<\/p>\n","protected":false},"author":2,"featured_media":32365,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[81,2627,43,207],"topic":[],"class_list":["post-32385","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-python","tag-2627","tag-43","tag-207"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5206\u6790JHTDB\u6570\u636e\u5e93\u7684Channel5200\u6570\u636e\u96c6\u7684\u6570\u636e\uff08SciServer\u670d\u52a1\u5668\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/32385.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5206\u6790JHTDB\u6570\u636e\u5e93\u7684Channel5200\u6570\u636e\u96c6\u7684\u6570\u636e\uff08SciServer\u670d\u52a1\u5668\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.2k\u6b21\uff0c\u70b9\u8d5e38\u6b21\uff0c\u6536\u85cf22\u6b21\u3002\u4ece JHTDB \u8bf7\u6c42\u7279\u5b9a\u65f6\u95f4\u548c\u7a7a\u95f4\u4f4d\u7f6e\u7684\u901f\u5ea6\u6570\u636e\u3002\u4f7f\u7528getData()\u65b9\u6cd5\u8fdb\u884c\u67e5\u8be2\u3002\u8f93\u51fa\u6bcf\u4e2a\u67e5\u8be2\u70b9\u7684\u901f\u5ea6\u7ed3\u679c\uff0c\u65b9\u4fbf\u7528\u6237\u67e5\u770b\u548c\u9a8c\u8bc1\u3002\u540c\u7406\uff0c\u8fd9\u6bb5\u4ee3\u7801\u83b7\u53d6\u7684\u538b\u529b\u503c\u8fd9\u6bb5\u4ee3\u7801\u83b7\u53d6\u7684\u901f\u5ea6\u548c\u538b\u529b\u503c\u8bf4\u660e\u8c03\u7528\u51fd\u6570\u6765\u83b7\u53d6\u901f\u5ea6\u68af\u5ea6\u6570\u636e\u3002\uff1a\u8868\u793a\u8981\u83b7\u53d6\u901f\u5ea6\u68af\u5ea6\u4fe1\u606f\u3002\u904d\u5386result\u6570\u7ec4\uff0c\u5e76\u683c\u5f0f\u5316\u8f93\u51fa\u6bcf\u4e2a\u70b9\u7684\u901f\u5ea6\u68af\u5ea6\u3002result[p]\u5305\u542b\u5f53\u524d\u70b9\u7684\u901f\u5ea6\u68af\u5ea6\uff0c\u6392\u5217\u65b9\u5f0f\u4e3a\uff0c\u5206\u522b\u8868\u793a\u901f\u5ea6\u5206\u91cf u\u3001v\u3001w \u5728 x\u3001y\u3001z\u65b9\u5411\u4e0a\u7684\u504f\u5bfc\u6570\u3002\u83b7\u53d6\u901f\u5ea6\u7684\u4e8c\u9636\u5bfc\u6570\u8bf4\u660eresult\u3002_jhtdb\u662f\u4ec0\u4e48\u6570\u636e\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/32385.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-23T20:56:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250423205614-680953eebf805.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/32385.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/32385.html\",\"name\":\"\u5206\u6790JHTDB\u6570\u636e\u5e93\u7684Channel5200\u6570\u636e\u96c6\u7684\u6570\u636e\uff08SciServer\u670d\u52a1\u5668\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-23T20:56:22+00:00\",\"dateModified\":\"2025-04-23T20:56:22+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/32385.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/32385.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/32385.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5206\u6790JHTDB\u6570\u636e\u5e93\u7684Channel5200\u6570\u636e\u96c6\u7684\u6570\u636e\uff08SciServer\u670d\u52a1\u5668\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5206\u6790JHTDB\u6570\u636e\u5e93\u7684Channel5200\u6570\u636e\u96c6\u7684\u6570\u636e\uff08SciServer\u670d\u52a1\u5668\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/32385.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5206\u6790JHTDB\u6570\u636e\u5e93\u7684Channel5200\u6570\u636e\u96c6\u7684\u6570\u636e\uff08SciServer\u670d\u52a1\u5668\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.2k\u6b21\uff0c\u70b9\u8d5e38\u6b21\uff0c\u6536\u85cf22\u6b21\u3002\u4ece JHTDB \u8bf7\u6c42\u7279\u5b9a\u65f6\u95f4\u548c\u7a7a\u95f4\u4f4d\u7f6e\u7684\u901f\u5ea6\u6570\u636e\u3002\u4f7f\u7528getData()\u65b9\u6cd5\u8fdb\u884c\u67e5\u8be2\u3002\u8f93\u51fa\u6bcf\u4e2a\u67e5\u8be2\u70b9\u7684\u901f\u5ea6\u7ed3\u679c\uff0c\u65b9\u4fbf\u7528\u6237\u67e5\u770b\u548c\u9a8c\u8bc1\u3002\u540c\u7406\uff0c\u8fd9\u6bb5\u4ee3\u7801\u83b7\u53d6\u7684\u538b\u529b\u503c\u8fd9\u6bb5\u4ee3\u7801\u83b7\u53d6\u7684\u901f\u5ea6\u548c\u538b\u529b\u503c\u8bf4\u660e\u8c03\u7528\u51fd\u6570\u6765\u83b7\u53d6\u901f\u5ea6\u68af\u5ea6\u6570\u636e\u3002\uff1a\u8868\u793a\u8981\u83b7\u53d6\u901f\u5ea6\u68af\u5ea6\u4fe1\u606f\u3002\u904d\u5386result\u6570\u7ec4\uff0c\u5e76\u683c\u5f0f\u5316\u8f93\u51fa\u6bcf\u4e2a\u70b9\u7684\u901f\u5ea6\u68af\u5ea6\u3002result[p]\u5305\u542b\u5f53\u524d\u70b9\u7684\u901f\u5ea6\u68af\u5ea6\uff0c\u6392\u5217\u65b9\u5f0f\u4e3a\uff0c\u5206\u522b\u8868\u793a\u901f\u5ea6\u5206\u91cf u\u3001v\u3001w \u5728 x\u3001y\u3001z\u65b9\u5411\u4e0a\u7684\u504f\u5bfc\u6570\u3002\u83b7\u53d6\u901f\u5ea6\u7684\u4e8c\u9636\u5bfc\u6570\u8bf4\u660eresult\u3002_jhtdb\u662f\u4ec0\u4e48\u6570\u636e","og_url":"https:\/\/www.wsisp.com\/helps\/32385.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-23T20:56:22+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250423205614-680953eebf805.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"8 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/32385.html","url":"https:\/\/www.wsisp.com\/helps\/32385.html","name":"\u5206\u6790JHTDB\u6570\u636e\u5e93\u7684Channel5200\u6570\u636e\u96c6\u7684\u6570\u636e\uff08SciServer\u670d\u52a1\u5668\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-23T20:56:22+00:00","dateModified":"2025-04-23T20:56:22+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/32385.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/32385.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/32385.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5206\u6790JHTDB\u6570\u636e\u5e93\u7684Channel5200\u6570\u636e\u96c6\u7684\u6570\u636e\uff08SciServer\u670d\u52a1\u5668\uff09"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/32385","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=32385"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/32385\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/32365"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=32385"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=32385"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=32385"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=32385"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}