{"id":24352548,"url":"https://github.com/earthinversion/csv2mseed_utility","last_synced_at":"2026-04-25T01:38:03.663Z","repository":{"id":51251571,"uuid":"361756627","full_name":"earthinversion/csv2mseed_utility","owner":"earthinversion","description":"Convert CSV to Mseed Utility Program. Works on any size of the CSV file and interpolate the data for the sampling rate of 50Hz.","archived":false,"fork":false,"pushed_at":"2021-05-19T03:44:07.000Z","size":1518,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-28T17:53:45.257Z","etag":null,"topics":["csv","mseed","plot"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/earthinversion.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-26T13:16:47.000Z","updated_at":"2021-05-19T03:49:03.000Z","dependencies_parsed_at":"2022-08-23T18:11:24.274Z","dependency_job_id":null,"html_url":"https://github.com/earthinversion/csv2mseed_utility","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/earthinversion/csv2mseed_utility","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earthinversion%2Fcsv2mseed_utility","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earthinversion%2Fcsv2mseed_utility/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earthinversion%2Fcsv2mseed_utility/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earthinversion%2Fcsv2mseed_utility/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/earthinversion","download_url":"https://codeload.github.com/earthinversion/csv2mseed_utility/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earthinversion%2Fcsv2mseed_utility/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32247505,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["csv","mseed","plot"],"created_at":"2025-01-18T15:54:58.386Z","updated_at":"2026-04-25T01:38:03.635Z","avatar_url":"https://github.com/earthinversion.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python utility program to write mseed file from csv\nUtpal Kumar, 2021/04\n\n## Installation\n\n### Using Anaconda/Miniconda\n```\nconda create -n rfidgetenv\nconda activate rfidgetenv\nconda install -c conda-forge obspy pandas\n```\n\n### Using venv\n```\npython -m venv venv\nsource venv/bin/activate\npip install obspy pandas\n```\n\n## Usage\ntype `python csv2mseed.py -h`\n\n```\nusage: csv2mseed.py [-h] -inp INPUT [-stn STATION] [-net NETWORK] [-sr SAMPLE_RATE] [-gal GAL] [-p] [-dm]\n\nPython utility program to write mseed file from csv based on Pandas, Numpy and Obspy (by Utpal Kumar, IESAS, 2021/04)\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -inp INPUT, --input INPUT\n                        input CSV file to convert to mseed, e.g. network_station_data.csv\n  -stn STATION, --station STATION\n                        station name, e.g. XYZ\n  -net NETWORK, --network NETWORK\n                        network name, e.g. TW\n  -sr SAMPLE_RATE, --sample_rate SAMPLE_RATE\n                        sampling rate as integer\n  -gal GAL, --gal GAL   1 for Gal and 0 for g\n  -p, --plot_data       plot the output mseed data\n  -dm, --demean         remove mean from the data\n\ncsv file format: 'Datetime', 'X', 'Y', 'Z' (2021-04-17 00:00:00.005829,0.00824,-0.01095,1.00362)\n```\n\n- Convert to mseed, remove mean and plot\n```bash\npython csv2mseed.py -inp \"RCEC7B/phidgetData_0009.csv\" -p -dm -stn RCEC7B\n```\n\n```\nReading file /mnt/d/csv2mseed_utility/RCEC7B/phidgetData_0009.csv in chunks...\nFinished writing file TW-RCEC7B-BNX.mseed\nFinished writing file TW-RCEC7B-BNY.mseed\nFinished writing file TW-RCEC7B-BNZ.mseed... with sampling rate: 50 Hz\n```\n\n![RFidget Plot](docs/RFidget-plot-TW-RCEC7B.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fearthinversion%2Fcsv2mseed_utility","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fearthinversion%2Fcsv2mseed_utility","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fearthinversion%2Fcsv2mseed_utility/lists"}