{"id":949869,"date":"2024-12-27T00:18:16","date_gmt":"2024-12-26T16:18:16","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/949869.html"},"modified":"2024-12-27T00:18:18","modified_gmt":"2024-12-26T16:18:18","slug":"python%e5%a6%82%e4%bd%95%e8%b0%83%e7%94%a8ncl","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/949869.html","title":{"rendered":"python\u5982\u4f55\u8c03\u7528ncl"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25084708\/17ec21d3-ea0e-4725-b51f-a5ed46b175e1.webp\" alt=\"python\u5982\u4f55\u8c03\u7528ncl\" \/><\/p>\n<p><p> <strong>Python\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u5f0f\u8c03\u7528NCL\uff08NCAR Command Language\uff09\uff0c\u5305\u62ec\u4f7f\u7528subprocess\u6a21\u5757\u3001\u901a\u8fc7PyNGL\u63a5\u53e3\u3001\u6216\u7ed3\u5408NCL\u811a\u672c\u5904\u7406\u6570\u636e\u3002\u8fd9\u4e09\u79cd\u65b9\u6cd5\u5404\u6709\u4f18\u7f3a\u70b9\uff0csubprocess\u6a21\u5757\u76f4\u63a5\u6267\u884cNCL\u547d\u4ee4\u3001PyNGL\u63d0\u4f9bPython\u63a5\u53e3\u3001\u7ed3\u5408NCL\u811a\u672c\u5904\u7406\u590d\u6742\u6570\u636e\u3002<\/strong>\u5176\u4e2d\uff0c\u4f7f\u7528subprocess\u6a21\u5757\u662f\u6700\u76f4\u63a5\u7684\u65b9\u6cd5\uff0c\u5b83\u5141\u8bb8Python\u811a\u672c\u8fd0\u884c\u5916\u90e8NCL\u811a\u672c\uff0c\u5e76\u83b7\u5f97\u5176\u8f93\u51fa\u3002\u73b0\u5728\u6211\u4eec\u5c06\u8be6\u7ec6\u63cf\u8ff0\u5982\u4f55\u901a\u8fc7\u8fd9\u4e9b\u65b9\u6cd5\u8c03\u7528NCL\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001SUBPROCESS\u6a21\u5757\u8c03\u7528NCL<\/p>\n<\/p>\n<p><p>\u4f7f\u7528Python\u7684subprocess\u6a21\u5757\u53ef\u4ee5\u76f4\u63a5\u8c03\u7528NCL\u811a\u672c\u3002subprocess\u6a21\u5757\u5141\u8bb8Python\u811a\u672c\u5728\u72ec\u7acb\u7684\u8fdb\u7a0b\u4e2d\u6267\u884c\u5916\u90e8\u547d\u4ee4\uff0c\u6355\u83b7\u8f93\u51fa\u5e76\u68c0\u67e5\u9519\u8bef\u4fe1\u606f\u3002\u4ee5\u4e0b\u662f\u5982\u4f55\u4f7f\u7528\u8be5\u6a21\u5757\u8c03\u7528NCL\u811a\u672c\u7684\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u7f16\u5199NCL\u811a\u672c<\/strong>\uff1a\u9996\u5148\uff0c\u7f16\u5199\u4e00\u4e2aNCL\u811a\u672c\u6587\u4ef6\uff08\u4f8b\u5982\uff0cscript.ncl\uff09\uff0c\u786e\u4fdd\u5b83\u80fd\u591f\u72ec\u7acb\u8fd0\u884c\u3002NCL\u811a\u672c\u901a\u5e38\u7528\u4e8e\u5904\u7406\u548c\u7ed8\u5236\u6c14\u8c61\u6216\u6c14\u5019\u6570\u636e\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528subprocess\u6a21\u5757<\/strong>\uff1a\u5728Python\u811a\u672c\u4e2d\uff0c\u4f7f\u7528subprocess.run()\u6216subprocess.Popen()\u65b9\u6cd5\u6765\u8c03\u7528NCL\u811a\u672c\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import subprocess<\/p>\n<h2><strong>\u8c03\u7528NCL\u811a\u672c<\/strong><\/h2>\n<p>result = subprocess.run([&#39;ncl&#39;, &#39;script.ncl&#39;], capture_output=True, text=True)<\/p>\n<h2><strong>\u68c0\u67e5\u811a\u672c\u662f\u5426\u6210\u529f\u8fd0\u884c<\/strong><\/h2>\n<p>if result.returncode == 0:<\/p>\n<p>    print(&quot;NCL script ran successfully.&quot;)<\/p>\n<p>    print(&quot;Output:&quot;, result.stdout)<\/p>\n<p>else:<\/p>\n<p>    print(&quot;NCL script f<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>led.&quot;)<\/p>\n<p>    print(&quot;Error:&quot;, result.stderr)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5904\u7406\u8f93\u51fa\u548c\u9519\u8bef\u4fe1\u606f<\/strong>\uff1asubprocess.run()\u65b9\u6cd5\u8fd4\u56de\u4e00\u4e2aCompletedProcess\u5bf9\u8c61\uff0c\u5176\u4e2d\u5305\u542bstdout\u548cstderr\u5c5e\u6027\uff0c\u7528\u4e8e\u6355\u83b7NCL\u811a\u672c\u7684\u8f93\u51fa\u548c\u9519\u8bef\u4fe1\u606f\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u7684\u4f18\u70b9\u662f\u7b80\u5355\u76f4\u63a5\uff0c\u9002\u5408\u9700\u8981\u8fd0\u884c\u73b0\u6709NCL\u811a\u672c\u7684\u60c5\u51b5\u3002\u7136\u800c\uff0c\u5b83\u7684\u7f3a\u70b9\u662f\u4e0ePython\u7684\u96c6\u6210\u6709\u9650\uff0c\u65e0\u6cd5\u76f4\u63a5\u5728Python\u4e2d\u64cd\u4f5cNCL\u811a\u672c\u7684\u5185\u90e8\u53d8\u91cf\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u4f7f\u7528PYNGL\u63a5\u53e3<\/p>\n<\/p>\n<p><p>PyNGL\u662fPython\u548cNCL\u4e4b\u95f4\u7684\u6865\u6881\uff0c\u5141\u8bb8\u7528\u6237\u5728Python\u4e2d\u5229\u7528NCL\u7684\u56fe\u5f62\u529f\u80fd\u3002\u901a\u8fc7PyNGL\uff0c\u7528\u6237\u53ef\u4ee5\u5728Python\u73af\u5883\u4e2d\u521b\u5efa\u548c\u5b9a\u5236\u9ad8\u8d28\u91cf\u7684\u6c14\u8c61\u548c\u6c14\u5019\u6570\u636e\u56fe\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5b89\u88c5PyNGL<\/strong>\uff1a\u9996\u5148\uff0c\u9700\u8981\u786e\u4fddPyNGL\u5df2\u6b63\u786e\u5b89\u88c5\u3002\u53ef\u4ee5\u4f7f\u7528conda\u6765\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">conda install -c conda-forge pyngl<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528PyNGL\u7ed8\u56fe<\/strong>\uff1aPyNGL\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u51fd\u6570\u5e93\uff0c\u7528\u4e8e\u7ed8\u5236\u5404\u79cd\u7c7b\u578b\u7684\u56fe\u8868\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff0c\u5c55\u793a\u5982\u4f55\u4f7f\u7528PyNGL\u7ed8\u5236\u7b49\u503c\u7ebf\u56fe\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import Ngl<\/p>\n<h2><strong>\u6253\u5f00\u4e00\u4e2a\u56fe\u5f62\u6587\u4ef6<\/strong><\/h2>\n<p>wks = Ngl.open_wks(&quot;png&quot;, &quot;contour&quot;)<\/p>\n<h2><strong>\u521b\u5efa\u6570\u636e<\/strong><\/h2>\n<p>data = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]<\/p>\n<h2><strong>\u7ed8\u5236\u7b49\u503c\u7ebf\u56fe<\/strong><\/h2>\n<p>plot = Ngl.contour(wks, data)<\/p>\n<h2><strong>\u5173\u95ed\u56fe\u5f62\u6587\u4ef6<\/strong><\/h2>\n<p>Ngl.end()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u7075\u6d3b\u6027\u548c\u6269\u5c55\u6027<\/strong>\uff1aPyNGL\u5141\u8bb8\u7528\u6237\u5728Python\u4e2d\u8fdb\u884c\u590d\u6742\u7684\u56fe\u5f62\u64cd\u4f5c\uff0c\u63d0\u4f9b\u4e86\u6bd4subprocess\u6a21\u5757\u66f4\u9ad8\u7684\u7075\u6d3b\u6027\u548c\u6269\u5c55\u6027\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>PyNGL\u7684\u4f18\u52bf\u5728\u4e8e\u5b83\u7684\u7075\u6d3b\u6027\u548c\u4e0ePython\u7684\u7d27\u5bc6\u96c6\u6210\uff0c\u4f7f\u5f97\u7528\u6237\u53ef\u4ee5\u5145\u5206\u5229\u7528Python\u7684\u5f3a\u5927\u529f\u80fd\u6765\u5904\u7406\u548c\u53ef\u89c6\u5316\u6570\u636e\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u7ed3\u5408NCL\u811a\u672c\u5904\u7406\u6570\u636e<\/p>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u53ef\u80fd\u9700\u8981\u7ed3\u5408NCL\u811a\u672c\u548cPython\u8fdb\u884c\u6570\u636e\u5904\u7406\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u5b9e\u73b0\u8fd9\u79cd\u96c6\u6210\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4f7f\u7528Python\u5904\u7406\u6570\u636e<\/strong>\uff1a\u9996\u5148\uff0c\u5728Python\u4e2d\u8fdb\u884c\u6570\u636e\u7684\u521d\u6b65\u5904\u7406\u548c\u5206\u6790\u3002\u53ef\u4ee5\u4f7f\u7528NumPy\u3001Pandas\u7b49\u5e93\u6765\u5b8c\u6210\u8fd9\u4e9b\u4efb\u52a1\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u751f\u6210NCL\u8f93\u5165\u6587\u4ef6<\/strong>\uff1a\u5c06\u5904\u7406\u540e\u7684\u6570\u636e\u4fdd\u5b58\u4e3aNetCDF\u683c\u5f0f\uff0c\u4f9bNCL\u811a\u672c\u4f7f\u7528\u3002\u53ef\u4ee5\u4f7f\u7528netCDF4\u5e93\u6765\u521b\u5efaNetCDF\u6587\u4ef6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from netCDF4 import Dataset<\/p>\n<p>import numpy as np<\/p>\n<h2><strong>\u521b\u5efaNetCDF\u6587\u4ef6<\/strong><\/h2>\n<p>ncfile = Dataset(&#39;data.nc&#39;, &#39;w&#39;, format=&#39;NETCDF4&#39;)<\/p>\n<h2><strong>\u5b9a\u4e49\u7ef4\u5ea6<\/strong><\/h2>\n<p>ncfile.createDimension(&#39;x&#39;, 3)<\/p>\n<p>ncfile.createDimension(&#39;y&#39;, 3)<\/p>\n<h2><strong>\u521b\u5efa\u53d8\u91cf<\/strong><\/h2>\n<p>data = ncfile.createVariable(&#39;data&#39;, np.float32, (&#39;x&#39;, &#39;y&#39;))<\/p>\n<p>data[:] = np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]])<\/p>\n<h2><strong>\u5173\u95ed\u6587\u4ef6<\/strong><\/h2>\n<p>ncfile.close()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8c03\u7528NCL\u811a\u672c<\/strong>\uff1a\u4f7f\u7528subprocess\u6a21\u5757\u8c03\u7528NCL\u811a\u672c\uff0c\u811a\u672c\u8bfb\u53d6\u5e76\u5904\u7406NetCDF\u6587\u4ef6\u4e2d\u7684\u6570\u636e\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u7ed3\u5408\u8f93\u51fa\u8fdb\u884c\u5206\u6790<\/strong>\uff1a\u901a\u8fc7Python\u811a\u672c\u8bfb\u53d6NCL\u751f\u6210\u7684\u8f93\u51fa\u6587\u4ef6\uff0c\u8fdb\u884c\u8fdb\u4e00\u6b65\u7684\u5206\u6790\u548c\u5904\u7406\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u7ed3\u5408\u4e86Python\u7684\u5f3a\u5927\u6570\u636e\u5904\u7406\u80fd\u529b\u548cNCL\u7684\u4e13\u4e1a\u56fe\u5f62\u7ed8\u5236\u529f\u80fd\uff0c\u9002\u5408\u590d\u6742\u6570\u636e\u5206\u6790\u548c\u53ef\u89c6\u5316\u9700\u6c42\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001\u603b\u7ed3\u4e0e\u5efa\u8bae<\/p>\n<\/p>\n<p><p>\u7ed3\u5408Python\u548cNCL\u53ef\u4ee5\u5145\u5206\u53d1\u6325\u4e24\u8005\u7684\u4f18\u52bf\uff0c\u5b9e\u73b0\u9ad8\u6548\u7684\u6570\u636e\u5904\u7406\u548c\u53ef\u89c6\u5316\u3002\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u53d6\u51b3\u4e8e\u5177\u4f53\u9700\u6c42\u548c\u9879\u76ee\u73af\u5883\uff1a<\/p>\n<\/p>\n<ul>\n<li><strong>\u7b80\u5355\u4efb\u52a1<\/strong>\uff1a\u5bf9\u4e8e\u9700\u8981\u5feb\u901f\u8c03\u7528\u73b0\u6709NCL\u811a\u672c\u7684\u7b80\u5355\u4efb\u52a1\uff0csubprocess\u6a21\u5757\u662f\u6700\u4f73\u9009\u62e9\u3002<\/li>\n<li><strong>\u590d\u6742\u56fe\u5f62<\/strong>\uff1a\u5bf9\u4e8e\u9700\u8981\u521b\u5efa\u590d\u6742\u56fe\u5f62\u548c\u53ef\u89c6\u5316\u7684\u9879\u76ee\uff0cPyNGL\u63d0\u4f9b\u4e86\u66f4\u5927\u7684\u7075\u6d3b\u6027\u548c\u529f\u80fd\u3002<\/li>\n<li><strong>\u5927\u89c4\u6a21\u6570\u636e\u5904\u7406<\/strong>\uff1a\u5bf9\u4e8e\u9700\u8981\u5927\u91cf\u6570\u636e\u5904\u7406\u7684\u4efb\u52a1\uff0c\u7ed3\u5408Python\u7684\u6570\u636e\u5904\u7406\u80fd\u529b\u548cNCL\u7684\u53ef\u89c6\u5316\u80fd\u529b\uff0c\u662f\u6700\u7406\u60f3\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/li>\n<\/ul>\n<p><p>\u603b\u4e4b\uff0c\u901a\u8fc7\u5408\u7406\u9009\u62e9\u548c\u7ed3\u5408\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u53ef\u4ee5\u5728Python\u4e2d\u9ad8\u6548\u5730\u8c03\u7528\u548c\u5229\u7528NCL\uff0c\u4e3a\u6c14\u8c61\u548c\u6c14\u5019\u6570\u636e\u7684\u5206\u6790\u548c\u53ef\u89c6\u5316\u63d0\u4f9b\u5f3a\u6709\u529b\u7684\u652f\u6301\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>Python\u53ef\u4ee5\u901a\u8fc7\u54ea\u4e9b\u65b9\u5f0f\u8c03\u7528NCL\uff08NCAR Command Language\uff09\uff1f<\/strong><br \/>Python\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u5f0f\u8c03\u7528NCL\u3002\u6700\u5e38\u89c1\u7684\u65b9\u6cd5\u662f\u4f7f\u7528Python\u7684<code>subprocess<\/code>\u6a21\u5757\uff0c\u8be5\u6a21\u5757\u5141\u8bb8\u4f60\u5728Python\u811a\u672c\u4e2d\u6267\u884cNCL\u547d\u4ee4\u6216\u811a\u672c\u3002\u6b64\u5916\uff0cNCL\u4e5f\u63d0\u4f9b\u4e86\u4e00\u4e9bPython\u63a5\u53e3\uff0c\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u8fd9\u4e9b\u63a5\u53e3\u76f4\u63a5\u5728Python\u4e2d\u8fd0\u884cNCL\u7684\u529f\u80fd\u3002\u901a\u8fc7\u8fd9\u4e9b\u65b9\u5f0f\uff0c\u4f60\u53ef\u4ee5\u5728Python\u73af\u5883\u4e2d\u5904\u7406\u6c14\u8c61\u548c\u6c14\u5019\u6570\u636e\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u8c03\u7528NCL\u65f6\uff0c\u6211\u9700\u8981\u6ce8\u610f\u54ea\u4e9b\u73af\u5883\u8bbe\u7f6e\uff1f<\/strong><br \/>\u5728\u8c03\u7528NCL\u4e4b\u524d\uff0c\u786e\u4fdd\u4f60\u7684\u7cfb\u7edf\u4e2d\u5df2\u6b63\u786e\u5b89\u88c5NCL\uff0c\u5e76\u4e14\u76f8\u5e94\u7684\u73af\u5883\u53d8\u91cf\uff08\u5982<code>NCL_PATH<\/code>\uff09\u5df2\u8bbe\u7f6e\u3002\u8fd9\u5c06\u4f7f\u5f97Python\u80fd\u591f\u627e\u5230NCL\u7684\u53ef\u6267\u884c\u6587\u4ef6\u53ca\u5176\u5e93\u3002\u5982\u679c\u4f7f\u7528<code>subprocess<\/code>\u6a21\u5757\uff0c\u786e\u4fdd\u5728\u8c03\u7528\u65f6\u63d0\u4f9bNCL\u811a\u672c\u7684\u5b8c\u6574\u8def\u5f84\uff0c\u540c\u65f6\u68c0\u67e5Python\u811a\u672c\u662f\u5426\u62e5\u6709\u6267\u884c\u6743\u9650\u3002<\/p>\n<p><strong>\u6211\u53ef\u4ee5\u5728Python\u4e2d\u4f7f\u7528NCL\u7684\u54ea\u4e9b\u529f\u80fd\uff1f<\/strong><br \/>\u901a\u8fc7\u8c03\u7528NCL\uff0c\u7528\u6237\u53ef\u4ee5\u5229\u7528\u5176\u5f3a\u5927\u7684\u6570\u636e\u53ef\u89c6\u5316\u548c\u5206\u6790\u80fd\u529b\u3002\u5e38\u89c1\u7684\u529f\u80fd\u5305\u62ec\u7ed8\u5236\u6c14\u8c61\u56fe\u3001\u5904\u7406NetCDF\u6587\u4ef6\u3001\u8fdb\u884c\u6570\u636e\u63d2\u503c\u548c\u7edf\u8ba1\u5206\u6790\u7b49\u3002\u901a\u8fc7\u5408\u7406\u7684\u63a5\u53e3\u548c\u8c03\u7528\u65b9\u5f0f\uff0c\u7528\u6237\u53ef\u4ee5\u5c06NCL\u7684\u529f\u80fd\u65e0\u7f1d\u96c6\u6210\u5230Python\u7684\u6570\u636e\u5904\u7406\u5de5\u4f5c\u6d41\u4e2d\uff0c\u4ece\u800c\u5b9e\u73b0\u66f4\u590d\u6742\u7684\u5206\u6790\u4efb\u52a1\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u5f0f\u8c03\u7528NCL\uff08NCAR Command Language\uff09\uff0c\u5305\u62ec\u4f7f\u7528subproce [&hellip;]","protected":false},"author":3,"featured_media":949872,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/949869"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=949869"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/949869\/revisions"}],"predecessor-version":[{"id":949873,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/949869\/revisions\/949873"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/949872"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=949869"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=949869"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=949869"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}