{"id":16567659,"url":"https://github.com/seisman/hinetpy","last_synced_at":"2025-12-18T07:08:57.246Z","repository":{"id":20237013,"uuid":"23509035","full_name":"seisman/HinetPy","owner":"seisman","description":"A Python package for accessing and processing NIED Hi-net seismic data.","archived":false,"fork":false,"pushed_at":"2025-01-29T01:53:14.000Z","size":15938,"stargazers_count":83,"open_issues_count":1,"forks_count":40,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-12T04:53:37.997Z","etag":null,"topics":["hinet","python","sac","seismology","win32"],"latest_commit_sha":null,"homepage":"https://seisman.github.io/HinetPy","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/seisman.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2014-08-31T07:56:38.000Z","updated_at":"2025-03-24T10:18:17.000Z","dependencies_parsed_at":"2023-12-13T01:39:14.752Z","dependency_job_id":"c5433219-2f53-4fa6-94a4-2cbf6461cf98","html_url":"https://github.com/seisman/HinetPy","commit_stats":{"total_commits":587,"total_committers":4,"mean_commits":146.75,"dds":0.05281090289608181,"last_synced_commit":"cf20f4bef0fe10059637b5fa21b3960dd0b9ac31"},"previous_names":[],"tags_count":37,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seisman%2FHinetPy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seisman%2FHinetPy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seisman%2FHinetPy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seisman%2FHinetPy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seisman","download_url":"https://codeload.github.com/seisman/HinetPy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248681493,"owners_count":21144700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hinet","python","sac","seismology","win32"],"created_at":"2024-10-11T21:07:11.201Z","updated_at":"2025-12-18T07:08:57.180Z","avatar_url":"https://github.com/seisman.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":".. image:: https://github.com/seisman/HinetPy/actions/workflows/tests.yml/badge.svg\n    :target: https://github.com/seisman/HinetPy/actions/workflows/tests.yml\n.. image:: https://codecov.io/gh/seisman/HinetPy/branch/main/graph/badge.svg\n   :target: https://codecov.io/gh/seisman/HinetPy\n.. image:: https://img.shields.io/github/release/seisman/HinetPy.svg\n    :target: https://github.com/seisman/HinetPy/releases\n.. image:: https://img.shields.io/pypi/v/HinetPy.svg\n    :target: https://pypi.org/project/HinetPy/\n.. image:: https://img.shields.io/pypi/pyversions/HinetPy.svg\n    :target: https://pypi.org/project/HinetPy/\n.. image:: https://img.shields.io/github/license/seisman/HinetPy.svg\n    :target: https://github.com/seisman/HinetPy/blob/main/LICENSE\n.. image:: https://joss.theoj.org/papers/10.21105/joss.06840/status.svg\n   :target: https://doi.org/10.21105/joss.06840\n.. image:: https://zenodo.org/badge/23509035.svg\n    :target: https://zenodo.org/badge/latestdoi/23509035\n\n\n`NIED Hi-net \u003chttps://www.hinet.bosai.go.jp/\u003e`__ |\n`Source Code \u003chttps://github.com/seisman/HinetPy\u003e`__ |\n`Documentation \u003chttps://seisman.github.io/HinetPy\u003e`__ |\n`中文文档 \u003chttps://seisman.github.io/HinetPy/zh_CN/\u003e`__\n\n----\n\n.. placeholder-for-doc-index\n\n`HinetPy \u003chttps://github.com/seisman/HinetPy\u003e`_ is a Python package for accessing and\nprocessing seismic data from `NIED Hi-net \u003chttps://www.hinet.bosai.go.jp/\u003e`__.\n\nKey Features\n============\n\n- Facilitates easy access to NIED Hi-net seismic data, including continuous/event\n  waveform data and event catalogs.\n- Supports multiple seismic networks (e.g., F-net, S-net, MeSO-net and more in addition\n  to Hi-net) in Japan.\n- Selects a subset of stations based on geographical location or station name (Supports\n  Hi-net, F-net, S-net and MeSO-net only).\n- Converts waveform data to SAC format and instrumental responses to SAC polezero files.\n- Speeds up the downloading and processing workflow via the use of multithreading.\n\nA simple example\n================\n\nHere is an example showing how to use HinetPy to request continuous waveform data from\nHi-net, convert the data into SAC format, and extract instrumental responses as SAC\npolezero files.\n\n.. code-block:: python\n\n    from HinetPy import Client, win32\n\n    # You need a Hi-net account to access the data\n    client = Client(\"username\", \"password\")\n\n    # Let's try to request 20-minute data of the Hi-net network (with an internal\n    # network code of '0101') starting at 2010-01-01T00:00 (JST, GMT+0900)\n    data, ctable = client.get_continuous_waveform(\"0101\", \"201001010000\", 20)\n\n    # The request and download process usually takes a few minutes\n    # waiting for data request ...\n    # waiting for data download ...\n\n    # Now you can see the data and corresponding channel table in your working directory\n    # waveform data (in win32 format) : 0101_201001010000_20.cnt\n    # channel table (plaintext file)  : 0101_20100101.ch\n\n    # Let's convert data from win32 format to SAC format\n    win32.extract_sac(data, ctable)\n\n    # Let's extract instrument response as PZ files from the channel table file\n    win32.extract_sacpz(ctable)\n\n    # Now you can see several SAC and SAC_PZ files in your working directory\n\n    # N.NGUH.E.SAC  N.NGUH.U.SAC  N.NNMH.N.SAC\n    # N.NGUH.N.SAC  N.NNMH.E.SAC  N.NNMH.U.SAC\n    # ...\n    # N.NGUH.E.SAC_PZ  N.NGUH.U.SAC_PZ  N.NNMH.N.SAC_PZ\n    # N.NGUH.N.SAC_PZ  N.NNMH.E.SAC_PZ  N.NNMH.U.SAC_PZ\n    # ...\n\nCitation\n========\n\nIf you find this package useful, please consider citing the package in either of the\nfollowing ways:\n\n**Cite the HinetPy paper (preferred)**\n\nA formal paper is published on `The Journal of Open Source Software \u003chttps://joss.theoj.org/\u003e`__\nsince HinetPy v0.9.0. This is the **preferred** way for citation.\n\n    Tian, D. (2024). HinetPy: A Python package for accessing and processing NIED Hi-net seismic data.\n    Journal of Open Source Software, 9(98), 6840. https://doi.org/10.21105/joss.06840\n\n**Cite a specific HinetPy version**\n\nIf you'd like to cite a specific HinetPy version, you can visit\n`Zenodo \u003chttps://zenodo.org/records/12523911\u003e`__, choose the version you want to cite,\nand cite like this:\n\n    Tian, D. (20XX). HinetPy: A Python package for accessing and processing NIED Hi-net seismic data (X.X.X).\n    Zenodo. https://doi.org/10.5281/zenodo.xxxxxxxx\n\nContributing\n============\n\nFeedback and contributions are welcome! Please feel free to open an issue or pull\nrequest if you have any suggestions or would like to contribute a feature.\nFor additional information or specific questions, please open an issue directly.\n\nLicense\n=======\n\nThis project is licensed under the terms of the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseisman%2Fhinetpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseisman%2Fhinetpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseisman%2Fhinetpy/lists"}