diff --git a/Changelog.rst b/Changelog.rst index 7925a2ed..21b91ed6 100644 --- a/Changelog.rst +++ b/Changelog.rst @@ -1,6 +1,9 @@ Changelog ========= +0.6.4 (2019-08-23): + - Capture exception caused by incorrect channel information (#22) + 0.6.3 (2019-06-13): - Fix ``select_stations()`` (#19) - Rename ``string2datetime()`` to ``to_datetime()`` diff --git a/HinetPy/__init__.py b/HinetPy/__init__.py index 49e789b7..d7e464e3 100644 --- a/HinetPy/__init__.py +++ b/HinetPy/__init__.py @@ -18,7 +18,7 @@ """ __title__ = "HinetPy" -__version__ = "0.6.3" +__version__ = "0.6.4" __author__ = "Dongdong Tian" __license__ = "MIT" diff --git a/HinetPy/client.py b/HinetPy/client.py index c62a691b..fecca997 100644 --- a/HinetPy/client.py +++ b/HinetPy/client.py @@ -149,10 +149,10 @@ def doctor(self): """ Doctor does some checks. >>> client.doctor() - [2019-06-14 00:00:00] INFO: You're using the latest release (v0.6.3). - [2019-06-14 00:00:00] INFO: Hi-net web service is NOT updated. - [2019-06-14 00:00:00] INFO: catwin32: /home/user/bin/catwin32. - [2019-06-14 00:00:00] INFO: win2sac_32: /home/user/bin/win2sac_32. + [2019-08-24 00:00:00] INFO: You're using the latest release (v0.6.4). + [2019-08-24 00:00:00] INFO: Hi-net web service is NOT updated. + [2019-08-24 00:00:00] INFO: catwin32: /home/user/bin/catwin32. + [2019-08-24 00:00:00] INFO: win2sac_32: /home/user/bin/win2sac_32. **Checklist** @@ -1094,7 +1094,7 @@ def check_package_release(self): """Check whether HinetPy has a new release. >>> client.check_package_release() - [2019-06-14 00:00:00] INFO: You're using the latest release (v0.6.3). + [2019-08-24 00:00:00] INFO: You're using the latest release (v0.6.4). """ from HinetPy import __version__, __title__ from distutils.version import StrictVersion diff --git a/docs/locale/zh_CN/LC_MESSAGES/changelog.po b/docs/locale/zh_CN/LC_MESSAGES/changelog.po index b9478a00..63ead4da 100644 --- a/docs/locale/zh_CN/LC_MESSAGES/changelog.po +++ b/docs/locale/zh_CN/LC_MESSAGES/changelog.po @@ -7,296 +7,304 @@ msgid "" msgstr "" "Project-Id-Version: HinetPy 0.6.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-06-13 11:56-0400\n" +"POT-Creation-Date: 2019-08-23 00:28-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.6.0\n" +"Generated-By: Babel 2.7.0\n" #: ../../../Changelog.rst:2 msgid "Changelog" msgstr "修订历史" -#: ../../../Changelog.rst:6 -msgid "0.6.3 (2019-06-13):" +#: ../../../Changelog.rst:5 +msgid "0.6.4 (2019-08-23):" msgstr "" #: ../../../Changelog.rst:5 +msgid "Capture exception caused by incorrect channel information (#22)" +msgstr "修复channel信息错误导致的报错 (#22)" + +#: ../../../Changelog.rst:9 +msgid "0.6.3 (2019-06-13):" +msgstr "" + +#: ../../../Changelog.rst:8 msgid "Fix ``select_stations()`` (#19)" msgstr "修复 ``select_stations()`` (#19)" -#: ../../../Changelog.rst:6 +#: ../../../Changelog.rst:9 msgid "Rename ``string2datetime()`` to ``to_datetime()``" msgstr "重命名 ``string2datetime()`` 为 ``to_datetime()``" -#: ../../../Changelog.rst:9 +#: ../../../Changelog.rst:12 msgid "0.6.2 (2019-05-06):" msgstr "" -#: ../../../Changelog.rst:9 +#: ../../../Changelog.rst:12 msgid "Fix download focal mechanism catalog issue (#18)." msgstr "修复下载震源机制解目录出错的问题 (#18)" -#: ../../../Changelog.rst:12 +#: ../../../Changelog.rst:15 msgid "0.6.1 (2019-02-20):" msgstr "" -#: ../../../Changelog.rst:12 +#: ../../../Changelog.rst:15 msgid "Fix selecting events in a rectangular region." msgstr "修复了选择矩形区域内事件的bug " -#: ../../../Changelog.rst:16 +#: ../../../Changelog.rst:19 msgid "0.6.0 (2019-02-19):" msgstr "" -#: ../../../Changelog.rst:15 +#: ../../../Changelog.rst:18 msgid "Support request event waveform data (#16)." msgstr "支持申请事件波形数据 (#16)." -#: ../../../Changelog.rst:16 +#: ../../../Changelog.rst:19 msgid "``get_waveform()`` is renamed to ``get_continuos_waveform()``." msgstr "" -#: ../../../Changelog.rst:19 +#: ../../../Changelog.rst:22 msgid "0.5.2 (2019-02-19):" msgstr "" -#: ../../../Changelog.rst:19 +#: ../../../Changelog.rst:22 msgid "Fix selecting stations in a rectangular region (#17)." msgstr "修复了选择矩形区域内台站时的bug (#17) " -#: ../../../Changelog.rst:22 +#: ../../../Changelog.rst:25 msgid "0.5.1 (2018-12-08):" msgstr "" -#: ../../../Changelog.rst:22 +#: ../../../Changelog.rst:25 msgid "Fix typo from longtitude to longitude." msgstr "修复了longitude的typo。" -#: ../../../Changelog.rst:26 +#: ../../../Changelog.rst:29 msgid "0.5.0 (2018-11-21):" msgstr "" -#: ../../../Changelog.rst:25 +#: ../../../Changelog.rst:28 msgid "Fix issues of wrong CONSTANT in SAC polezero file (#8)." msgstr "修复SAC零极点文件中的错误CONSTANT (#8)" -#: ../../../Changelog.rst:26 +#: ../../../Changelog.rst:29 msgid "Fix login failure issue with password longer than 12 characters (#13)." msgstr "修复密码长度超过12字符时登录失败的问题 (#13)" -#: ../../../Changelog.rst:30 +#: ../../../Changelog.rst:33 msgid "0.4.8 (2018-10-04):" msgstr "" -#: ../../../Changelog.rst:29 +#: ../../../Changelog.rst:32 msgid "" "``get_station_list()``: must specify a network code; support S-net and " "MeSO-net." msgstr "``get_station_list()``: 必须指定台网名;支持S-net和MeSO-net" -#: ../../../Changelog.rst:30 +#: ../../../Changelog.rst:33 msgid "``select_stations()``: support S-net and MeSO-net" msgstr "``select_stations()``: 支持 S-net 和 MeSO-net " -#: ../../../Changelog.rst:34 +#: ../../../Changelog.rst:37 msgid "0.4.7 (2018-10-04):" msgstr "" -#: ../../../Changelog.rst:33 +#: ../../../Changelog.rst:36 msgid "Support S-net and MeSO-net (#9 and #10)" msgstr "支持 S-net 和 MeSO-net (#9 和 #10)" -#: ../../../Changelog.rst:34 +#: ../../../Changelog.rst:37 msgid "Fix an issue when channel table contains blank lines" msgstr "修复channel table中包含空白行时的错误" -#: ../../../Changelog.rst:37 +#: ../../../Changelog.rst:40 msgid "0.4.6 (2018-03-20):" msgstr "" -#: ../../../Changelog.rst:37 +#: ../../../Changelog.rst:40 msgid "Fix ``Too many open files`` (#6)" msgstr "修复 ``Too many open files`` (#6)" -#: ../../../Changelog.rst:41 +#: ../../../Changelog.rst:44 msgid "0.4.5 (2018-03-07):" msgstr "" -#: ../../../Changelog.rst:40 +#: ../../../Changelog.rst:43 msgid "``get_station_list()``: return a list of stations" msgstr "``get_station_list()``: 返回台站列表" -#: ../../../Changelog.rst:41 +#: ../../../Changelog.rst:44 msgid "" "``select_stations()``: support selecting stations in a box or circular " "region" msgstr "``select_stations()``: 支持选择一个矩形或环形区域内的台站 " -#: ../../../Changelog.rst:44 +#: ../../../Changelog.rst:47 msgid "0.4.4 (2017-11-30):" msgstr "" -#: ../../../Changelog.rst:44 +#: ../../../Changelog.rst:47 msgid "Fix a technical issue related to packaging" msgstr "修复打包相关的技术问题" -#: ../../../Changelog.rst:47 +#: ../../../Changelog.rst:50 msgid "0.4.3 (2017-11-30):" msgstr "" -#: ../../../Changelog.rst:47 +#: ../../../Changelog.rst:50 msgid "Add Chinese documentation" msgstr "增加中文文档" -#: ../../../Changelog.rst:50 +#: ../../../Changelog.rst:53 msgid "0.4.2 (2017-06-18):" msgstr "" -#: ../../../Changelog.rst:50 +#: ../../../Changelog.rst:53 msgid "Fix a bug with requests>=2.17" msgstr "修复requests>=2.17时无法登陆的bug" -#: ../../../Changelog.rst:53 +#: ../../../Changelog.rst:56 msgid "0.4.1 (2017-06-18):" msgstr "" -#: ../../../Changelog.rst:53 +#: ../../../Changelog.rst:56 msgid "remove tempfile after downloading." msgstr "删除临时文件以避免用尽临时目录的全部磁盘空间" -#: ../../../Changelog.rst:62 +#: ../../../Changelog.rst:65 msgid "0.4.0 (2017-04-01):" msgstr "" -#: ../../../Changelog.rst:56 +#: ../../../Changelog.rst:59 msgid "``win32.extract_sac()``: skip if data not exists" msgstr "``win32.extract_sac()``: 若数据不存在则跳过" -#: ../../../Changelog.rst:57 +#: ../../../Changelog.rst:60 msgid "" "``win32.extract_sac()``: support multiple processes to speedup, and no " "longer return values" msgstr "``win32.extract_sac()``: 支持多进程以加速,不再返回值" -#: ../../../Changelog.rst:59 +#: ../../../Changelog.rst:62 #, fuzzy msgid "``Client.get_waveform()``: support multi-threads to speedup" msgstr "``Client.get_continuous_waveform()`` 支持多线程以加速" -#: ../../../Changelog.rst:60 +#: ../../../Changelog.rst:63 msgid "Change ``Client.help()`` to ``Client.info()``" msgstr "将 ``Client.help()`` 修改为 ``Client.info()``" -#: ../../../Changelog.rst:61 +#: ../../../Changelog.rst:64 #, fuzzy msgid "``Client.get_waveform()`` now can automatically set ``max_span``" msgstr "``Client.get_continuous_waveform()`` 现已可以自动设置 ``max_span``" -#: ../../../Changelog.rst:62 +#: ../../../Changelog.rst:65 msgid "``Client.get_*()`` now support startime in different string formats" msgstr "``Client.get_*()`` 的 starttime 支持多种不同的字符串格式" -#: ../../../Changelog.rst:71 +#: ../../../Changelog.rst:74 msgid "0.3.3 (2017-03-17):" msgstr "" -#: ../../../Changelog.rst:65 +#: ../../../Changelog.rst:68 msgid "Change ``network`` to ``NETWORK`` in ``header.py``" msgstr "将 ``header.py`` 中 ``network`` 修改为 ``NETWORK``" -#: ../../../Changelog.rst:66 +#: ../../../Changelog.rst:69 msgid "Add wildcard support to ``win32.merge()``" msgstr "``win32.merg()`` 支持通配符" -#: ../../../Changelog.rst:67 +#: ../../../Changelog.rst:70 msgid "" "Change ``Client.check_module_release()`` to " "``Client.check_package_release()``" msgstr "修改 ``Client.check_module_release()`` 为 ``Client.check_package_release()``" -#: ../../../Changelog.rst:68 +#: ../../../Changelog.rst:71 msgid "Support output filename with deep directory" msgstr "支持输出文件名中包含更深的目录结构" -#: ../../../Changelog.rst:69 +#: ../../../Changelog.rst:72 msgid "Always sort cnt files to avoid merge error" msgstr "总是排序cnt文件以避免合并错误" -#: ../../../Changelog.rst:70 +#: ../../../Changelog.rst:73 msgid "Set ``pmax`` to 8640000 by default" msgstr "设置 ``pmax`` 默认值为8640000" -#: ../../../Changelog.rst:71 +#: ../../../Changelog.rst:74 msgid "Fix typos" msgstr "修复typos" -#: ../../../Changelog.rst:74 +#: ../../../Changelog.rst:77 msgid "0.3.2 (2017-03-12):" msgstr "" -#: ../../../Changelog.rst:74 +#: ../../../Changelog.rst:77 msgid "Fix another technical issue related to pypi" msgstr "修复另一个pypi相关的技术问题" -#: ../../../Changelog.rst:77 +#: ../../../Changelog.rst:80 msgid "0.3.1 (2017-03-12):" msgstr "" -#: ../../../Changelog.rst:77 +#: ../../../Changelog.rst:80 msgid "Fix a technical issue related to pypi" msgstr "修复pypi相关的技术问题" -#: ../../../Changelog.rst:80 +#: ../../../Changelog.rst:83 msgid "0.3.0 (2017-03-12):" msgstr "" -#: ../../../Changelog.rst:80 +#: ../../../Changelog.rst:83 msgid "Rewritten as a Python package" msgstr "重写成一个Python包" -#: ../../../Changelog.rst:83 +#: ../../../Changelog.rst:86 msgid "0.2.0 (2016-08-24):" msgstr "" -#: ../../../Changelog.rst:83 +#: ../../../Changelog.rst:86 msgid "Some small fixes and improvements" msgstr "小修正和提高" -#: ../../../Changelog.rst:92 +#: ../../../Changelog.rst:95 msgid "0.1.0 (2016-08-04):" msgstr "" -#: ../../../Changelog.rst:86 +#: ../../../Changelog.rst:89 msgid "First public release" msgstr "首个公开版本" -#: ../../../Changelog.rst:87 +#: ../../../Changelog.rst:90 msgid "``HinetDoctor.py``: check dependencies" msgstr "``HinetDoctor.py``: 检查依赖" -#: ../../../Changelog.rst:88 +#: ../../../Changelog.rst:91 msgid "``HinetContRequest.py``: request continuous data from Hi-net" msgstr "``HinetContRequest.py``: 从Hi-net申请连续数据" -#: ../../../Changelog.rst:89 +#: ../../../Changelog.rst:92 msgid "" "``StationSelector.py``: select Hi-net/F-net stations before requesting " "data" msgstr "``StationSelector.py``: 在申请数据前选择Hi-net/F-net台站" -#: ../../../Changelog.rst:90 +#: ../../../Changelog.rst:93 msgid "``HinetJMARequest.py``: request JMA catalogs from Hi-net website" msgstr "``HinetJMARequest.py``: 从Hi-net申请JMA目录" -#: ../../../Changelog.rst:91 +#: ../../../Changelog.rst:94 msgid "``rdhinet.py``: convert WIN32 format to SAC format" msgstr "``rdhinet.py``: 将WIN32格式转换为SAC格式" -#: ../../../Changelog.rst:92 +#: ../../../Changelog.rst:95 msgid "``ch2pz.py``: extract SAC PZ files from Hi-net channel table files" msgstr "``ch2pz.py``: 从Hi-net通道表文件中提取SAC零极点文件"