{"id":744,"date":"2024-05-06T00:23:04","date_gmt":"2024-05-05T15:23:04","guid":{"rendered":"https:\/\/chocottopro.com\/?p=744"},"modified":"2024-05-06T00:23:04","modified_gmt":"2024-05-05T15:23:04","slug":"%e3%80%90%e5%88%9d%e5%bf%83%e8%80%85%e5%90%91%e3%81%91%e3%80%91%e3%81%9f%e3%81%a3%e3%81%9f10%e8%a1%8c%e3%81%aepython%e3%82%b3%e3%83%bc%e3%83%89%e3%81%a7%e3%82%ab%e3%83%83%e3%82%b3%e3%81%84%e3%81%84","status":"publish","type":"post","link":"https:\/\/chocottopro.com\/?p=744","title":{"rendered":"\u3010\u521d\u5fc3\u8005\u5411\u3051\u3011\u305f\u3063\u305f10\u884c\u306ePython\u30b3\u30fc\u30c9\u3067\u30ab\u30c3\u30b3\u3044\u3044\u5730\u56f3\u3092\u4f5c\u308b\uff01Cartopy\u5165\u9580\u30ac\u30a4\u30c9"},"content":{"rendered":"\n<p>Python\u3067\u5730\u7406\u30c7\u30fc\u30bf\u306e\u53ef\u8996\u5316\u3092\u3057\u305f\u3044\u3068\u601d\u3063\u305f\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u304b\uff1f<br>\u5b9f\u306f\u3001Cartopy\u3068\u3044\u3046\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3048\u3070\u3001\u8ab0\u3067\u3082\u7c21\u5358\u306b\u7f8e\u3057\u3044\u5730\u56f3\u3092\u4f5c\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3093\u3067\u3059\u3002<br>\u672c\u8a18\u4e8b\u3067\u306f\u3001Cartopy\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u304b\u3089\u5b9f\u8df5\u7684\u306a\u5fdc\u7528\u4f8b\u307e\u3067\u3001\u4e01\u5be7\u306b\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br>\u30b3\u30fc\u30c9\u3092\u66f8\u304d\u306a\u304c\u3089\u3001\u5730\u56f3\u306e\u63cf\u753b\u65b9\u6cd5\u3092\u697d\u3057\u304f\u5b66\u3093\u3067\u3044\u304d\u307e\u3057\u3087\u3046\uff01<\/p>\n\n\n\n<div class=\"wp-block-sgb-block-simple sgb-box-simple sgb-box-simple--title-normal sgb-box-simple--with-border\"><div style=\"background-color:var(--wp--preset--color--sango-main);color:#FFF\" class=\"sgb-box-simple__title\">\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3093\u3060\u3089\u308f\u304b\u308b\u3053\u3068<\/div><div class=\"sgb-box-simple__body\" style=\"border-color:var(--wp--preset--color--sango-main);background-color:#FFF\">\n<ul class=\"wp-block-list\">\n<li>Cartopy\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u3068\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9 <\/li>\n\n\n\n<li>\u5730\u56f3\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u65b9\u6cd5\uff08\u30d7\u30ed\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u3001\u8272\u3001\u30b9\u30bf\u30a4\u30eb\u306a\u3069\uff09 <\/li>\n\n\n\n<li>\u70b9\u3001\u7dda\u3001\u30dd\u30ea\u30b4\u30f3\u3001\u7b49\u9ad8\u7dda\u306e\u63cf\u753b\u65b9\u6cd5 <\/li>\n\n\n\n<li>\u30bf\u30a4\u30eb\u30de\u30c3\u30d7\u306e\u8ffd\u52a0\u65b9\u6cd5 <\/li>\n\n\n\n<li>\u5b9f\u30c7\u30fc\u30bf\u3092\u4f7f\u3063\u305f\u5730\u56f3\u306e\u53ef\u8996\u5316\u4e8b\u4f8b <\/li>\n\n\n\n<li>\u52b9\u7387\u7684\u306a\u5730\u56f3\u63cf\u753b\u306e\u305f\u3081\u306eTips \u4ed6\u306e\u5730\u7406\u60c5\u5831\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u306e\u9023\u643a\u65b9\u6cd5<\/li>\n<\/ul>\n<\/div><\/div>\n\n\n\n<div class=\"toc\"><br \/>\n<b>Warning<\/b>:  Undefined array key \"is_admin\" in <b>\/home\/c7479301\/public_html\/chocottopro.com\/wp-content\/themes\/sango-theme\/library\/gutenberg\/dist\/classes\/Toc.php<\/b> on line <b>116<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Undefined array key \"is_category_top\" in <b>\/home\/c7479301\/public_html\/chocottopro.com\/wp-content\/themes\/sango-theme\/library\/gutenberg\/dist\/classes\/Toc.php<\/b> on line <b>121<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Undefined array key \"is_top\" in <b>\/home\/c7479301\/public_html\/chocottopro.com\/wp-content\/themes\/sango-theme\/library\/gutenberg\/dist\/classes\/Toc.php<\/b> on line <b>128<\/b><br \/>\n    <div id=\"toc_container\" class=\"sgb-toc--bullets js-smooth-scroll\" data-dialog-title=\"Table of Contents\">\n      <p class=\"toc_title\">\u76ee\u6b21 <\/p>\n      <ul class=\"toc_list\">  <li class=\"first\">    <a href=\"#i-0\">\u306f\u3058\u3081\u306b<\/a>    <ul class=\"menu_level_1\">      <li class=\"first\">        <a href=\"#i-1\">Cartopy\u3068\u306f\u4f55\u304b<\/a>      <\/li>      <li>        <a href=\"#i-2\">Cartopy\u3092\u4f7f\u3046\u30e1\u30ea\u30c3\u30c8<\/a>      <\/li>      <li class=\"last\">        <a href=\"#i-3\">\u8a18\u4e8b\u306e\u76ee\u7684\u3068\u30b4\u30fc\u30eb<\/a>      <\/li>    <\/ul>  <\/li>  <li>    <a href=\"#i-4\">Cartopy\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5<\/a>    <ul class=\"menu_level_1\">      <li class=\"first\">        <a href=\"#i-5\">\u74b0\u5883\u69cb\u7bc9\u306e\u524d\u63d0\u6761\u4ef6<\/a>      <\/li>      <li>        <a href=\"#i-6\">pip\u3092\u4f7f\u3063\u305f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806<\/a>      <\/li>      <li>        <a href=\"#i-7\">conda\u3092\u4f7f\u3063\u305f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806<\/a>      <\/li>      <li class=\"last\">        <a href=\"#i-8\">\u8a73\u7d30\u306a\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0<\/a>      <\/li>    <\/ul>  <\/li>  <li>    <a href=\"#i-9\">Cartopy\u3067\u5730\u56f3\u3092\u63cf\u753b\u3059\u308b\u305f\u3081\u306e\u57fa\u672c<\/a>    <ul class=\"menu_level_1\">      <li class=\"first\">        <a href=\"#i-10\">\u5fc5\u8981\u306a\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u30a4\u30f3\u30dd\u30fc\u30c8<\/a>      <\/li>      <li>        <a href=\"#i-11\">\u521d\u3081\u3066\u306e\u5730\u56f3\u63cf\u753b\u30b3\u30fc\u30c9<\/a>      <\/li>      <li class=\"last\">        <a href=\"#i-12\">\u63cf\u753b\u7d50\u679c\u306e\u89e3\u8aac<\/a>      <\/li>    <\/ul>  <\/li>  <li>    <a href=\"#i-13\">\u5730\u56f3\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3059\u308b\u30c6\u30af\u30cb\u30c3\u30af<\/a>    <ul class=\"menu_level_1\">      <li class=\"first\">        <a href=\"#i-14\">\u30d7\u30ed\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u306e\u5909\u66f4\u65b9\u6cd5<\/a>      <\/li>      <li>        <a href=\"#i-15\">\u6d77\u5cb8\u7dda\u3084\u56fd\u5883\u7dda\u306e\u8ffd\u52a0\u65b9\u6cd5<\/a>      <\/li>      <li>        <a href=\"#i-16\">\u8272\u3084\u30b9\u30bf\u30a4\u30eb\u3092\u5909\u66f4\u3059\u308b\u30b3\u30c4<\/a>      <\/li>      <li class=\"last\">        <a href=\"#i-17\">\u7b49\u9ad8\u7dda\u306e\u63cf\u753b<\/a>      <\/li>    <\/ul>  <\/li>  <li>    <a href=\"#i-18\">\u3088\u308a\u9ad8\u5ea6\u306a\u5730\u56f3\u306e\u4f5c\u308a\u65b9<\/a>    <ul class=\"menu_level_1\">      <li class=\"first\">        <a href=\"#i-19\">\u70b9\u3084\u7dda\u3001\u30dd\u30ea\u30b4\u30f3\u306e\u30d7\u30ed\u30c3\u30c8<\/a>      <\/li>      <li>        <a href=\"#i-20\">\u7b49\u9ad8\u7dda\u306e\u63cf\u753b<\/a>      <\/li>      <li class=\"last\">        <a href=\"#i-21\">\u30bf\u30a4\u30eb\u30de\u30c3\u30d7\u306e\u5229\u7528<\/a>      <\/li>    <\/ul>  <\/li>  <li>    <a href=\"#i-22\">\u5b9f\u8df5\u7684\u306a\u5730\u56f3\u4f5c\u6210\u4f8b<\/a>    <ul class=\"menu_level_1\">      <li class=\"first\">        <a href=\"#i-23\">\u6c17\u8c61\u30c7\u30fc\u30bf\u306e\u53ef\u8996\u5316<\/a>      <\/li>      <li>        <a href=\"#i-24\">\u4eba\u53e3\u5bc6\u5ea6\u306e\u53ef\u8996\u5316<\/a>      <\/li>      <li class=\"last\">        <a href=\"#i-25\">\u7d4c\u8def\u306e\u53ef\u8996\u5316<\/a>      <\/li>    <\/ul>  <\/li>  <li>    <a href=\"#i-26\">Cartopy\u306b\u95a2\u3059\u308bTips<\/a>    <ul class=\"menu_level_1\">      <li class=\"first\">        <a href=\"#i-27\">\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u6539\u5584\u306e\u30d2\u30f3\u30c8<\/a>      <\/li>      <li>        <a href=\"#i-28\">\u4ed6\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u306e\u9023\u643a\u65b9\u6cd5<\/a>      <\/li>      <li class=\"last\">        <a href=\"#i-29\">\u30ae\u30e3\u30e9\u30ea\u30fc\u3084\u53c2\u8003\u8cc7\u6599\u306e\u7d39\u4ecb<\/a>      <\/li>    <\/ul>  <\/li>  <li class=\"last\">    <a href=\"#i-30\">\u307e\u3068\u3081<\/a>    <ul class=\"menu_level_1\">      <li class=\"first\">        <a href=\"#i-31\">Cartopy\u3092\u4f7f\u3046\u30e1\u30ea\u30c3\u30c8\u306e\u518d\u78ba\u8a8d<\/a>      <\/li>      <li>        <a href=\"#i-32\">\u8a18\u4e8b\u306e\u304a\u3055\u3089\u3044<\/a>      <\/li>      <li class=\"last\">        <a href=\"#i-33\">\u4eca\u5f8c\u306b\u5411\u3051\u305f\u30a2\u30c9\u30d0\u30a4\u30b9<\/a>      <\/li>    <\/ul>  <\/li><\/ul>\n      \n    <\/div><\/div><h2 class=\"wp-block-heading\" id=\"i-0\">\u306f\u3058\u3081\u306b<\/h2>\n\n\n\n<p>Python\u3067\u5730\u7406\u7a7a\u9593\u30c7\u30fc\u30bf\u3092\u53ef\u8996\u5316\u3057\u305f\u3044\u3068\u601d\u3063\u305f\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u304b\uff1f<br>\u7f8e\u3057\u3044\u5730\u56f3\u3092\u624b\u8efd\u306b\u4f5c\u308c\u305f\u3089\u3001\u30c7\u30fc\u30bf\u306e\u5206\u6790\u3084\u8868\u73fe\u306e\u5e45\u304c\u5e83\u304c\u308b\u306f\u305a\u3067\u3059\u3002<br>\u305d\u3093\u306a\u3068\u304d\u306b\u6d3b\u8e8d\u3059\u308b\u306e\u304c\u3001Python\u306e\u5730\u56f3\u63cf\u753b\u30e9\u30a4\u30d6\u30e9\u30ea\u300cCartopy\u300d\u3067\u3059\u3002<\/p>\n\n\n\n<p>Cartopy\u306f\u3001\u30b7\u30f3\u30d7\u30eb\u306a\u30b3\u30fc\u30c9\u3067\u591a\u5f69\u306a\u5730\u56f3\u3092\u63cf\u753b\u3067\u304d\u308b\u30c4\u30fc\u30eb\u3067\u3059\u3002<br>\u8c4a\u5bcc\u306a\u5730\u56f3\u30d7\u30ed\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u3042\u3089\u3086\u308b\u5730\u57df\u3084\u76ee\u7684\u306b\u5408\u308f\u305b\u305f\u67d4\u8edf\u306a\u8868\u73fe\u304c\u53ef\u80fd\u3002<br>\u3057\u304b\u3082\u3001Matplotlib\u3092\u30d9\u30fc\u30b9\u306b\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u30b0\u30e9\u30d5\u3084\u30d7\u30ed\u30c3\u30c8\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u306e\u3082\u7c21\u5358\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u5b9f\u969b\u306e\u30b3\u30fc\u30c9\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<br>\u308f\u305a\u304b\u6570\u884c\u3067\u3001\u4e16\u754c\u5730\u56f3\u3092\u63cf\u753b\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">import cartopy.crs as ccrs\nimport matplotlib.pyplot as plt\n\nfig = plt.figure(figsize=(10, 10))\nax = fig.add_subplot(1, 1, 1, projection=ccrs.PlateCarree())\n\nax.coastlines()\nax.set_global()\nax.gridlines()\n\nplt.show()<\/pre>\n\n\n\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001Cartopy\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u304b\u3089\u3001\u5b9f\u8df5\u7684\u306a\u5730\u56f3\u4f5c\u6210\u30c6\u30af\u30cb\u30c3\u30af\u307e\u3067\u3092\u4e01\u5be7\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002<br>\u30b3\u30fc\u30c9\u30b5\u30f3\u30d7\u30eb\u3092\u6570\u591a\u304f\u4ea4\u3048\u306a\u304c\u3089\u3001\u30b9\u30c6\u30c3\u30d7\u30d0\u30a4\u30b9\u30c6\u30c3\u30d7\u3067\u5730\u56f3\u53ef\u8996\u5316\u30b9\u30ad\u30eb\u3092\u8eab\u306b\u3064\u3051\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<br>Cartopy\u306a\u3089\u3067\u306f\u306e\u8868\u73fe\u529b\u3068Python\u306e\u67d4\u8edf\u6027\u3092\u7d44\u307f\u5408\u308f\u305b\u308c\u3070\u3001\u3042\u306a\u305f\u306e\u30c7\u30fc\u30bf\u304c\u3088\u308a\u8aac\u5f97\u529b\u306e\u3042\u308b\u6d1e\u5bdf\u3092\u751f\u307f\u51fa\u3059\u306f\u305a\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3067\u306f\u3001\u3055\u3063\u305d\u304fCartopy\u306e\u4e16\u754c\u306b\u98db\u3073\u8fbc\u3093\u3067\u307f\u307e\u3057\u3087\u3046\uff01<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-1\">Cartopy\u3068\u306f\u4f55\u304b<\/h3>\n\n\n\n<p>Cartopy\u306f\u3001Python\u30a8\u30b3\u30b7\u30b9\u30c6\u30e0\u306e\u4e00\u90e8\u3068\u3057\u3066\u958b\u767a\u3055\u308c\u305f\u5730\u56f3\u63cf\u753b\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002<br>\u5730\u7406\u7a7a\u9593\u30c7\u30fc\u30bf\u306e\u53ef\u8996\u5316\u306b\u7279\u5316\u3057\u3066\u304a\u308a\u3001\u7def\u5ea6\u7d4c\u5ea6\u60c5\u5831\u3092\u6301\u3064\u30c7\u30fc\u30bf\u3092\u5730\u56f3\u4e0a\u306b\u30d7\u30ed\u30c3\u30c8\u3059\u308b\u305f\u3081\u306e\u6a5f\u80fd\u3092\u8c4a\u5bcc\u306b\u5099\u3048\u3066\u3044\u307e\u3059\u3002<br>\u76f4\u611f\u7684\u3067\u30b7\u30f3\u30d7\u30eb\u306aAPI\u3092\u63d0\u4f9b\u3057\u3066\u3044\u308b\u305f\u3081\u3001Python\u306e\u57fa\u790e\u77e5\u8b58\u3055\u3048\u3042\u308c\u3070\u3001\u8ab0\u3067\u3082\u7c21\u5358\u306b\u5730\u56f3\u3092\u4f5c\u6210\u3067\u304d\u308b\u306e\u304c\u5927\u304d\u306a\u7279\u5fb4\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-2\">Cartopy\u3092\u4f7f\u3046\u30e1\u30ea\u30c3\u30c8<\/h3>\n\n\n\n<p>Cartopy\u3092\u4f7f\u3046\u30e1\u30ea\u30c3\u30c8\u306f\u3001\u4f55\u3068\u3044\u3063\u3066\u3082\u7f8e\u3057\u3044\u5730\u56f3\u3092\u624b\u8efd\u306b\u4f5c\u308c\u308b\u3053\u3068\u3067\u3059\u3002<br>\u9ad8\u54c1\u8cea\u306a\u5730\u56f3\u63cf\u753b\u6a5f\u80fd\u3092\u5099\u3048\u3066\u3044\u308b\u305f\u3081\u3001\u5c11\u306a\u3044\u30b3\u30fc\u30c9\u91cf\u3067\u898b\u6804\u3048\u306e\u826f\u3044\u5730\u56f3\u3092\u751f\u6210\u3067\u304d\u307e\u3059\u3002<br>\u307e\u305f\u3001Matplotlib\u306ePyplot\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3068\u7dca\u5bc6\u306b\u9023\u643a\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u30b0\u30e9\u30d5\u3084\u30d7\u30ed\u30c3\u30c8\u3068\u306e\u7d44\u307f\u5408\u308f\u305b\u3082\u5bb9\u6613\u3002<br>\u5730\u56f3\u4e0a\u306b\u30c7\u30fc\u30bf\u306e\u53ef\u8996\u5316\u7d50\u679c\u3092\u91cd\u306d\u3066\u63cf\u753b\u3059\u308b\u306a\u3069\u3001\u8907\u5408\u7684\u306a\u8868\u73fe\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3055\u3089\u306b\u3001Cartopy\u306f180\u7a2e\u985e\u4ee5\u4e0a\u306e\u5730\u56f3\u30d7\u30ed\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059\u3002<br>\u3053\u308c\u306b\u3088\u308a\u3001\u3042\u3089\u3086\u308b\u5730\u57df\u3084\u7528\u9014\u306b\u9069\u3057\u305f\u5730\u56f3\u8868\u73fe\u3092\u67d4\u8edf\u306b\u9078\u629e\u3067\u304d\u307e\u3059\u3002<br>\u52a0\u3048\u3066\u3001\u30b7\u30a7\u30fc\u30d7\u30d5\u30a1\u30a4\u30eb\u3084\u5730\u7406\u9662\u30bf\u30a4\u30eb\u306a\u3069\u306e\u5730\u7406\u7a7a\u9593\u30c7\u30fc\u30bf\u3082\u6271\u3048\u308b\u305f\u3081\u3001\u591a\u69d8\u306a\u30c7\u30fc\u30bf\u30bd\u30fc\u30b9\u3092\u5730\u56f3\u3068\u7d71\u5408\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-3\">\u8a18\u4e8b\u306e\u76ee\u7684\u3068\u30b4\u30fc\u30eb<\/h3>\n\n\n\n<p>\u672c\u8a18\u4e8b\u306f\u3001Python\u3092\u4f7f\u3063\u305f\u30c7\u30fc\u30bf\u53ef\u8996\u5316\u306b\u95a2\u5fc3\u3092\u6301\u3064\u8aad\u8005\u306b\u5411\u3051\u3066\u3001Cartopy\u306e\u4f7f\u3044\u65b9\u3092\u521d\u6b69\u304b\u3089\u4e01\u5be7\u306b\u89e3\u8aac\u3059\u308b\u3053\u3068\u3092\u76ee\u7684\u3068\u3057\u3066\u3044\u307e\u3059\u3002<br>Python\u306e\u57fa\u672c\u7684\u306a\u77e5\u8b58\u306f\u524d\u63d0\u3068\u3057\u3064\u3064\u3001\u5b9f\u884c\u53ef\u80fd\u306a\u30b3\u30fc\u30c9\u30b5\u30f3\u30d7\u30eb\u3092\u6570\u591a\u304f\u793a\u3057\u306a\u304c\u3089\u3001\u5b9f\u8df5\u7684\u306a\u5730\u56f3\u4f5c\u6210\u30b9\u30ad\u30eb\u3092\u8eab\u306b\u3064\u3051\u3066\u3044\u305f\u3060\u304f\u3053\u3068\u3092\u30b4\u30fc\u30eb\u3068\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u8a18\u4e8b\u306e\u524d\u534a\u3067\u306f\u3001Cartopy\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u3084\u57fa\u672c\u7684\u306a\u5730\u56f3\u306e\u63cf\u753b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3059\u3002<br>\u4e2d\u76e4\u304b\u3089\u306f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u306e\u5909\u66f4\u3084\u3001\u70b9\u3084\u7dda\u3001\u30dd\u30ea\u30b4\u30f3\u306e\u30d7\u30ed\u30c3\u30c8\u306a\u3069\u3001\u3088\u308a\u5b9f\u8df5\u7684\u306a\u5185\u5bb9\u306b\u8e0f\u307f\u8fbc\u3093\u3067\u3044\u304d\u307e\u3059\u3002<br>\u5f8c\u534a\u3067\u306f\u3001\u73fe\u5b9f\u306e\u30c7\u30fc\u30bf\u3092\u4f7f\u3063\u305f\u5730\u56f3\u4f5c\u6210\u4f8b\u3084\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u6539\u5584\u306e\u30d2\u30f3\u30c8\u306a\u3069\u3082\u7d39\u4ecb\u3059\u308b\u4e88\u5b9a\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u8aad\u8005\u306e\u65b9\u306b\u306f\u3001\u3053\u306e\u8a18\u4e8b\u3092\u901a\u3057\u3066Cartopy\u306e\u7279\u5fb4\u3068\u53ef\u80fd\u6027\u3092\u5b58\u5206\u306b\u7406\u89e3\u3057\u3066\u3044\u305f\u3060\u304d\u3001<br>\u5b9f\u969b\u306e\u696d\u52d9\u3084\u7814\u7a76\u306e\u5834\u9762\u3067\u3001\u81ea\u4fe1\u3092\u6301\u3063\u3066\u5730\u56f3\u53ef\u8996\u5316\u306b\u53d6\u308a\u7d44\u3093\u3067\u3044\u305f\u3060\u3051\u308c\u3070\u5e78\u3044\u3067\u3059\u3002<br>\u305d\u308c\u3067\u306f\u3001\u65e9\u901fCartopy\u306e\u57fa\u790e\u304b\u3089\u5b66\u3093\u3067\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"i-4\">Cartopy\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5<\/h2>\n\n\n\n<p>Cartopy\u3092\u4f7f\u3063\u3066\u5730\u56f3\u3092\u63cf\u753b\u3059\u308b\u306b\u306f\u3001\u307e\u305a\u74b0\u5883\u306bCartopy\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br>\u3053\u3053\u3067\u306f\u3001Cartopy\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u3092\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-5\">\u74b0\u5883\u69cb\u7bc9\u306e\u524d\u63d0\u6761\u4ef6<\/h3>\n\n\n\n<p>Cartopy\u3092\u554f\u984c\u306a\u304f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u524d\u63d0\u6761\u4ef6\u3092\u6e80\u305f\u3057\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Python 3.5\u4ee5\u964d\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u3053\u3068<\/li>\n\n\n\n<li>pip\u307e\u305f\u306fconda\u3092\u4f7f\u3063\u3066\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u308b\u3053\u3068<\/li>\n\n\n\n<li>NumPy\u3001Shapely\u3001GEOS\u306a\u3069\u3001Cartopy\u304c\u4f9d\u5b58\u3057\u3066\u3044\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u3053\u3068<\/li>\n<\/ul>\n\n\n\n<p>\u7279\u306b\u3001\u5730\u7406\u7a7a\u9593\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3042\u308bGEOS\u3084Proj\u3001Shapely\u3001FIONA\u306f\u3001Cartopy\u306e\u91cd\u8981\u306a\u4f9d\u5b58\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002<br>\u3053\u308c\u3089\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30b7\u30b9\u30c6\u30e0\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u3001Cartopy\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u5931\u6557\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-6\">pip\u3092\u4f7f\u3063\u305f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806<\/h3>\n\n\n\n<p>pip\u3092\u4f7f\u3063\u3066Cartopy\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">pip install cartopy<\/pre>\n\n\n\n<p>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001Cartopy\u3068\u305d\u306e\u4f9d\u5b58\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u81ea\u52d5\u7684\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u3059\u3002<br>\u7279\u5b9a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306eCartopy\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30d0\u30fc\u30b8\u30e7\u30f3\u756a\u53f7\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">pip install cartopy==0.18.0<\/pre>\n\n\n\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3057\u3066\u5730\u56f3\u304c\u63cf\u753b\u3055\u308c\u308b\u304b\u78ba\u8a8d\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">import cartopy.crs as ccrs\nimport matplotlib.pyplot as plt\n\nfig = plt.figure()\nax = fig.add_subplot(1, 1, 1, projection=ccrs.PlateCarree())\nax.coastlines()\nplt.show()<\/pre>\n\n\n\n<p>\u30a8\u30e9\u30fc\u306a\u304f\u5730\u56f3\u304c\u8868\u793a\u3055\u308c\u308c\u3070\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u6210\u529f\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-7\">conda\u3092\u4f7f\u3063\u305f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806<\/h3>\n\n\n\n<p>conda\u3092\u4f7f\u3063\u3066Cartopy\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">conda install -c conda-forge cartopy<\/pre>\n\n\n\n<p>\u3053\u3053\u3067\u306f\u3001conda-forge\u30c1\u30e3\u30f3\u30cd\u30eb\u304b\u3089Cartopy\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u307e\u3059\u3002<br>conda-forge\u306f\u4fe1\u983c\u6027\u306e\u9ad8\u3044\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u63d0\u4f9b\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u3053\u3061\u3089\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3092\u63a8\u5968\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>conda\u306e\u5834\u5408\u3082\u3001\u4f9d\u5b58\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u81ea\u52d5\u7684\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u3059\u3002<br>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5f8c\u306f\u3001\u5148\u8ff0\u306e\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3057\u3066\u5730\u56f3\u306e\u63cf\u753b\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-8\">\u8a73\u7d30\u306a\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0<\/h3>\n\n\n\n<p>Cartopy\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306b\u306f\u3001\u4f9d\u5b58\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u95a2\u9023\u3059\u308b\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<br>\u4f8b\u3048\u3070\u3001GEOS\u3084Proj\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u4e0d\u5b8c\u5168\u306a\u5834\u5408\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">OSError: Could not find lib geos_c or load any of its variants ['libgeos_c.so.1', 'libgeos_c.so'].<\/pre>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306a\u5834\u5408\u306f\u3001\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u624b\u304c\u304b\u308a\u306b\u3001\u8db3\u308a\u306a\u3044\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u500b\u5225\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br>Windows\u30e6\u30fc\u30b6\u30fc\u306e\u5834\u5408\u306f\u3001Unofficial Windows Binaries for Python Extension Packages\u3092\u4f7f\u3046\u3068\u3001<br>\u5fc5\u8981\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4e00\u62ec\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u308b\u306e\u3067\u4fbf\u5229\u3067\u3059\u3002<\/p>\n\n\n\n<p>Cartopy\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u306f\u591a\u5c11\u306e\u8a66\u884c\u932f\u8aa4\u304c\u5fc5\u8981\u306b\u306a\u308b\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u304c\u3001<br>\u4e0a\u8a18\u306e\u624b\u9806\u3068\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u3092\u53c2\u8003\u306b\u3001\u305c\u3072\u74b0\u5883\u69cb\u7bc9\u306b\u30c1\u30e3\u30ec\u30f3\u30b8\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<br>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u3048\u5b8c\u4e86\u3059\u308c\u3070\u3001\u3042\u3068\u306f\u5730\u56f3\u3092\u63cf\u304f\u3060\u3051\u3067\u3059\uff01<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"i-9\">Cartopy\u3067\u5730\u56f3\u3092\u63cf\u753b\u3059\u308b\u305f\u3081\u306e\u57fa\u672c<\/h2>\n\n\n\n<p>Cartopy\u3092\u4f7f\u3063\u305f\u5730\u56f3\u63cf\u753b\u306e\u57fa\u672c\u7684\u306a\u6d41\u308c\u3092\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<br>\u307e\u305a\u306f\u5fc5\u8981\u306a\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308b\u3068\u3053\u308d\u304b\u3089\u59cb\u3081\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-10\">\u5fc5\u8981\u306a\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u30a4\u30f3\u30dd\u30fc\u30c8<\/h3>\n\n\n\n<p>Cartopy\u3067\u5730\u56f3\u3092\u63cf\u753b\u3059\u308b\u306b\u306f\u3001<code>cartopy.crs<\/code>\u3068<code>matplotlib.pyplot<\/code>\u306e2\u3064\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u5fc5\u8981\u3067\u3059\u3002<br>\u305d\u308c\u305e\u308c\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a8\u30a4\u30ea\u30a2\u30b9\u3092\u4ed8\u3051\u3066\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308b\u306e\u304c\u4e00\u822c\u7684\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">import cartopy.crs as ccrs\nimport matplotlib.pyplot as plt<\/pre>\n\n\n\n<p><code>cartopy.crs<\/code>\u306f\u3001\u5730\u56f3\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u3092\u6271\u3046\u305f\u3081\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u3059\u3002<br>\u4e00\u65b9\u3001<code>matplotlib.pyplot<\/code>\u306f\u3001\u30b0\u30e9\u30d5\u63cf\u753b\u30e9\u30a4\u30d6\u30e9\u30eaMatplotlib\u306ePyplot\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092\u63d0\u4f9b\u3059\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u3059\u3002<br>Cartopy\u306f\u3001Matplotlib\u3092\u30d9\u30fc\u30b9\u306b\u3057\u3066\u5730\u56f3\u63cf\u753b\u6a5f\u80fd\u3092\u8ffd\u52a0\u3057\u3066\u3044\u308b\u305f\u3081\u3001<code>plt<\/code>\u30e2\u30b8\u30e5\u30fc\u30eb\u306f\u5fc5\u9808\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-11\">\u521d\u3081\u3066\u306e\u5730\u56f3\u63cf\u753b\u30b3\u30fc\u30c9<\/h3>\n\n\n\n<p>\u305d\u308c\u3067\u306f\u3001\u65e9\u901fCartopy\u3092\u4f7f\u3063\u3066\u4e16\u754c\u5730\u56f3\u3092\u63cf\u753b\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<br>\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">fig = plt.figure(figsize=(10, 5))\nax = fig.add_subplot(1, 1, 1, projection=ccrs.PlateCarree())\n\nax.coastlines()\nax.stock_img()\n\nplt.show()<\/pre>\n\n\n\n<p>\u30b3\u30fc\u30c9\u306e\u5404\u884c\u306e\u610f\u5473\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><code>plt.figure()<\/code>\u3067\u3001\u5730\u56f3\u3092\u63cf\u753b\u3059\u308b\u305f\u3081\u306e\u56f3\uff08Figure\uff09\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<code>figsize<\/code>\u3067\u56f3\u306e\u30b5\u30a4\u30ba\u3092\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002<\/li>\n\n\n\n<li><code>fig.add_subplot()<\/code>\u3067\u3001\u56f3\u306e\u4e2d\u306b\u5730\u56f3\u7528\u306e\u8ef8\uff08Axes\uff09\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<code>projection<\/code>\u30d1\u30e9\u30e1\u30fc\u30bf\u3067\u3001\u5730\u56f3\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u3001PlateCarree\uff08\u6b63\u8ddd\u5186\u7b52\u56f3\u6cd5\uff09\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/li>\n\n\n\n<li><code>ax.coastlines()<\/code>\u3067\u3001\u5730\u56f3\u306b\u6d77\u5cb8\u7dda\u3092\u63cf\u753b\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li><code>ax.stock_img()<\/code>\u3067\u3001\u5730\u56f3\u306e\u80cc\u666f\u306b\u885b\u661f\u753b\u50cf\u3092\u63cf\u753b\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li><code>plt.show()<\/code>\u3067\u3001\u63cf\u753b\u3057\u305f\u5730\u56f3\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n\n\n\n<p>\u5b9f\u884c\u3059\u308b\u3068\u3001\u4e16\u754c\u5730\u56f3\u304c\u63cf\u753b\u3055\u308c\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-12\">\u63cf\u753b\u7d50\u679c\u306e\u89e3\u8aac<\/h3>\n\n\n\n<p>\u4e0a\u306e\u30b3\u30fc\u30c9\u3067\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u4e16\u754c\u5730\u56f3\u304c\u63cf\u753b\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"606\" src=\"https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.44.02-1024x606.png\" alt=\"\" class=\"wp-image-745\" srcset=\"https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.44.02-1024x606.png 1024w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.44.02-300x178.png 300w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.44.02-768x454.png 768w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.44.02-1536x909.png 1536w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.44.02-2048x1212.png 2048w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.44.02-940x556.png 940w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"><\/figure>\n\n\n\n<p>\u6d77\u5cb8\u7dda\u3068\u885b\u661f\u753b\u50cf\u304c\u63cf\u753b\u3055\u308c\u305f\u3001\u30b7\u30f3\u30d7\u30eb\u306a\u4e16\u754c\u5730\u56f3\u3067\u3059\u306d\u3002<br>\u30d7\u30ed\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u306bPlateCarree\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u7d4c\u5ea6\u3068\u7def\u5ea6\u304c\u7b49\u9593\u9694\u306b\u4e26\u3093\u3060\u5730\u56f3\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u3053\u304b\u3089\u3055\u3089\u306b\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u3092\u5909\u66f4\u3057\u305f\u308a\u3001\u56fd\u5883\u7dda\u3084\u30b0\u30ea\u30c3\u30c9\u3092\u8ffd\u52a0\u3057\u305f\u308a\u3068\u3001<br>\u5730\u56f3\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u3044\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4f8b\u3048\u3070\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u3092Mercator\u306b\u5909\u66f4\u3057\u3001\u30e8\u30fc\u30ed\u30c3\u30d1\u4ed8\u8fd1\u306b\u30ba\u30fc\u30e0\u30a4\u30f3\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">fig = plt.figure(figsize=(10, 5))\nax = fig.add_subplot(1, 1, 1, projection=ccrs.Mercator())\n\nax.set_extent([-10, 40, 30, 70])  # \u7d4c\u5ea6-10\u301c40\u5ea6\u3001\u7def\u5ea630\u301c70\u5ea6\u306e\u7bc4\u56f2\u3092\u8868\u793a\n\nax.coastlines(resolution='10m', color='black', linewidth=1)\nax.add_feature(cartopy.feature.BORDERS, linestyle='-', edgecolor='gray')\nax.gridlines(crs=ccrs.PlateCarree(), draw_labels=True)\n\nplt.show()<\/pre>\n\n\n\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u3067\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5730\u56f3\u304c\u63cf\u753b\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"606\" src=\"https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.45.09-1024x606.png\" alt=\"\" class=\"wp-image-746\" srcset=\"https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.45.09-1024x606.png 1024w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.45.09-300x178.png 300w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.45.09-768x454.png 768w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.45.09-1536x909.png 1536w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.45.09-2048x1212.png 2048w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.45.09-940x556.png 940w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"><\/figure>\n\n\n\n<p>\u6d77\u5cb8\u7dda\u306b\u52a0\u3048\u3066\u3001\u56fd\u5883\u7dda\u3068\u30b0\u30ea\u30c3\u30c9\uff08\u7d4c\u7def\u5ea6\u7dda\uff09\u304c\u63cf\u753b\u3055\u308c\u3001\u30e8\u30fc\u30ed\u30c3\u30d1\u5730\u57df\u304c\u62e1\u5927\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br>Mercator\u56f3\u6cd5\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u9ad8\u7def\u5ea6\u5730\u57df\u307b\u3069\u9762\u7a4d\u304c\u5f37\u8abf\u3055\u308c\u3066\u63cf\u753b\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306b\u3001Cartopy\u3067\u306f\u57fa\u672c\u7684\u306a\u30b3\u30fc\u30c9\u69cb\u9020\u306b\u5f93\u3044\u3064\u3064\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u3084\u63cf\u753b\u3059\u308b\u8981\u7d20\u3092\u5909\u66f4\u3059\u308b\u3060\u3051\u3067\u3001<br>\u591a\u69d8\u306a\u5730\u56f3\u8868\u73fe\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u6b21\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u306f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u306e\u8a2d\u5b9a\u65b9\u6cd5\u3084\u3001\u3055\u307e\u3056\u307e\u306a\u5730\u56f3\u8981\u7d20\u306e\u63cf\u753b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u3001<br>\u3088\u308a\u8a73\u3057\u304f\u898b\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"i-13\">\u5730\u56f3\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3059\u308b\u30c6\u30af\u30cb\u30c3\u30af<\/h2>\n\n\n\n<p>Cartopy\u3067\u63cf\u753b\u3057\u305f\u5730\u56f3\u3092\u3055\u3089\u306b\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u3001\u81ea\u5206\u597d\u307f\u306e\u8868\u73fe\u3092\u5b9f\u73fe\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<br>\u3053\u3053\u3067\u306f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u306e\u5909\u66f4\u3001\u6d77\u5cb8\u7dda\u3084\u56fd\u5883\u7dda\u306e\u63cf\u753b\u3001\u8272\u3084\u30b9\u30bf\u30a4\u30eb\u306e\u8abf\u6574\u3001\u7b49\u9ad8\u7dda\u306e\u8ffd\u52a0\u306a\u3069\u3001<br>\u5b9f\u7528\u7684\u306a\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u30c6\u30af\u30cb\u30c3\u30af\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-14\">\u30d7\u30ed\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u306e\u5909\u66f4\u65b9\u6cd5<\/h3>\n\n\n\n<p>Cartopy\u306b\u306f\u3001\u69d8\u3005\u306a\u5730\u56f3\u30d7\u30ed\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br>\u30d7\u30ed\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u3092\u5909\u66f4\u3059\u308b\u306b\u306f\u3001<code>fig.add_subplot()<\/code>\u306e<code>projection<\/code>\u5f15\u6570\u306b\u3001\u76ee\u7684\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u30af\u30e9\u30b9\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<br><code>ccrs<\/code>\u30e2\u30b8\u30e5\u30fc\u30eb\u306b\u306f\u3001PlateCarree\u3001Mercator\u3001Mollweide\u3001Orthographic\u3001Robinson\u3001InterruptedGoodeHomolosine\u306a\u3069\u3001<br>\u3088\u304f\u4f7f\u308f\u308c\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4f8b\u3048\u3070\u3001Mollweide\u56f3\u6cd5\u3092\u4f7f\u7528\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">fig = plt.figure(figsize=(10, 5))\nax = fig.add_subplot(1, 1, 1, projection=ccrs.Mollweide())\n\nax.coastlines()\nax.gridlines()\n\nplt.show()<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"623\" src=\"https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.45.40-1024x623.png\" alt=\"\" class=\"wp-image-747\" srcset=\"https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.45.40-1024x623.png 1024w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.45.40-300x182.png 300w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.45.40-768x467.png 768w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.45.40-1536x934.png 1536w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.45.40-2048x1245.png 2048w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.45.40-940x571.png 940w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"><\/figure>\n\n\n\n<p>Mollweide\u56f3\u6cd5\u306f\u3001\u5168\u7403\u3092\u6b6a\u307f\u306e\u5c11\u306a\u3044\u6955\u5186\u5f62\u306b\u8868\u73fe\u3059\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u3067\u3059\u3002<br>\u4e16\u754c\u5168\u4f53\u306e\u5206\u5e03\u3092\u898b\u308b\u306e\u306b\u9069\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-15\">\u6d77\u5cb8\u7dda\u3084\u56fd\u5883\u7dda\u306e\u8ffd\u52a0\u65b9\u6cd5<\/h3>\n\n\n\n<p><code>ax.coastlines()<\/code>\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3046\u3068\u3001\u5730\u56f3\u306b\u6d77\u5cb8\u7dda\u3092\u63cf\u753b\u3067\u304d\u307e\u3059\u3002<br><code>resolution<\/code>\u5f15\u6570\u3067\u89e3\u50cf\u5ea6\u3092\u6307\u5b9a\u3067\u304d\u3001<code>'110m'<\/code>\u3001<code>'50m'<\/code>\u3001<code>'10m'<\/code>\u306e3\u7a2e\u985e\u304b\u3089\u9078\u3079\u307e\u3059\u3002<br>\u307e\u305f\u3001<code>color<\/code>\u3084<code>linewidth<\/code>\u5f15\u6570\u3067\u3001\u7dda\u306e\u8272\u3084\u592a\u3055\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u56fd\u5883\u7dda\u3084\u9678\u5730\u3001\u6d77\u6d0b\u306a\u3069\u3001\u4ed6\u306e\u5730\u56f3\u8981\u7d20\u3092\u8ffd\u52a0\u3059\u308b\u306b\u306f\u3001<code>ax.add_feature()<\/code>\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3044\u307e\u3059\u3002<br><code>cartopy.feature<\/code>\u30e2\u30b8\u30e5\u30fc\u30eb\u306b\u306f\u3001\u8ffd\u52a0\u53ef\u80fd\u306a\u5730\u56f3\u8981\u7d20\u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">ax.coastlines(resolution='10m', color='black', linewidth=1)\nax.add_feature(cartopy.feature.BORDERS, linestyle='-', edgecolor='gray')\nax.add_feature(cartopy.feature.LAND, facecolor='lightgreen')\nax.add_feature(cartopy.feature.OCEAN, facecolor='lightblue')<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"606\" src=\"https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.46.20-1024x606.png\" alt=\"\" class=\"wp-image-748\" srcset=\"https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.46.20-1024x606.png 1024w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.46.20-300x178.png 300w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.46.20-768x454.png 768w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.46.20-1536x909.png 1536w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.46.20-2048x1212.png 2048w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.46.20-940x556.png 940w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"><\/figure>\n\n\n\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u3067\u306f\u3001\u6d77\u5cb8\u7dda\u306b\u52a0\u3048\u3066\u56fd\u5883\u7dda\u3092\u7070\u8272\u306e\u5b9f\u7dda\u3067\u63cf\u753b\u3057\u3001\u9678\u5730\u3092\u660e\u308b\u3044\u7dd1\u8272\u3001\u6d77\u6d0b\u3092\u660e\u308b\u3044\u9752\u8272\u3067\u5857\u308a\u3064\u3076\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-16\">\u8272\u3084\u30b9\u30bf\u30a4\u30eb\u3092\u5909\u66f4\u3059\u308b\u30b3\u30c4<\/h3>\n\n\n\n<p>Matplotlib\u306e\u8272\u6307\u5b9a\u65b9\u6cd5\u3092\u4f7f\u3063\u3066\u3001\u5730\u56f3\u8981\u7d20\u306e\u8272\u3092\u81ea\u7531\u306b\u5909\u66f4\u3067\u304d\u307e\u3059\u3002<br>\u8272\u540d\uff08<code>'red'<\/code>\u3001<code>'blue'<\/code>\u306a\u3069\uff09\u308416\u9032\u6570\u306e\u30ab\u30e9\u30fc\u30b3\u30fc\u30c9\uff08<code>'#ff0000'<\/code>\u3001<code>'#0000ff'<\/code>\u306a\u3069\uff09\u3092\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<br><code>facecolor<\/code>\u5f15\u6570\u3067\u5857\u308a\u3064\u3076\u3057\u8272\u3092\u3001<code>edgecolor<\/code>\u5f15\u6570\u3067\u7dda\u306e\u8272\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001<code>linestyle<\/code>\u3084<code>linewidth<\/code>\u5f15\u6570\u3067\u3001\u7dda\u306e\u30b9\u30bf\u30a4\u30eb\u3084\u592a\u3055\u3092\u8abf\u6574\u3067\u304d\u307e\u3059\u3002<br><code>linestyle<\/code>\u306f<code>'-'<\/code>\uff08\u5b9f\u7dda\uff09\u3001<code>'--'<\/code>\uff08\u7834\u7dda\uff09\u3001<code>':'<\/code>\uff08\u70b9\u7dda\uff09\u306a\u3069\u306e\u6587\u5b57\u5217\u3067\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">ax.add_feature(cartopy.feature.LAND, facecolor='#f0e9d8', edgecolor='gray')\nax.add_feature(cartopy.feature.OCEAN, facecolor='#d9ecf3')\nax.coastlines(resolution='10m', color='#523a28', linewidth=0.5)<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"606\" src=\"https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.46.57-1024x606.png\" alt=\"\" class=\"wp-image-749\" srcset=\"https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.46.57-1024x606.png 1024w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.46.57-300x178.png 300w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.46.57-768x454.png 768w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.46.57-1536x909.png 1536w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.46.57-2048x1212.png 2048w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.46.57-940x556.png 940w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"><\/figure>\n\n\n\n<p>\u3053\u3053\u3067\u306f\u3001\u9678\u5730\u3092\u30d9\u30fc\u30b8\u30e5\u8272\u3001\u6d77\u6d0b\u3092\u6de1\u3044\u9752\u8272\u3001\u6d77\u5cb8\u7dda\u3092\u8336\u8272\u306e\u7d30\u7dda\u3067\u8868\u73fe\u3057\u3066\u3044\u307e\u3059\u3002<br>\u3053\u306e\u3088\u3046\u306b\u8272\u3092\u8abf\u6574\u3059\u308b\u3060\u3051\u3067\u3001\u30aa\u30ea\u30b8\u30ca\u30ea\u30c6\u30a3\u306e\u3042\u308b\u5730\u56f3\u30c7\u30b6\u30a4\u30f3\u3092\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-17\">\u7b49\u9ad8\u7dda\u306e\u63cf\u753b<\/h3>\n\n\n\n<p>\u7b49\u9ad8\u7dda\u306f\u3001\u6a19\u9ad8\u3084\u6c17\u6e29\u3001\u6c17\u5727\u306a\u3069\u306e\u5024\u306e\u5206\u5e03\u3092\u8996\u899a\u5316\u3059\u308b\u306e\u306b\u4fbf\u5229\u3067\u3059\u3002<br>Cartopy\u3067\u306f\u3001<code>ax.contour()<\/code>\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3063\u3066\u7b49\u9ad8\u7dda\u3092\u63cf\u753b\u3067\u304d\u307e\u3059\u3002<br>\u7b49\u9ad8\u7dda\u306e\u9593\u3092\u5857\u308a\u3064\u3076\u3059\u306b\u306f\u3001<code>ax.contourf()<\/code>\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306f\u3001sin\u95a2\u6570\u3068cos\u95a2\u6570\u3092\u7d44\u307f\u5408\u308f\u305b\u305f\u6570\u5f0f\u3067\u751f\u6210\u3057\u305f\u6a19\u9ad8\u30c7\u30fc\u30bf\u3092\u4f7f\u3063\u3066\u3001\u7b49\u9ad8\u7dda\u3092\u63cf\u753b\u3059\u308b\u4f8b\u3067\u3059\u3002\u8868\u793a\u4f8b\u306a\u306e\u3067\u7b49\u9ad8\u7dda\u306e\u8a2d\u5b9a\u306f\u3081\u3061\u3083\u304f\u3061\u3083\u3067\u3059\u304c\u2026<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">lon = np.linspace(-180, 180, 360)\nlat = np.linspace(-90, 90, 180)\nlon2d, lat2d = np.meshgrid(lon, lat)\ndata = np.cos(np.deg2rad(lat2d) * 4) + np.sin(np.deg2rad(lon2d) * 4)\n\nax.contourf(lon2d, lat2d, data, transform=ccrs.PlateCarree(), cmap='coolwarm')\nax.contour(lon2d, lat2d, data, transform=ccrs.PlateCarree(), colors='black')<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"623\" src=\"https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.48.53-1024x623.png\" alt=\"\" class=\"wp-image-750\" srcset=\"https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.48.53-1024x623.png 1024w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.48.53-300x182.png 300w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.48.53-768x467.png 768w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.48.53-1536x934.png 1536w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.48.53-2048x1245.png 2048w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.48.53-940x571.png 940w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"><\/figure>\n\n\n\n<p><code>cmap<\/code>\u5f15\u6570\u3067\u3001\u5024\u306b\u5fdc\u3058\u305f\u8272\u306e\u6bb5\u968e\u7684\u306a\u5909\u5316\u3092\u8868\u73fe\u3059\u308b\u30ab\u30e9\u30fc\u30de\u30c3\u30d7\u3092\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<br>\u3053\u3053\u3067\u306f\u3001<code>'coolwarm'<\/code>\u3068\u3044\u3046\u9752\u3068\u8d64\u306e\u5bfe\u7167\u7684\u306a\u30ab\u30e9\u30fc\u30de\u30c3\u30d7\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u7b49\u9ad8\u7dda\u3092\u63cf\u753b\u3059\u308b\u969b\u306f\u3001<code>transform<\/code>\u5f15\u6570\u3067\u5ea7\u6a19\u7cfb\u3092\u6307\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br>\u591a\u304f\u306e\u5834\u5408\u3001<code>transform=ccrs.PlateCarree()<\/code>\u3068\u3059\u308c\u3070\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0a\u3001Cartopy\u306b\u3088\u308b\u5730\u56f3\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u30c6\u30af\u30cb\u30c3\u30af\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<br>\u30d7\u30ed\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u3084\u8272\u3001\u30b9\u30bf\u30a4\u30eb\u3092\u5de5\u592b\u3059\u308b\u3060\u3051\u3067\u3001\u305a\u3044\u3076\u3093\u5370\u8c61\u306e\u9055\u3046\u5730\u56f3\u3092\u4f5c\u6210\u3067\u304d\u308b\u306e\u304c\u304a\u5206\u304b\u308a\u3044\u305f\u3060\u3051\u305f\u304b\u3068\u601d\u3044\u307e\u3059\u3002<br>\u305c\u3072\u5b9f\u969b\u306b\u30b3\u30fc\u30c9\u3092\u66f8\u304d\u306a\u304c\u3089\u3001\u81ea\u5206\u3060\u3051\u306e\u5730\u56f3\u3092\u4f5c\u3063\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p>\u6b21\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u306f\u3001\u70b9\u3084\u7dda\u3001\u30dd\u30ea\u30b4\u30f3\u306a\u3069\u306e\u5730\u7269\u3092\u5730\u56f3\u4e0a\u306b\u30d7\u30ed\u30c3\u30c8\u3059\u308b\u65b9\u6cd5\u3084\u3001<br>\u30bf\u30a4\u30eb\u30de\u30c3\u30d7\u3092\u5229\u7528\u3059\u308b\u65b9\u6cd5\u306a\u3069\u3001\u3088\u308a\u9ad8\u5ea6\u306a\u5730\u56f3\u306e\u4f5c\u6210\u30c6\u30af\u30cb\u30c3\u30af\u3092\u898b\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"i-18\">\u3088\u308a\u9ad8\u5ea6\u306a\u5730\u56f3\u306e\u4f5c\u308a\u65b9<\/h2>\n\n\n\n<p>\u3053\u3053\u307e\u3067\u3067\u3001Cartopy\u3092\u4f7f\u3063\u305f\u57fa\u672c\u7684\u306a\u5730\u56f3\u306e\u4f5c\u6210\u65b9\u6cd5\u3084\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u30c6\u30af\u30cb\u30c3\u30af\u3092\u5b66\u3073\u307e\u3057\u305f\u3002<br>\u3053\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u306f\u3001\u70b9\u3084\u7dda\u3001\u30dd\u30ea\u30b4\u30f3\u306a\u3069\u306e\u5730\u7269\u3092\u5730\u56f3\u4e0a\u306b\u30d7\u30ed\u30c3\u30c8\u3059\u308b\u65b9\u6cd5\u3084\u3001<br>\u30bf\u30a4\u30eb\u30de\u30c3\u30d7\u3092\u5229\u7528\u3057\u3066\u5730\u56f3\u306b\u30ea\u30a2\u30eb\u306a\u8868\u73fe\u3092\u52a0\u3048\u308b\u65b9\u6cd5\u306a\u3069\u3001\u3088\u308a\u9ad8\u5ea6\u306a\u5730\u56f3\u4f5c\u6210\u30c6\u30af\u30cb\u30c3\u30af\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-19\">\u70b9\u3084\u7dda\u3001\u30dd\u30ea\u30b4\u30f3\u306e\u30d7\u30ed\u30c3\u30c8<\/h3>\n\n\n\n<p>Cartopy\u3067\u306f\u3001<code>ax.plot()<\/code>\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3063\u3066\u70b9\u3084\u7dda\u3092\u3001<code>ax.fill()<\/code>\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3063\u3066\u30dd\u30ea\u30b4\u30f3\u3092\u5730\u56f3\u4e0a\u306b\u30d7\u30ed\u30c3\u30c8\u3067\u304d\u307e\u3059\u3002<br>\u4ee5\u4e0b\u306f\u3001\u305d\u308c\u305e\u308c\u306e\u4f8b\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">import cartopy.crs as ccrs\nimport matplotlib.pyplot as plt\nimport numpy as np\n\nfig = plt.figure(figsize=(10, 5))\nax = fig.add_subplot(1, 1, 1, projection=ccrs.PlateCarree())\n\n# \u70b9\u3092\u30d7\u30ed\u30c3\u30c8\nlon = np.array([135, -120, 30])\nlat = np.array([35, 50, -25])\nax.plot(lon, lat, 'ro', transform=ccrs.PlateCarree())\n\n# \u7dda\u3092\u30d7\u30ed\u30c3\u30c8\nlon_line = np.linspace(-150, 150, 100)\nlat_line = 30 * np.sin(np.deg2rad(lon_line))\nax.plot(lon_line, lat_line, transform=ccrs.PlateCarree(), linewidth=2, color='blue')\n\n# \u30dd\u30ea\u30b4\u30f3\u3092\u5857\u308a\u3064\u3076\u3057\nlon_poly = np.array([[-100, -80, -80, -100, -100], [30, 30, 40, 40, 30]])\nlat_poly = np.array([[20, 20, 30, 30, 20], [40, 50, 50, 40, 40]])\nax.fill(lon_poly, lat_poly, transform=ccrs.PlateCarree(), color='green', alpha=0.5)\n\nax.coastlines()\nax.gridlines()\n\nplt.show()<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"623\" src=\"https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.49.50-1024x623.png\" alt=\"\" class=\"wp-image-752\" srcset=\"https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.49.50-1024x623.png 1024w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.49.50-300x182.png 300w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.49.50-768x467.png 768w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.49.50-1536x934.png 1536w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.49.50-2048x1245.png 2048w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-05-23.49.50-940x571.png 940w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"><\/figure>\n\n\n\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u3067\u306f\u30013\u3064\u306e\u90fd\u5e02\u306e\u4f4d\u7f6e\u3092\u8d64\u3044\u70b9\u3067\u30d7\u30ed\u30c3\u30c8\u3057\u3001\u6b63\u5f26\u6ce2\u72b6\u306e\u9752\u3044\u7dda\u3092\u63cf\u753b\u3057\u30012\u3064\u306e\u56db\u89d2\u5f62\u30dd\u30ea\u30b4\u30f3\u3092\u534a\u900f\u660e\u306e\u7dd1\u8272\u3067\u5857\u308a\u3064\u3076\u3057\u3066\u3044\u307e\u3059\u3002<br>\u30d7\u30ed\u30c3\u30c8\u3059\u308b\u969b\u306f\u3001<code>transform<\/code>\u5f15\u6570\u3067\u5ea7\u6a19\u7cfb\u3092\u6307\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u591a\u304f\u306e\u5834\u5408\u3001<code>transform=ccrs.PlateCarree()<\/code>\u3068\u3059\u308c\u3070\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u70b9\u3092\u30d7\u30ed\u30c3\u30c8\u3059\u308b\u969b\u306f\u3001<code>ax.scatter()<\/code>\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3046\u3053\u3068\u3067\u3001\u8272\u3084\u5927\u304d\u3055\u3092\u5909\u66f4\u3067\u304d\u307e\u3059\u3002<br>\u307e\u305f\u3001<code>ax.fill()<\/code>\u30e1\u30bd\u30c3\u30c9\u3067\u30dd\u30ea\u30b4\u30f3\u3092\u63cf\u753b\u3059\u308b\u969b\u306f\u3001<code>alpha<\/code>\u5f15\u6570\u3067\u900f\u660e\u5ea6\u3092\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-20\">\u7b49\u9ad8\u7dda\u306e\u63cf\u753b<\/h3>\n\n\n\n<p>\u524d\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u3082\u89e6\u308c\u307e\u3057\u305f\u304c\u3001Cartopy\u3067\u306f<code>ax.contour()<\/code>\u3084<code>ax.contourf()<\/code>\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3063\u3066\u7b49\u9ad8\u7dda\u3092\u63cf\u753b\u3067\u304d\u307e\u3059\u3002<br>\u3053\u3053\u3067\u306f\u3001\u5b9f\u969b\u306e\u6a19\u9ad8\u30c7\u30fc\u30bf\u3092\u4f7f\u3063\u305f\u4f8b\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">import cartopy.crs as ccrs\nimport cartopy.feature as cfeature\nimport matplotlib.pyplot as plt\nimport numpy as np\n\nfig = plt.figure(figsize=(10, 5))\nax = fig.add_subplot(1, 1, 1, projection=ccrs.PlateCarree())\n\n# \u6a19\u9ad8\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u307f\ndata = np.loadtxt('etopo1_bedrock.xyz')\nlon = data[:, 0]\nlat = data[:, 1]\nelev = data[:, 2]\n\nlon_range = slice(80, 160, 4)\nlat_range = slice(-60, 60, 4)\nlon2d, lat2d = np.meshgrid(lon[lon_range], lat[lat_range])\nelev2d = elev.reshape(180, 360)[lat_range, lon_range]\n\n# \u7b49\u9ad8\u7dda\u3092\u63cf\u753b\nax.contourf(lon2d, lat2d, elev2d, transform=ccrs.PlateCarree(), cmap='terrain')\nax.contour(lon2d, lat2d, elev2d, transform=ccrs.PlateCarree(), colors='black', linewidths=0.5)\n\nax.add_feature(cfeature.LAND)\nax.add_feature(cfeature.COASTLINE)\nax.gridlines()\n\nplt.show()<\/pre>\n\n\n\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u3067\u306f\u3001ETOPO1\u306e\u6a19\u9ad8\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u307f\u3001\u30a2\u30b8\u30a2\u301c\u30aa\u30fc\u30b9\u30c8\u30e9\u30ea\u30a2\u5468\u8fba\u306e\u9818\u57df\u3092\u5207\u308a\u51fa\u3057\u3066\u3001\u7b49\u9ad8\u7dda\u3092\u63cf\u753b\u3057\u3066\u3044\u307e\u3059\u3002<br><code>cmap='terrain'<\/code>\u3068\u3059\u308b\u3053\u3068\u3067\u3001\u6a19\u9ad8\u306b\u5fdc\u3058\u305f\u8272\u4ed8\u3051\u304c\u3067\u304d\u307e\u3059\u3002<br>\u307e\u305f\u3001<code>ax.contour()<\/code>\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3063\u3066\u7b49\u9ad8\u7dda\u3092\u91cd\u306d\u308b\u3053\u3068\u3067\u3001\u6a19\u9ad8\u306e\u5909\u5316\u3092\u3088\u308a\u8a73\u7d30\u306b\u8868\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-21\">\u30bf\u30a4\u30eb\u30de\u30c3\u30d7\u306e\u5229\u7528<\/h3>\n\n\n\n<p>Cartopy\u3067\u306f\u3001<code>ax.add_image()<\/code>\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3063\u3066\u30bf\u30a4\u30eb\u30de\u30c3\u30d7\u3092\u5730\u56f3\u306b\u8ffd\u52a0\u3067\u304d\u307e\u3059\u3002<br>\u30bf\u30a4\u30eb\u30de\u30c3\u30d7\u3092\u5229\u7528\u3059\u308b\u3068\u3001\u8a73\u7d30\u306a\u5730\u5f62\u3084\u9053\u8def\u3001\u5efa\u7269\u306a\u3069\u3092\u5730\u56f3\u4e0a\u306b\u8868\u73fe\u3067\u304d\u308b\u305f\u3081\u3001\u3088\u308a\u30ea\u30a2\u30eb\u306a\u5730\u56f3\u3092\u4f5c\u6210\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">import cartopy.crs as ccrs\nimport cartopy.io.img_tiles as cimgt\nimport matplotlib.pyplot as plt\n\nfig = plt.figure(figsize=(10, 10))\nax = fig.add_subplot(1, 1, 1, projection=ccrs.PlateCarree())\n\n# OpenStreetMap\u306e\u30bf\u30a4\u30eb\u30de\u30c3\u30d7\u3092\u8ffd\u52a0\nosm_tiles = cimgt.OSM()\nax.add_image(osm_tiles, 6)\n\n# Stamen Terrain\u306e\u30bf\u30a4\u30eb\u30de\u30c3\u30d7\u3092\u8ffd\u52a0\nstamen_terrain = cimgt.Stamen('terrain-background')\nax.add_image(stamen_terrain, 6)\n\n# \u7bc4\u56f2\u3092\u8a2d\u5b9a\nax.set_extent([135, 140, 34, 37])\n\nplt.show()<\/pre>\n\n\n\n<p>\u3053\u3053\u3067\u306f\u3001OpenStreetMap\u3068Stamen Terrain\u306e2\u7a2e\u985e\u306e\u30bf\u30a4\u30eb\u30de\u30c3\u30d7\u3092\u91cd\u306d\u3066\u8868\u793a\u3057\u3066\u3044\u307e\u3059\u3002<br><code>ax.add_image()<\/code>\u30e1\u30bd\u30c3\u30c9\u306e\u7b2c2\u5f15\u6570\u306f\u3001\u30ba\u30fc\u30e0\u30ec\u30d9\u30eb\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u6570\u5024\u304c\u5927\u304d\u3044\u307b\u3069\u8a73\u7d30\u306a\u5730\u56f3\u306b\u306a\u308a\u307e\u3059\u3002<br>\u30bf\u30a4\u30eb\u30de\u30c3\u30d7\u3092\u8ffd\u52a0\u3059\u308b\u969b\u306f\u3001<code>transform<\/code>\u5f15\u6570\u3067\u30bf\u30a4\u30eb\u306e\u5ea7\u6a19\u7cfb\u3092\u6307\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br>\u591a\u304f\u306e\u5834\u5408\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u8a2d\u5b9a\u3067\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0a\u3001\u70b9\u3084\u7dda\u3001\u30dd\u30ea\u30b4\u30f3\u306e\u30d7\u30ed\u30c3\u30c8\u3001\u7b49\u9ad8\u7dda\u306e\u63cf\u753b\u3001\u30bf\u30a4\u30eb\u30de\u30c3\u30d7\u306e\u5229\u7528\u306a\u3069\u3001<br>\u3088\u308a\u9ad8\u5ea6\u306a\u5730\u56f3\u4f5c\u6210\u30c6\u30af\u30cb\u30c3\u30af\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<br>\u3053\u308c\u3089\u306e\u65b9\u6cd5\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u76ee\u7684\u306b\u5fdc\u3058\u305f\u69d8\u3005\u306a\u5730\u56f3\u8868\u73fe\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u6b21\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u306f\u3001\u3053\u308c\u307e\u3067\u5b66\u3093\u3060\u6280\u8853\u3092\u5fdc\u7528\u3057\u3066\u3001\u5b9f\u969b\u306e\u30c7\u30fc\u30bf\u3092\u53ef\u8996\u5316\u3059\u308b\u5b9f\u8df5\u7684\u306a\u4e8b\u4f8b\u3092\u898b\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"i-22\">\u5b9f\u8df5\u7684\u306a\u5730\u56f3\u4f5c\u6210\u4f8b<\/h2>\n\n\n\n<p>\u3053\u3053\u307e\u3067Cartopy\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u304b\u3089\u5fdc\u7528\u7684\u306a\u30c6\u30af\u30cb\u30c3\u30af\u307e\u3067\u5b66\u3093\u3067\u304d\u307e\u3057\u305f\u3002<br>\u3053\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u306f\u3001\u5b9f\u969b\u306e\u30c7\u30fc\u30bf\u3092\u4f7f\u3063\u305f\u5730\u56f3\u306e\u53ef\u8996\u5316\u4e8b\u4f8b\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<br>\u6c17\u8c61\u30c7\u30fc\u30bf\u3084\u4eba\u53e3\u5bc6\u5ea6\u30c7\u30fc\u30bf\u3001GPS\u306e\u7d4c\u8def\u30c7\u30fc\u30bf\u306a\u3069\u3001\u69d8\u3005\u306a\u30c7\u30fc\u30bf\u3092\u5730\u56f3\u4e0a\u306b\u53ef\u8996\u5316\u3059\u308b\u65b9\u6cd5\u3092\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-23\">\u6c17\u8c61\u30c7\u30fc\u30bf\u306e\u53ef\u8996\u5316<\/h3>\n\n\n\n<p>\u6700\u521d\u306e\u4f8b\u306f\u3001\u6c17\u8c61\u30c7\u30fc\u30bf\u306e\u53ef\u8996\u5316\u3067\u3059\u3002\u3053\u3053\u3067\u306f\u3001\u65e5\u672c\u306e\u6c17\u6e29\u30c7\u30fc\u30bf\u3092\u30d2\u30fc\u30c8\u30de\u30c3\u30d7\u5f62\u5f0f\u3067\u5730\u56f3\u4e0a\u306b\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">import cartopy.crs as ccrs\nimport cartopy.io.shapereader as shapereader\nimport matplotlib.pyplot as plt\nimport numpy as np\n\n# \u6c17\u6e29\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u307f\ndata = np.loadtxt('temperature.csv', delimiter=',', skiprows=1)\nlon = data[:, 0]\nlat = data[:, 1]\ntemp = data[:, 2]\n\nfig = plt.figure(figsize=(10, 10))\nax = fig.add_subplot(1, 1, 1, projection=ccrs.PlateCarree())\n\n# \u6c17\u6e29\u30c7\u30fc\u30bf\u3092\u30d2\u30fc\u30c8\u30de\u30c3\u30d7\u3067\u53ef\u8996\u5316\nlon2d, lat2d = np.meshgrid(lon, lat)\nax.pcolormesh(lon2d, lat2d, temp.reshape(len(lat), len(lon)), cmap='coolwarm', transform=ccrs.PlateCarree())\n\nax.coastlines()\nax.gridlines()\n\n# \u30b7\u30a7\u30fc\u30d7\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u90fd\u9053\u5e9c\u770c\u5883\u754c\u3092\u8aad\u307f\u8fbc\u3093\u3067\u8868\u793a\nshpfilename = shapereader.natural_earth(resolution='10m', category='cultural', name='admin_1_states_provinces')\nax.add_geometries(shapereader.Reader(shpfilename).geometries(), ccrs.PlateCarree(), edgecolor='black', facecolor='none')\n\nplt.colorbar(label='Temperature (\u00b0C)')\n\nplt.show()<\/pre>\n\n\n\n<p><code>ax.pcolormesh()<\/code>\u3092\u4f7f\u3063\u3066\u3001\u6c17\u6e29\u30c7\u30fc\u30bf\u3092\u30d2\u30fc\u30c8\u30de\u30c3\u30d7\u5f62\u5f0f\u3067\u53ef\u8996\u5316\u3057\u3066\u3044\u307e\u3059\u3002<br><code>cartopy.io.shapereader<\/code>\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u4f7f\u3063\u3066\u3001\u90fd\u9053\u5e9c\u770c\u5883\u754c\u306e\u30b7\u30a7\u30fc\u30d7\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u307f\u3001<br><code>ax.add_geometries()<\/code>\u3067\u5730\u56f3\u4e0a\u306b\u63cf\u753b\u3057\u3066\u3044\u307e\u3059\u3002<br>\u3053\u308c\u306b\u3088\u308a\u3001\u6c17\u6e29\u306e\u5206\u5e03\u3068\u5730\u57df\u306e\u95a2\u4fc2\u304c\u308f\u304b\u308a\u3084\u3059\u304f\u8868\u73fe\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-24\">\u4eba\u53e3\u5bc6\u5ea6\u306e\u53ef\u8996\u5316<\/h3>\n\n\n\n<p>\u6b21\u306f\u3001\u4e16\u754c\u306e\u4eba\u53e3\u5bc6\u5ea6\u30c7\u30fc\u30bf\u3092\u5730\u56f3\u4e0a\u306b\u53ef\u8996\u5316\u3059\u308b\u4f8b\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">import cartopy.crs as ccrs\nimport matplotlib.pyplot as plt\nimport numpy as np\nimport pandas as pd\n\n# \u4eba\u53e3\u5bc6\u5ea6\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u307f\ndf = pd.read_csv('population_density.csv')\n\nfig = plt.figure(figsize=(10, 10))\nax = fig.add_subplot(1, 1, 1, projection=ccrs.Robinson())\n\n# \u4eba\u53e3\u5bc6\u5ea6\u306b\u5fdc\u3058\u305f\u8272\u3068\u5927\u304d\u3055\u306e\u70b9\u3092\u30d7\u30ed\u30c3\u30c8\nax.scatter(df['lon'], df['lat'], s=df['population'] \/ 1000000, c=df['density'], cmap='Reds', alpha=0.5, transform=ccrs.PlateCarree())\n\nax.coastlines()\nax.gridlines()\n\nplt.colorbar(label='Population Density (people\/km\u00b2)')\n\nplt.show()<\/pre>\n\n\n\n<p>\u4eba\u53e3\u5bc6\u5ea6\u30c7\u30fc\u30bf\u3092CSV\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u8aad\u307f\u8fbc\u307f\u3001<code>ax.scatter()<\/code>\u3067\u5730\u56f3\u4e0a\u306b\u30d7\u30ed\u30c3\u30c8\u3057\u3066\u3044\u307e\u3059\u3002<br>\u4eba\u53e3\u5bc6\u5ea6\u306b\u5fdc\u3058\u3066\u70b9\u306e\u8272\u3068\u5927\u304d\u3055\u3092\u5909\u3048\u308b\u3053\u3068\u3067\u3001\u8996\u899a\u7684\u306b\u4eba\u53e3\u5206\u5e03\u306e\u7279\u5fb4\u3092\u6349\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br>\u3053\u3053\u3067\u306fRobinson\u56f3\u6cd5\u3092\u4f7f\u7528\u3057\u3001\u4e16\u754c\u5168\u4f53\u306e\u4eba\u53e3\u5206\u5e03\u3092\u4e00\u76ee\u3067\u628a\u63e1\u3067\u304d\u308b\u3088\u3046\u306b\u8868\u73fe\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-25\">\u7d4c\u8def\u306e\u53ef\u8996\u5316<\/h3>\n\n\n\n<p>\u6700\u5f8c\u306f\u3001GPS\u30c7\u30fc\u30bf\u304b\u3089\u53d6\u5f97\u3057\u305f\u7d4c\u8def\u3092\u5730\u56f3\u4e0a\u306b\u53ef\u8996\u5316\u3059\u308b\u4f8b\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">import cartopy.crs as ccrs\nimport cartopy.io.img_tiles as cimgt\nimport matplotlib.pyplot as plt\nimport numpy as np\n\n# \u7d4c\u8def\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u307f\ndata = np.loadtxt('route.csv', delimiter=',', skiprows=1)\nlon = data[:, 0]\nlat = data[:, 1]\n\nfig = plt.figure(figsize=(10, 10))\nax = fig.add_subplot(1, 1, 1, projection=ccrs.PlateCarree())\n\n# OpenStreetMap\u306e\u30bf\u30a4\u30eb\u30de\u30c3\u30d7\u3092\u8ffd\u52a0\nosm_tiles = cimgt.OSM()\nax.add_image(osm_tiles, 6)\n\n# \u7d4c\u8def\u3092\u7dda\u3067\u3064\u306a\u3044\u3067\u8868\u793a\nax.plot(lon, lat, color='red', linewidth=2, transform=ccrs.PlateCarree())\n\nax.set_extent([lon.min() - 0.1, lon.max() + 0.1, lat.min() - 0.1, lat.max() + 0.1])\n\nplt.show()<\/pre>\n\n\n\n<p>\u7d4c\u8def\u30c7\u30fc\u30bf\u3092CSV\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u8aad\u307f\u8fbc\u307f\u3001<code>ax.plot()<\/code>\u3067\u5730\u56f3\u4e0a\u306b\u7dda\u3092\u30d7\u30ed\u30c3\u30c8\u3057\u3066\u3044\u307e\u3059\u3002<br>\u80cc\u666f\u306bOpenStreetMap\u306e\u30bf\u30a4\u30eb\u30de\u30c3\u30d7\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3067\u3001\u7d4c\u8def\u3068\u5730\u56f3\u306e\u95a2\u4fc2\u304c\u308f\u304b\u308a\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<br><code>ax.set_extent()<\/code>\u3067\u7d4c\u8def\u304c\u53ce\u307e\u308b\u3088\u3046\u306b\u5730\u56f3\u306e\u7bc4\u56f2\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u8a73\u7d30\u306a\u7d4c\u8def\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0a\u3001Cartopy\u3092\u4f7f\u3063\u305f\u5b9f\u8df5\u7684\u306a\u5730\u56f3\u53ef\u8996\u5316\u306e\u4e8b\u4f8b\u30923\u3064\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<br>\u6c17\u8c61\u30c7\u30fc\u30bf\u3001\u4eba\u53e3\u5bc6\u5ea6\u30c7\u30fc\u30bf\u3001\u7d4c\u8def\u30c7\u30fc\u30bf\u306a\u3069\u3001\u69d8\u3005\u306a\u30c7\u30fc\u30bf\u3092\u5730\u56f3\u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u53ef\u8996\u5316\u3059\u308b\u3053\u3068\u3067\u3001<br>\u30c7\u30fc\u30bf\u306e\u6301\u3064\u5730\u7406\u7684\u306a\u7279\u5fb4\u3084\u50be\u5411\u3092\u52b9\u679c\u7684\u306b\u8868\u73fe\u3067\u304d\u307e\u3059\u3002<br>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u5fdc\u3058\u3066\u3001\u3053\u308c\u3089\u306e\u4e8b\u4f8b\u3092\u53c2\u8003\u306b\u3057\u306a\u304c\u3089\u3001\u30aa\u30ea\u30b8\u30ca\u30eb\u306e\u5730\u56f3\u3092\u4f5c\u6210\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p>\u6b21\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u306f\u3001Cartopy\u3092\u4f7f\u3046\u4e0a\u3067\u306e\u4fbf\u5229\u306aTips\u3092\u3044\u304f\u3064\u304b\u7d39\u4ecb\u3057\u307e\u3059\u3002<br>\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u6539\u5584\u65b9\u6cd5\u3084\u3001\u4ed6\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u306e\u9023\u643a\u65b9\u6cd5\u306a\u3069\u3092\u53d6\u308a\u4e0a\u3052\u307e\u3059\u306e\u3067\u3001\u304a\u697d\u3057\u307f\u306b\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"i-26\">Cartopy\u306b\u95a2\u3059\u308bTips<\/h2>\n\n\n\n<p>\u3053\u3053\u307e\u3067\u3001Cartopy\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u304b\u3089\u5b9f\u8df5\u7684\u306a\u5fdc\u7528\u4f8b\u307e\u3067\u898b\u3066\u304d\u307e\u3057\u305f\u3002<br>\u6700\u5f8c\u306b\u3001Cartopy\u3092\u4f7f\u3046\u4e0a\u3067\u5f79\u7acb\u3064Tips\u3092\u3044\u304f\u3064\u304b\u7d39\u4ecb\u3057\u307e\u3059\u3002<br>\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u6539\u5584\u306e\u30d2\u30f3\u30c8\u3084\u3001\u4ed6\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u306e\u9023\u643a\u65b9\u6cd5\u306a\u3069\u3092\u53d6\u308a\u4e0a\u3052\u307e\u3059\u306e\u3067\u3001\u53c2\u8003\u306b\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-27\">\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u6539\u5584\u306e\u30d2\u30f3\u30c8<\/h3>\n\n\n\n<p>Cartopy\u3067\u5730\u56f3\u3092\u63cf\u753b\u3059\u308b\u969b\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u6539\u5584\u304c\u5fc5\u8981\u306b\u306a\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<br>\u7279\u306b\u3001\u5927\u91cf\u306e\u30c7\u30fc\u30bf\u3092\u6271\u3046\u5834\u5408\u3084\u3001\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u306a\u64cd\u4f5c\u304c\u5fc5\u8981\u306a\u5834\u5408\u306f\u3001\u63cf\u753b\u901f\u5ea6\u306e\u5411\u4e0a\u304c\u91cd\u8981\u3067\u3059\u3002<br>\u3053\u3053\u3067\u306f\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u6539\u5584\u306e\u30d2\u30f3\u30c8\u3092\u3044\u304f\u3064\u304b\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u63cf\u753b\u3059\u308b\u5730\u56f3\u8981\u7d20\u3092\u6700\u5c0f\u9650\u306b\u6291\u3048\u308b<\/li>\n\n\n\n<li>\u4e0d\u8981\u306a\u8981\u7d20\u3092\u63cf\u753b\u3057\u306a\u3044\u3053\u3068\u3067\u3001\u63cf\u753b\u901f\u5ea6\u3092\u5411\u4e0a\u3067\u304d\u307e\u3059<\/li>\n\n\n\n<li><code>ax.set_extent()<\/code>\u3067\u63cf\u753b\u7bc4\u56f2\u3092\u9650\u5b9a\u3059\u308b<\/li>\n\n\n\n<li>\u63cf\u753b\u7bc4\u56f2\u3092\u9650\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u4e0d\u8981\u306a\u90e8\u5206\u306e\u63cf\u753b\u3092\u7701\u7565\u3067\u304d\u307e\u3059<\/li>\n\n\n\n<li><code>shapely<\/code>\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3063\u3066\u3001\u30b7\u30a7\u30fc\u30d7\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u5fc5\u8981\u306a\u90e8\u5206\u3060\u3051\u3092\u62bd\u51fa\u3059\u308b<\/li>\n\n\n\n<li>\u30b7\u30a7\u30fc\u30d7\u30d5\u30a1\u30a4\u30eb\u5168\u4f53\u3092\u8aad\u307f\u8fbc\u3080\u306e\u3067\u306f\u306a\u304f\u3001\u5fc5\u8981\u306a\u90e8\u5206\u3060\u3051\u3092\u62bd\u51fa\u3059\u308b\u3053\u3068\u3067\u3001\u30e1\u30e2\u30ea\u4f7f\u7528\u91cf\u3068\u63cf\u753b\u6642\u9593\u3092\u524a\u6e1b\u3067\u304d\u307e\u3059<\/li>\n<\/ul>\n\n\n\n<p>\u4ee5\u4e0b\u306f\u3001\u63cf\u753b\u7bc4\u56f2\u3092\u9650\u5b9a\u3057\u3001\u30b7\u30a7\u30fc\u30d7\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u5fc5\u8981\u306a\u90e8\u5206\u3060\u3051\u3092\u62bd\u51fa\u3059\u308b\u4f8b\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">import cartopy.crs as ccrs\nimport cartopy.io.shapereader as shapereader\nimport matplotlib.pyplot as plt\nfrom shapely.geometry import box\n\nfig = plt.figure(figsize=(10, 10))\nax = fig.add_subplot(1, 1, 1, projection=ccrs.PlateCarree())\n\n# \u63cf\u753b\u7bc4\u56f2\u3092\u9650\u5b9a\nextent = [-120, -80, 20, 50]\nax.set_extent(extent)\n\n# \u30b7\u30a7\u30fc\u30d7\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u5fc5\u8981\u306a\u90e8\u5206\u3060\u3051\u3092\u62bd\u51fa\nusa_shp = shapereader.natural_earth(resolution='10m', category='cultural', name='admin_0_countries')\nusa_geom = [geom for geom in shapereader.Reader(usa_shp).geometries() if box(*extent).intersects(geom)]\nax.add_geometries(usa_geom, ccrs.PlateCarree(), edgecolor='black', facecolor='none')\n\nax.coastlines()\nax.gridlines()\n\nplt.show()<\/pre>\n\n\n\n<p>\u3053\u3053\u3067\u306f\u3001<code>extent<\/code>\u5909\u6570\u3067\u63cf\u753b\u7bc4\u56f2\u3092\u6307\u5b9a\u3057\u3001<code>ax.set_extent()<\/code>\u3067\u9069\u7528\u3057\u3066\u3044\u307e\u3059\u3002<br>\u307e\u305f\u3001<code>shapely<\/code>\u306e<code>box<\/code>\u3092\u4f7f\u3063\u3066\u7bc4\u56f2\u5185\u306b\u53ce\u307e\u308b\u30b8\u30aa\u30e1\u30c8\u30ea\u3060\u3051\u3092\u62bd\u51fa\u3057\u3001<code>ax.add_geometries()<\/code>\u3067\u63cf\u753b\u3057\u3066\u3044\u307e\u3059\u3002<br>\u3053\u308c\u306b\u3088\u308a\u3001\u30a2\u30e1\u30ea\u30ab\u5927\u9678\u306e\u4e00\u90e8\u3060\u3051\u3092\u52b9\u7387\u7684\u306b\u63cf\u753b\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"966\" height=\"1024\" src=\"https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-06-0.20.13-966x1024.png\" alt=\"\" class=\"wp-image-753\" srcset=\"https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-06-0.20.13-966x1024.png 966w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-06-0.20.13-283x300.png 283w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-06-0.20.13-768x814.png 768w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-06-0.20.13-1449x1536.png 1449w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-06-0.20.13-1932x2048.png 1932w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-06-0.20.13-940x996.png 940w\" sizes=\"auto, (max-width: 966px) 100vw, 966px\"><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-28\">\u4ed6\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u306e\u9023\u643a\u65b9\u6cd5<\/h3>\n\n\n\n<p>Cartopy\u306f\u3001\u4ed6\u306e\u5730\u7406\u60c5\u5831\u95a2\u9023\u306ePython\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u9023\u643a\u3059\u308b\u3053\u3068\u3067\u3001\u3088\u308a\u591a\u5f69\u306a\u5730\u56f3\u8868\u73fe\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<br>\u3053\u3053\u3067\u306f\u3001<code>geopandas<\/code>\u3092\u4f7f\u3063\u3066\u30b7\u30a7\u30fc\u30d7\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u307f\u3001\u5730\u56f3\u4e0a\u306b\u30d7\u30ed\u30c3\u30c8\u3059\u308b\u4f8b\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">import geopandas as gpd\nimport matplotlib.pyplot as plt\n\nfig, ax = plt.subplots(subplot_kw={'projection': ccrs.PlateCarree()})\n\n# GeoDataFrame\u304b\u3089\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u307f\ngdf = gpd.read_file('countries.shp')\n\n# \u5730\u56f3\u4e0a\u306b\u30d7\u30ed\u30c3\u30c8\ngdf.plot(ax=ax, cmap='viridis', edgecolor='black', linewidth=0.5)\nax.coastlines()\nax.gridlines()\nplt.show()<\/pre>\n\n\n\n<p><code>geopandas<\/code>\u306e<code>read_file()<\/code>\u3092\u4f7f\u3063\u3066\u30b7\u30a7\u30fc\u30d7\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u307f\u3001<code>GeoDataFrame<\/code>\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<br><code>plot()<\/code>\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3063\u3066\u3001<code>GeoDataFrame<\/code>\u3092\u5730\u56f3\u4e0a\u306b\u30d7\u30ed\u30c3\u30c8\u3067\u304d\u307e\u3059\u3002<br>\u3053\u306e\u3088\u3046\u306b\u3001<code>geopandas<\/code>\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u30b7\u30a7\u30fc\u30d7\u30d5\u30a1\u30a4\u30eb\u306e\u6271\u3044\u304c\u7c21\u5358\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4ed6\u306b\u3082\u3001<code>rasterio<\/code>\u3092\u4f7f\u3063\u3066\u30e9\u30b9\u30bf\u30fc\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u3093\u3060\u308a\u3001<code>folium<\/code>\u3092\u4f7f\u3063\u3066\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u306a\u5730\u56f3\u3092\u4f5c\u6210\u3057\u305f\u308a\u3067\u304d\u307e\u3059\u3002<br>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u8981\u4ef6\u306b\u5fdc\u3058\u3066\u3001\u9069\u5207\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u9078\u629e\u3057\u3001Cartopy\u3068\u9023\u643a\u3055\u305b\u308b\u3053\u3068\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-29\">\u30ae\u30e3\u30e9\u30ea\u30fc\u3084\u53c2\u8003\u8cc7\u6599\u306e\u7d39\u4ecb<\/h3>\n\n\n\n<p>Cartopy\u306e\u4f7f\u3044\u65b9\u3092\u5b66\u3076\u4e0a\u3067\u3001\u30ae\u30e3\u30e9\u30ea\u30fc\u3084\u53c2\u8003\u8cc7\u6599\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002<br>\u4ee5\u4e0b\u306f\u3001\u5f79\u7acb\u3064\u30ea\u30bd\u30fc\u30b9\u306e\u4e00\u90e8\u3067\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Cartopy\u516c\u5f0f\u30ae\u30e3\u30e9\u30ea\u30fc: <a href=\"https:\/\/scitools.org.uk\/cartopy\/docs\/latest\/gallery\/index.html\">https:\/\/scitools.org.uk\/cartopy\/docs\/latest\/gallery\/index.html<\/a>\n<ul class=\"wp-block-list\">\n<li>Cartopy\u3092\u4f7f\u3063\u305f\u69d8\u3005\u306a\u5730\u56f3\u4f5c\u6210\u4e8b\u4f8b\u304c\u63b2\u8f09\u3055\u308c\u3066\u3044\u307e\u3059<\/li>\n\n\n\n<li>\u30b3\u30fc\u30c9\u3092\u898b\u306a\u304c\u3089\u3001\u5b9f\u88c5\u65b9\u6cd5\u3092\u5b66\u3076\u3053\u3068\u304c\u3067\u304d\u307e\u3059<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Matplotlib\u516c\u5f0f\u30ae\u30e3\u30e9\u30ea\u30fc: <a href=\"https:\/\/matplotlib.org\/stable\/gallery\/index.html\">https:\/\/matplotlib.org\/stable\/gallery\/index.html<\/a>\n<ul class=\"wp-block-list\">\n<li>Matplotlib\u3092\u4f7f\u3063\u305f\u30b0\u30e9\u30d5\u4f5c\u6210\u4e8b\u4f8b\u304c\u8c4a\u5bcc\u306b\u63b2\u8f09\u3055\u308c\u3066\u3044\u307e\u3059<\/li>\n\n\n\n<li>\u5730\u56f3\u4ee5\u5916\u306e\u30b0\u30e9\u30d5\u4f5c\u6210\u306b\u3082\u5f79\u7acb\u3061\u307e\u3059<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Python\u30c7\u30fc\u30bf\u30b5\u30a4\u30a8\u30f3\u30b9\u30cf\u30f3\u30c9\u30d6\u30c3\u30af:<a href=\"https:\/\/jakevdp.github.io\/PythonDataScienceHandbook\/\"> https:\/\/jakevdp.github.io\/PythonDataScienceHandbook\/<\/a>\n<ul class=\"wp-block-list\">\n<li>Python\u3092\u4f7f\u3063\u305f\u30c7\u30fc\u30bf\u53ef\u8996\u5316\u306e\u624b\u6cd5\u304c\u4f53\u7cfb\u7684\u306b\u307e\u3068\u3081\u3089\u308c\u3066\u3044\u307e\u3059<\/li>\n\n\n\n<li>Cartopy\u306b\u3064\u3044\u3066\u3082\u8a00\u53ca\u3055\u308c\u3066\u3044\u307e\u3059<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p>\u3053\u308c\u3089\u306e\u30ea\u30bd\u30fc\u30b9\u3092\u53c2\u8003\u306b\u3001Cartopy\u306e\u4f7f\u3044\u65b9\u3092\u6df1\u304f\u7406\u89e3\u3057\u3001\u81ea\u5206\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u6d3b\u304b\u3057\u3066\u3044\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0a\u3001Cartopy\u306b\u95a2\u3059\u308bTips\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<br>\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u6539\u5584\u306e\u30d2\u30f3\u30c8\u3084\u3001\u4ed6\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u306e\u9023\u643a\u65b9\u6cd5\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u3088\u308a\u52b9\u679c\u7684\u306a\u5730\u56f3\u4f5c\u6210\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<br>\u307e\u305f\u3001\u30ae\u30e3\u30e9\u30ea\u30fc\u3084\u53c2\u8003\u8cc7\u6599\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u65b0\u3057\u3044\u30a2\u30a4\u30c7\u30a2\u3084\u30c6\u30af\u30cb\u30c3\u30af\u3092\u5b66\u3076\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br>Cartopy\u306e\u53ef\u80fd\u6027\u3092\u6700\u5927\u9650\u306b\u5f15\u304d\u51fa\u3057\u3001\u9b45\u529b\u7684\u306a\u5730\u56f3\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"i-30\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p>\u672c\u8a18\u4e8b\u3067\u306f\u3001Python\u306e\u5730\u56f3\u63cf\u753b\u30e9\u30a4\u30d6\u30e9\u30ea\u300cCartopy\u300d\u306e\u4f7f\u3044\u65b9\u3092\u57fa\u790e\u304b\u3089\u5fdc\u7528\u307e\u3067\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u304d\u307e\u3057\u305f\u3002<br>\u3053\u3053\u3067\u306f\u3001\u8a18\u4e8b\u306e\u5185\u5bb9\u3092\u632f\u308a\u8fd4\u308a\u3001Cartopy\u3092\u4f7f\u3046\u30e1\u30ea\u30c3\u30c8\u3092\u518d\u78ba\u8a8d\u3057\u307e\u3059\u3002\u307e\u305f\u3001\u4eca\u5f8c\u306e\u5b66\u7fd2\u3084\u5b9f\u8df5\u306b\u5411\u3051\u305f\u30a2\u30c9\u30d0\u30a4\u30b9\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-31\">Cartopy\u3092\u4f7f\u3046\u30e1\u30ea\u30c3\u30c8\u306e\u518d\u78ba\u8a8d<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Python\u306e\u77e5\u8b58\u304c\u3042\u308c\u3070\u3001\u8ab0\u3067\u3082\u7c21\u5358\u306b\u7f8e\u3057\u3044\u5730\u56f3\u3092\u4f5c\u6210\u3067\u304d\u308b<\/li>\n\n\n\n<li>\u591a\u69d8\u306a\u5730\u56f3\u30d7\u30ed\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u306b\u5bfe\u5fdc\u3057\u3001\u67d4\u8edf\u306a\u63cf\u753b\u304c\u53ef\u80fd<\/li>\n\n\n\n<li>Matplotlib\u30d9\u30fc\u30b9\u3067\u3001\u4ed6\u306e\u30d7\u30ed\u30c3\u30c8\u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u4f7f\u3048\u308b<\/li>\n\n\n\n<li>\u70b9\u3084\u7dda\u3001\u30dd\u30ea\u30b4\u30f3\u306a\u3069\u306e\u5730\u7269\u3092\u81ea\u5728\u306b\u63cf\u753b\u3067\u304d\u308b<\/li>\n\n\n\n<li>\u5730\u7406\u9662\u30bf\u30a4\u30eb\u306a\u3069\u306e\u30bf\u30a4\u30eb\u30de\u30c3\u30d7\u3092\u91cd\u306d\u3066\u8868\u793a\u3067\u304d\u308b<\/li>\n<\/ul>\n\n\n\n<p>Cartopy\u306f\u3001Python\u30e6\u30fc\u30b6\u30fc\u306b\u3068\u3063\u3066\u975e\u5e38\u306b\u9b45\u529b\u7684\u306a\u5730\u56f3\u63cf\u753b\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002<br>\u30b7\u30f3\u30d7\u30eb\u306a\u30b3\u30fc\u30c9\u3067\u7f8e\u3057\u3044\u5730\u56f3\u3092\u4f5c\u6210\u3067\u304d\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u69d8\u3005\u306a\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u304c\u53ef\u80fd\u306a\u305f\u3081\u3001<br>\u76ee\u7684\u306b\u5fdc\u3058\u305f\u5e45\u5e83\u3044\u8868\u73fe\u304c\u53ef\u80fd\u3067\u3059\u3002<br>Matplotlib\u7b49\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u5730\u56f3\u3068\u30b0\u30e9\u30d5\u3092\u878d\u5408\u3055\u305b\u305f\u8996\u899a\u7684\u306b\u512a\u308c\u305f\u53ef\u8996\u5316\u3082\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-32\">\u8a18\u4e8b\u306e\u304a\u3055\u3089\u3044<\/h3>\n\n\n\n<p>\u672c\u8a18\u4e8b\u3067\u306f\u3001\u4ee5\u4e0b\u306e\u5185\u5bb9\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Cartopy\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u3068\u57fa\u672c\u7684\u306a\u5730\u56f3\u306e\u63cf\u753b\u65b9\u6cd5<\/li>\n\n\n\n<li>\u30d7\u30ed\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u306e\u8a2d\u5b9a\u3084\u5730\u56f3\u8981\u7d20\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u65b9\u6cd5<\/li>\n\n\n\n<li>\u70b9\u3084\u7dda\u3001\u30dd\u30ea\u30b4\u30f3\u306e\u63cf\u753b\u3001\u7b49\u9ad8\u7dda\u306e\u8ffd\u52a0\u3001\u30bf\u30a4\u30eb\u30de\u30c3\u30d7\u306e\u5229\u7528\u306a\u3069<\/li>\n\n\n\n<li>\u6c17\u8c61\u30c7\u30fc\u30bf\u3001\u4eba\u53e3\u5bc6\u5ea6\u30c7\u30fc\u30bf\u3001\u7d4c\u8def\u30c7\u30fc\u30bf\u3092\u4f7f\u3063\u305f\u5b9f\u8df5\u7684\u306a\u53ef\u8996\u5316\u4e8b\u4f8b<\/li>\n\n\n\n<li>\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u6539\u5584\u306e\u30d2\u30f3\u30c8\u3084\u4ed6\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u306e\u9023\u643a\u65b9\u6cd5<\/li>\n<\/ol>\n\n\n\n<p>\u5b9f\u884c\u53ef\u80fd\u306a\u30b3\u30fc\u30c9\u4f8b\u3092\u6570\u591a\u304f\u793a\u3057\u306a\u304c\u3089\u3001\u6bb5\u968e\u7684\u306bCartopy\u306e\u4f7f\u3044\u65b9\u3092\u89e3\u8aac\u3057\u3066\u304d\u307e\u3057\u305f\u3002<br>\u57fa\u672c\u7684\u306a\u5730\u56f3\u306e\u63cf\u753b\u304b\u3089\u59cb\u307e\u308a\u3001\u5f90\u3005\u306b\u9ad8\u5ea6\u306a\u8868\u73fe\u3084\u5b9f\u8df5\u7684\u306a\u5fdc\u7528\u4f8b\u3078\u3068\u9032\u307f\u307e\u3057\u305f\u3002<br>\u307e\u305f\u3001\u52b9\u7387\u7684\u306a\u5730\u56f3\u63cf\u753b\u306e\u305f\u3081\u306eTips\u3084\u3001\u4ed6\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u306e\u9023\u643a\u65b9\u6cd5\u306a\u3069\u3082\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-33\">\u4eca\u5f8c\u306b\u5411\u3051\u305f\u30a2\u30c9\u30d0\u30a4\u30b9<\/h3>\n\n\n\n<p>Cartopy\u3092\u4f7f\u3044\u3053\u306a\u3059\u306b\u306f\u3001\u5b9f\u969b\u306b\u624b\u3092\u52d5\u304b\u3057\u3066\u5730\u56f3\u3092\u4f5c\u6210\u3057\u3066\u307f\u308b\u3053\u3068\u304c\u5927\u5207\u3067\u3059\u3002<br>\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a2\u30d7\u30ed\u30fc\u30c1\u3067\u3001Cartopy\u306e\u7406\u89e3\u3092\u6df1\u3081\u3001\u30b9\u30ad\u30eb\u3092\u5411\u4e0a\u3055\u305b\u3066\u3044\u304f\u3053\u3068\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u516c\u5f0f\u30ae\u30e3\u30e9\u30ea\u30fc\u3084Matplotlib\u306e\u30ae\u30e3\u30e9\u30ea\u30fc\u3092\u53c2\u8003\u306b\u3001\u69d8\u3005\u306a\u5730\u56f3\u8868\u73fe\u3092\u8a66\u3057\u3066\u307f\u308b<\/li>\n\n\n\n<li>\u30b7\u30a7\u30fc\u30d7\u30d5\u30a1\u30a4\u30eb\u3084\u30e9\u30b9\u30bf\u30fc\u30c7\u30fc\u30bf\u306a\u3069\u3001\u5730\u7406\u7a7a\u9593\u30c7\u30fc\u30bf\u306e\u6271\u3044\u65b9\u3092\u5b66\u3076<\/li>\n\n\n\n<li>\u5730\u56f3\u3092\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u306b\u64cd\u4f5c\u3067\u304d\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\uff08Folium\u306a\u3069\uff09\u306b\u3082\u6311\u6226\u3057\u3066\u307f\u308b<\/li>\n\n\n\n<li>\u5730\u56f3\u3092\u4f7f\u3063\u305f\u30c7\u30fc\u30bf\u5206\u6790\u3084\u53ef\u8996\u5316\u306b\u7a4d\u6975\u7684\u306b\u53d6\u308a\u7d44\u3093\u3067\u307f\u308b<\/li>\n<\/ul>\n\n\n\n<p>Cartopy\u3092\u4f7f\u3044\u3053\u306a\u3059\u3053\u3068\u3067\u3001\u5730\u7406\u7a7a\u9593\u30c7\u30fc\u30bf\u306e\u53ef\u8996\u5316\u306e\u5e45\u304c\u5927\u304d\u304f\u5e83\u304c\u308a\u307e\u3059\u3002<br>\u305c\u3072\u3001\u81ea\u5206\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3084\u7814\u7a76\u306b\u6d3b\u304b\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p>\u6700\u5f8c\u306b\u3001\u30b7\u30f3\u30d7\u30eb\u306a\u4e16\u754c\u5730\u56f3\u306e\u63cf\u753b\u30b3\u30fc\u30c9\u3092\u793a\u3057\u3066\u3001\u8a18\u4e8b\u306e\u7de0\u3081\u304f\u304f\u308a\u3068\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">import cartopy.crs as ccrs\nimport matplotlib.pyplot as plt\nimport numpy as np\n\n# \u63cf\u753b\u9818\u57df\u3092\u4f5c\u6210\nfig = plt.figure(figsize=(10, 5))\nax = fig.add_subplot(1, 1, 1, projection=ccrs.Robinson())\n\n# \u6d77\u5cb8\u7dda\u3092\u63cf\u753b\nax.coastlines(resolution='50m', color='black', linewidth=0.5)\n\n# \u7def\u5ea6\u7dda\u3068\u7d4c\u5ea6\u7dda\u3092\u63cf\u753b \nax.gridlines(linestyle='--', color='gray', linewidth=0.5)\n\n# \u9678\u5730\u3068\u6d77\u6d0b\u3092\u5857\u308a\u3064\u3076\u3057\nax.add_feature(cartopy.feature.LAND, facecolor='lightgreen')\nax.add_feature(cartopy.feature.OCEAN, facecolor='lightblue')\n\n# \u30bf\u30a4\u30c8\u30eb\u3092\u8ffd\u52a0\nax.set_title('World Map with Cartopy', fontsize=16)\n\nplt.show()<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"606\" src=\"https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-06-0.21.15-1024x606.png\" alt=\"\" class=\"wp-image-754\" srcset=\"https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-06-0.21.15-1024x606.png 1024w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-06-0.21.15-300x178.png 300w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-06-0.21.15-768x454.png 768w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-06-0.21.15-1536x909.png 1536w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-06-0.21.15-2048x1212.png 2048w, https:\/\/chocottopro.com\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-06-0.21.15-940x556.png 940w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"><\/figure>\n\n\n\n<p>\u4ee5\u4e0a\u3067\u3001\u300c\u3010\u521d\u5fc3\u8005\u5411\u3051\u3011\u305f\u3063\u305f10\u884c\u306ePython\u30b3\u30fc\u30c9\u3067\u30ab\u30c3\u30b3\u3044\u3044\u5730\u56f3\u3092\u4f5c\u308b\uff01Cartopy\u5165\u9580\u30ac\u30a4\u30c9\u300d\u3092\u7d42\u308f\u308a\u307e\u3059\u3002<br>Cartopy\u306e\u57fa\u790e\u304b\u3089\u5fdc\u7528\u307e\u3067\u3001\u5b9f\u8df5\u7684\u306a\u4f7f\u3044\u65b9\u3092\u5b66\u3093\u3067\u3044\u305f\u3060\u3051\u305f\u304b\u3068\u601d\u3044\u307e\u3059\u3002<br>\u7f8e\u3057\u3044\u5730\u56f3\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306e\u7b2c\u4e00\u6b69\u3092\u8e0f\u307f\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u305f\u306e\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002<br>\u4eca\u5f8c\u3082\u3001Python\u3068\u5730\u7406\u7a7a\u9593\u30c7\u30fc\u30bf\u306e\u53ef\u80fd\u6027\u3092\u8ffd\u6c42\u3057\u3001\u9b45\u529b\u7684\u306a\u53ef\u8996\u5316\u306b\u30c1\u30e3\u30ec\u30f3\u30b8\u3057\u3066\u3044\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p>\u8aad\u3093\u3067\u3044\u305f\u3060\u304d\u3001\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Python\u3067\u5730\u7406\u30c7\u30fc\u30bf\u306e\u53ef\u8996\u5316\u3092\u3057\u305f\u3044\u3068\u601d\u3063\u305f\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u304b\uff1f\u5b9f\u306f\u3001Cartopy\u3068\u3044\u3046\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3048\u3070\u3001\u8ab0\u3067\u3082\u7c21\u5358\u306b\u7f8e\u3057\u3044\u5730\u56f3\u3092\u4f5c\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3093\u3067\u3059\u3002\u672c\u8a18\u4e8b\u3067\u306f\u3001Cartopy\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u304b\u3089\u5b9f\u8df5\u7684\u306a\u5fdc\u7528 &#8230; <\/p>\n","protected":false},"author":1,"featured_media":755,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":{"0":"post-744","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-python"},"_links":{"self":[{"href":"https:\/\/chocottopro.com\/index.php?rest_route=\/wp\/v2\/posts\/744","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chocottopro.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chocottopro.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chocottopro.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chocottopro.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=744"}],"version-history":[{"count":2,"href":"https:\/\/chocottopro.com\/index.php?rest_route=\/wp\/v2\/posts\/744\/revisions"}],"predecessor-version":[{"id":756,"href":"https:\/\/chocottopro.com\/index.php?rest_route=\/wp\/v2\/posts\/744\/revisions\/756"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/chocottopro.com\/index.php?rest_route=\/wp\/v2\/media\/755"}],"wp:attachment":[{"href":"https:\/\/chocottopro.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=744"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chocottopro.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=744"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chocottopro.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=744"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}