<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>koshidaのブログ</title>
<link>https://ameblo.jp/koshida-tomoki/</link>
<atom:link href="https://rssblog.ameba.jp/koshida-tomoki/rss20.xml" rel="self" type="application/rss+xml" />
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com" />
<description>ブログの説明を入力します。</description>
<language>ja</language>
<item>
<title>python pip インストール</title>
<description>
<![CDATA[ <p>pip install netcdf4(return)</p><p>書式</p><p>pip 実行したいコマンド(install) コマンドに対する引数（インストールしたいPRG）</p><p>&nbsp;</p><p>うまく行かず。</p><p>&nbsp;Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.python.org', port=443): Read timed out. (read timeout=15)",)': /simple/netcdf4/</p><p>↑</p><p>GiveUP</p><p>&nbsp;</p><p>※HDF5</p><p>&nbsp;</p><p>recommend --- NG</p><div class="ogpCard_root"><article class="ogpCard_wrap" contenteditable="false" style="display:inline-block;max-width:100%"><a class="ogpCard_link" data-ogp-card-log="" href="https://docs.h5py.org/en/latest/build.html#install" rel="noopener noreferrer" style="display:flex;justify-content:space-between;overflow:hidden;box-sizing:border-box;width:620px;max-width:100%;height:120px;border:1px solid #e2e2e2;border-radius:4px;background-color:#fff;text-decoration:none" target="_blank"><span class="ogpCard_content" style="display:flex;flex-direction:column;overflow:hidden;width:100%;padding:16px"><span class="ogpCard_title" style="-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;max-height:48px;line-height:1.4;font-size:16px;color:#333;text-align:left;font-weight:bold;overflow:hidden">Installation — h5py 3.1.0 documentation</span><span class="ogpCard_url" style="display:flex;align-items:center;margin-top:auto"><span class="ogpCard_iconWrap" style="position:relative;width:20px;height:20px;flex-shrink:0"><img alt="リンク" class="ogpCard_icon" height="20" loading="lazy" src="https://c.stat100.ameba.jp/ameblo/symbols/v3.20.0/svg/gray/editor_link.svg" style="position:absolute;top:0;bottom:0;right:0;left:0;height:100%;max-height:100%" width="20"></span><span class="ogpCard_urlText" style="overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#757575;font-size:12px;text-align:left">docs.h5py.org</span></span></span></a></article></div><p>&nbsp;</p><p>&nbsp;</p><p><a href="https://docs.h5py.org/en/latest/build.html#install" target="_blank">https://docs.h5py.org/en/latest/build.html#install</a></p><p><a href="https://www.lfd.uci.edu/~gohlke/pythonlibs/" target="_blank">https://www.lfd.uci.edu/~gohlke/pythonlibs/</a></p><p>&nbsp;</p><p>C++からmake する</p><p>&nbsp;</p>
]]>
</description>
<link>https://ameblo.jp/koshida-tomoki/entry-12658460837.html</link>
<pubDate>Tue, 23 Feb 2021 12:22:07 +0900</pubDate>
</item>
<item>
<title>d4pdfダウンロード</title>
<description>
<![CDATA[ <p>●URL</p><p>・トップページ：　<a href="http://www.miroc-gcm.jp/~pub/d4PDF/">http://www.miroc-gcm.jp/~pub/d4PDF/</a>　（概要のみ、ダウンロードサイトへはいけない）</p><p>・領域を指定して切り出しについてのおしらせ<a href="https://www.diasjp.net/infomation/d4pdf-download/">https://www.diasjp.net/infomation/d4pdf-download/</a></p><p>・ダウンロードシステム<a href="https://www.diasjp.net/service/d4pdf-data-download/">https://www.diasjp.net/service/d4pdf-data-download/</a></p><p>⇒ページに記載されたURLをクリックし、タブd4PDF_RCMを選択で、<a href="http://d4pdf.diasjp.net/d4PDF.cgi?target=RCM-subset&amp;lang=ja">http://d4pdf.diasjp.net/d4PDF.cgi?target=RCM-subset&amp;lang=ja</a>（d4PDF切り出し）が表示される。コンテンツは以下。</p><p>過去実験</p><p>将来4度昇温実験（昇温パターン = CCSM4） : HFB_4K_CC<br>将来4度昇温実験（昇温パターン=GFDL-CM3）:HFB_4K_GF<br>将来4度昇温実験（昇温パターン=HadGEM2-AO）:HFB_4K_HA<br>将来4度昇温実験（昇温パターン=MIROC5）:HFB_4K_MI<br>将来4度昇温実験（昇温パターン=MPI-ESM-MR）:HFB_4K_MP<br>将来4度昇温実験（昇温パターン=MRI-CGCM3）:HFB_4K_MR<br>将来2度昇温実験（昇温パターン=CCSM4）:HFB_2K_CC<br>将来2度昇温実験（昇温パターン=GFDL-CM3）:HFB_2K_GF<br>将来2度昇温実験（昇温パターン=HadGEM2-AO）:HFB_2K_HA<br>将来2度昇温実験（昇温パターン=MIROC5）:HFB_2K_MI<br>将来2度昇温実験（昇温パターン=MPI-ESM-MR）:HFB_2K_MP<br>将来2度昇温実験（昇温パターン=MRI-CGCM3）:HFB_2K_MR</p><p>・データベースの説明<a href="http://search.diasjp.net/ja/dataset/d4PDF_RCM">http://search.diasjp.net/ja/dataset/d4PDF_RCM</a></p><p>関連</p><p>代表シナリオ：<a href="http://www.mext.go.jp/b_menu/houdou/26/03/attach/1346369.htm">http://www.mext.go.jp/b_menu/houdou/26/03/attach/1346369.htm</a></p><p>●気象庁WEBページ（データ紹介の入り口)</p><p><a href="https://www.data.jma.go.jp/cpdinfo/gw_portal/future_climate_change.html">https://www.data.jma.go.jp/cpdinfo/gw_portal/future_climate_change.html</a></p><p>①複数シナリオ</p><p>RCP2.6シナリオ：3ケース<br>RCP4.5シナリオ：3ケース<br>RCP6.0シナリオ：3ケース<br>RCP8.5シナリオ：9ケース<br>計18ケース</p><p>ダウンロードURL:<a href="https://data.diasjp.net/dl/storages/filelist/dataset:215">https://data.diasjp.net/dl/storages/filelist/dataset:215</a>　CSVファイル</p><p>②-1解像度の高いRCP6.0（環境省 地域気候変動予測データ）</p><p><a href="https://data.diasjp.net/dl/storages/filelist/dataset:203">https://data.diasjp.net/dl/storages/filelist/dataset:203</a>　←データごとに利用申請が必要</p><p>②-2解像度の高いRCP8.5（気象庁地球温暖化予測情報第9巻）</p><p><a href="http://data.diasjp.net/dl/storages/filelist/dataset:543">http://data.diasjp.net/dl/storages/filelist/dataset:543</a>　←データごとに利用申請が必要</p><p>&nbsp;</p><p>■まとめ</p><p>温暖化予測結果は、これまでの研究で利用されたデータを中心にDIASからダウンロード可能。</p><p>・プロジェクト一覧　<a href="http://www.adaptation-platform.nies.go.jp/info/si_project_list01_1.html">http://www.adaptation-platform.nies.go.jp/info/si_project_list01_1.html</a></p><p>どのデータを利用するかについては、目的に合わせて選択する。</p><p>&nbsp;</p><p>&nbsp;</p>
]]>
</description>
<link>https://ameblo.jp/koshida-tomoki/entry-12528711563.html</link>
<pubDate>Mon, 23 Sep 2019 08:01:22 +0900</pubDate>
</item>
<item>
<title>放射冷却量の推定</title>
<description>
<![CDATA[ 近藤先生のブログK51の理解。<div><div><br></div><a href="https://stat.ameba.jp/user_images/20190519/11/koshida-tomoki/1a/bc/j/o0810108014412446997.jpg"><img src="https://stat.ameba.jp/user_images/20190519/11/koshida-tomoki/1a/bc/j/o0810108014412446997.jpg" alt="" width="810" height="1080"></a><div><br></div><div><br></div></div>
]]>
</description>
<link>https://ameblo.jp/koshida-tomoki/entry-12462342738.html</link>
<pubDate>Sun, 19 May 2019 10:54:30 +0900</pubDate>
</item>
<item>
<title>python lsの結果を配列に入れる</title>
<description>
<![CDATA[ <p><span class="hljs-keyword" style="margin: 0px; padding: 0px; color: rgb(133, 153, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: monospace; font-size: 14.04px; font-style: normal; font-weight: 400; word-spacing: 0px; white-space: pre; orphans: 2; widows: 2; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">import</span><span style="color: rgb(131, 148, 150); text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: monospace; font-size: 14.04px; font-style: normal; font-weight: 400; word-spacing: 0px; float: none; display: inline !important; white-space: pre; orphans: 2; widows: 2; background-color: rgb(0, 43, 54); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"> commands</span></p><p><span style="color: rgb(131, 148, 150); text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: monospace; font-size: 14.04px; font-style: normal; font-weight: 400; word-spacing: 0px; float: none; display: inline !important; white-space: pre; orphans: 2; widows: 2; background-color: rgb(0, 43, 54); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">files = commands.getoutput(</span><span class="hljs-string" style="margin: 0px; padding: 0px; color: rgb(42, 161, 152); text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: monospace; font-size: 14.04px; font-style: normal; font-weight: 400; word-spacing: 0px; white-space: pre; orphans: 2; widows: 2; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">'ls'</span><span style="color: rgb(131, 148, 150); text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: monospace; font-size: 14.04px; font-style: normal; font-weight: 400; word-spacing: 0px; float: none; display: inline !important; white-space: pre; orphans: 2; widows: 2; background-color: rgb(0, 43, 54); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">)</span></p><p><span style="color: rgb(131, 148, 150); text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: monospace; font-size: 14.04px; font-style: normal; font-weight: 400; word-spacing: 0px; float: none; display: inline !important; white-space: pre; orphans: 2; widows: 2; background-color: rgb(0, 43, 54); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">list = files.split(</span><span class="hljs-string" style="margin: 0px; padding: 0px; color: rgb(42, 161, 152); text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: monospace; font-size: 14.04px; font-style: normal; font-weight: 400; word-spacing: 0px; white-space: pre; orphans: 2; widows: 2; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">'\n'</span><span style="color: rgb(131, 148, 150); text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: monospace; font-size: 14.04px; font-style: normal; font-weight: 400; word-spacing: 0px; float: none; display: inline !important; white-space: pre; orphans: 2; widows: 2; background-color: rgb(0, 43, 54); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">)</span></p><p>&nbsp;</p><p>＃＃参考：<a href="http://motw.mods.jp/Python/standard_output.html">http://motw.mods.jp/Python/standard_output.html</a></p><p>&nbsp;</p><p>&nbsp;</p>
]]>
</description>
<link>https://ameblo.jp/koshida-tomoki/entry-12451053886.html</link>
<pubDate>Mon, 01 Apr 2019 06:13:33 +0900</pubDate>
</item>
<item>
<title>python データの展開</title>
<description>
<![CDATA[ <p>~/jobs/2018/python/dias/ex_test/ex.py</p><p>#===</p><p>import tarfile<br>from datetime import datetime</p><p>#for match -- NOT use<br>import re</p><p>## set read tgz path ##<br>path = "/export/raid2/koshida/DIAS/"<br>path = "/export/raid2/koshida/DIAS/XRAIN/kyoku1/SAPPORO001/ISHIKARI00/2018/12/22/07/ISHIKARI00-20181222-0700-P008-EL020000.tgz"<br>path = "/export/raid2/koshida/DIAS/XRAIN/kyoku2/TOUKYOU001/SHINYOKO00/2014/11/01/13/SHINYOKO00-20141101-1300-R005-EL020000.tgz"</p><p>## read tarinfo as tf(tar file)<br>#tf = tarfile.open('FURUTSUKI0-20110704-0900-R005-EL020000.tgz', 'r')<br>tf = tarfile.open(path, 'r')<br>## print tarinfo :: listup<br>tf.list()</p><p>## extract all<br>tf.extractall('./TMP')</p><p><br>#====</p><p>&nbsp;</p>
]]>
</description>
<link>https://ameblo.jp/koshida-tomoki/entry-12451050971.html</link>
<pubDate>Mon, 01 Apr 2019 05:36:32 +0900</pubDate>
</item>
<item>
<title>python:文字を含むファイルを検索</title>
<description>
<![CDATA[ <p>import re<br>#set pattern<br>pattern1 = re.compile('PHM0')<br>pattern2 = re.compile('PVM0')<br>pattern3 = re.compile('PRHV')<br><br>## get file info archived file name referred to 'ti'(tar info)##<br>for ti in tf:<br>&nbsp; &nbsp; print ti.name, ti.size, \<br>&nbsp; &nbsp; &nbsp; &nbsp; datetime.fromtimestamp(ti.mtime),oct(ti.mode), \<br>&nbsp; &nbsp; &nbsp; &nbsp; ti.uname,ti.gname<br>&nbsp; &nbsp; result1 = pattern1.search(ti.name)<br>&nbsp; &nbsp; if result1 is None:<br>&nbsp; &nbsp; &nbsp; &nbsp; print('NG')<br>&nbsp; &nbsp; else:<br>&nbsp; &nbsp; &nbsp; &nbsp; print('OK OK OK OK')<br>□~/jobs/2018/python/dias/ex_test/ex.py</p>
]]>
</description>
<link>https://ameblo.jp/koshida-tomoki/entry-12450802928.html</link>
<pubDate>Sun, 31 Mar 2019 06:54:54 +0900</pubDate>
</item>
<item>
<title>perl2py</title>
<description>
<![CDATA[ <p>★特定文字が含まれるファイル名を抽出</p><p>my @files=qw(ISHIKARI00-20181222-0700-PHN0-EL020000<br>ISHIKARI00-20181222-0700-PVN0-EL020000<br>ISHIKARI00-20181222-0700-PHM0-EL020000<br>ISHIKARI00-20181222-0700-PVM0-EL020000<br>ISHIKARI00-20181222-0700-PV00-EL020000<br>ISHIKARI00-20181222-0700-PW00-EL020000<br>ISHIKARI00-20181222-0700-PRHV-EL020000<br>ISHIKARI00-20181222-0700-PPDP-EL020000);</p><p>foreach my $file(@files){</p><p>if($file=~m/PVN/){system "$prg $file";}</p><p>}</p><p>&nbsp;</p><p>&nbsp;</p>
]]>
</description>
<link>https://ameblo.jp/koshida-tomoki/entry-12450749430.html</link>
<pubDate>Sat, 30 Mar 2019 22:31:58 +0900</pubDate>
</item>
<item>
<title>pyenv←numpyのインストール</title>
<description>
<![CDATA[ <p>pipのインストール</p><p>参考：<a href="http://keisanbutsuriya.hateblo.jp/entry/2015/01/26/224127">http://keisanbutsuriya.hateblo.jp/entry/2015/01/26/224127</a>←リンク切れ</p><p>⇒成功したと思われる。</p><p>&nbsp;</p><p>％pip install --install-option="--prefix=$HOME/local" numpy</p><p>&nbsp;</p><p>pyenvのインストール</p><p>参考：<a href="https://qiita.com/yuta_h3/items/2988c4d0811bf8c344c0">https://qiita.com/yuta_h3/items/2988c4d0811bf8c344c0</a></p><p>おそらく</p><pre>％pyenv install --list</pre><pre>で表示される、</pre><pre>3.6.1</pre><pre>などの数字が、利用可能なバージョン。</pre><pre></pre><pre>％pyenv install 2.7.15⇒Downloading Python-2.7.15.tar.xz...-&gt; <a href="https://www.python.org/ftp/python/2.7.15/Python-2.7.15.tar.xz">https://www.python.org/ftp/python/2.7.15/Python-2.7.15.tar.xz</a>Installing Python-2.7.15...⇒失敗⇒WARNING: The Python readline extension was not compiled. Missing the GNU readline lib?ERROR: The Python zlib extension was not compiled. Missing the zlib?Please consult to the Wiki page to fix the problem.<a href="https://github.com/pyenv/pyenv/wiki/Common-build-problems">https://github.com/pyenv/pyenv/wiki/Common-build-problems</a></pre><pre></pre><pre></pre>
]]>
</description>
<link>https://ameblo.jp/koshida-tomoki/entry-12442374083.html</link>
<pubDate>Sun, 24 Feb 2019 07:20:11 +0900</pubDate>
</item>
<item>
<title>git test</title>
<description>
<![CDATA[ <p>test new create</p><p>新しいリポリドジを作成。</p><p>記入方法がわからない。</p><p>参考：</p><p><a href="https://techacademy.jp/magazine/6235">https://techacademy.jp/magazine/6235</a></p>
]]>
</description>
<link>https://ameblo.jp/koshida-tomoki/entry-12442149800.html</link>
<pubDate>Sat, 23 Feb 2019 07:15:42 +0900</pubDate>
</item>
<item>
<title>対数則による上空の風の求め方</title>
<description>
<![CDATA[ <p>近藤先生のページを参照：</p><p><a href="http://www.asahi-net.or.jp/~rk7j-kndu/kenkyu/ke01.html">http://www.asahi-net.or.jp/~rk7j-kndu/kenkyu/ke01.html</a></p><p>導出式：（式２）</p><p>U=A/ln(z/z0)=2.3026A*log10(z/z0)</p><p>A=u*/k</p><p>k=0.4;カルマン係数</p><p>z0；粗度（風速が0m/sとなると考える高度）⇒たとえば10^-3</p><p>u*;摩擦速度⇒乱流の強さの目安</p><p>摩擦係数は、z0が決まれば(式６)を用いて求めることができる。</p><p>u*=04.UA/ln(zA/z0) (式６）</p><p>UA：ある高度ｚAにおける風速</p>
]]>
</description>
<link>https://ameblo.jp/koshida-tomoki/entry-12439825540.html</link>
<pubDate>Wed, 13 Feb 2019 12:57:38 +0900</pubDate>
</item>
</channel>
</rss>
