dsar


Namedsar JSON
Version 1.0.0 PyPI version JSON
download
home_pageNone
SummaryCalculating Displacement Seismic Amplitude Ratio (DSAR) Value
upload_time2024-09-13 06:52:23
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseNone
keywords seismic volcano volcanology dsar
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            #  Displacement Seismic Amplitude Ratio (DSAR)

## How to Use

1. All the seismic data must have SDS Directory as an input. See an example in [input directory](input). Or you can check it here https://www.seiscomp.de/seiscomp3/doc/applications/slarchive/SDS.html
2. Inside `main.py` or `main.ipynb` change those parameters:
```python
network = "VG"
station = "PSAG"
location = "00"
channel = "EHZ"

sds_directory = r"D:\Projects\dsar\input"
output_directory = 'output'

start_date = "2017-12-01"
end_date = "2017-12-03"

bands: dict[str, list[float]] = {
    'HF' : [0.1, 8.0, 16.0],
    'LF' : [0.1, 4.5, 8.0],
}

resample_rule: str = '10min'
```
3. Run the `main.py` or `main.ipynb`.
4. The output of this code would be saved into `output` directory and will be used as an input of `dsar.py`.
5. Run `dsar.py` to get the calculated _dsar_ CSV and plot the result.

## References
> Caudron, C., et al., 2019, Change in seismic attenuation as a long-term precursor of gas-driven
eruptions: Geology, https://doi.org/10.1130/G46107.1  
> 
> Chardot, L., Jolly, A. D., Kennedy, B. M., Fournier, N., & Sherburn, S. (2015). Using volcanic tremor for eruption forecasting at White Island volcano (Whakaari), New Zealand. Journal of Volcanology and Geothermal Research, 302, 11–23. https://doi.org/10.1016/j.jvolgeores.2015.06.001


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "dsar",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "seismic, volcano, volcanology, dsar",
    "author": null,
    "author_email": "Martanto <martanto@live.com>, Corentin Caudron <corentin@ulb.be>",
    "download_url": "https://files.pythonhosted.org/packages/f1/51/ed3e86cd8f3b657d293b452b571f9ee0ae77d1c8a4402eb4c0647ae34c84/dsar-1.0.0.tar.gz",
    "platform": null,
    "description": "#  Displacement Seismic Amplitude Ratio (DSAR)\n\n## How to Use\n\n1. All the seismic data must have SDS Directory as an input. See an example in [input directory](input). Or you can check it here https://www.seiscomp.de/seiscomp3/doc/applications/slarchive/SDS.html\n2. Inside `main.py` or `main.ipynb` change those parameters:\n```python\nnetwork = \"VG\"\nstation = \"PSAG\"\nlocation = \"00\"\nchannel = \"EHZ\"\n\nsds_directory = r\"D:\\Projects\\dsar\\input\"\noutput_directory = 'output'\n\nstart_date = \"2017-12-01\"\nend_date = \"2017-12-03\"\n\nbands: dict[str, list[float]] = {\n    'HF' : [0.1, 8.0, 16.0],\n    'LF' : [0.1, 4.5, 8.0],\n}\n\nresample_rule: str = '10min'\n```\n3. Run the `main.py` or `main.ipynb`.\n4. The output of this code would be saved into `output` directory and will be used as an input of `dsar.py`.\n5. Run `dsar.py` to get the calculated _dsar_ CSV and plot the result.\n\n## References\n> Caudron, C., et al., 2019, Change in seismic attenuation as a long-term precursor of gas-driven\neruptions: Geology, https://doi.org/10.1130/G46107.1  \n> \n> Chardot, L., Jolly, A. D., Kennedy, B. M., Fournier, N., & Sherburn, S. (2015). Using volcanic tremor for eruption forecasting at White Island volcano (Whakaari), New Zealand. Journal of Volcanology and Geothermal Research, 302, 11\u201323. https://doi.org/10.1016/j.jvolgeores.2015.06.001\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Calculating Displacement Seismic Amplitude Ratio (DSAR) Value",
    "version": "1.0.0",
    "project_urls": {
        "Homepage": "https://github.com/martanto/dsar",
        "Issues": "https://github.com/martanto/dsar/issues"
    },
    "split_keywords": [
        "seismic",
        " volcano",
        " volcanology",
        " dsar"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7e1ccb570e505f1ea034c16a03a78317192e681fe999457232c852d8766956d8",
                "md5": "a445b668411a1661e637d2e9484031d8",
                "sha256": "379b91a508dbc803741b5f2109dd7c0833b0dc648b4d96665ef4bee54d67c05b"
            },
            "downloads": -1,
            "filename": "dsar-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a445b668411a1661e637d2e9484031d8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 11370,
            "upload_time": "2024-09-13T06:52:21",
            "upload_time_iso_8601": "2024-09-13T06:52:21.825200Z",
            "url": "https://files.pythonhosted.org/packages/7e/1c/cb570e505f1ea034c16a03a78317192e681fe999457232c852d8766956d8/dsar-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f151ed3e86cd8f3b657d293b452b571f9ee0ae77d1c8a4402eb4c0647ae34c84",
                "md5": "1f30a6ba9914a49eac97106753331b6f",
                "sha256": "f3fc64e19036f4d0d5c8447bebc96d867c5f0428fc0632237f72d522a3c8f6df"
            },
            "downloads": -1,
            "filename": "dsar-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "1f30a6ba9914a49eac97106753331b6f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 9914,
            "upload_time": "2024-09-13T06:52:23",
            "upload_time_iso_8601": "2024-09-13T06:52:23.557647Z",
            "url": "https://files.pythonhosted.org/packages/f1/51/ed3e86cd8f3b657d293b452b571f9ee0ae77d1c8a4402eb4c0647ae34c84/dsar-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-13 06:52:23",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "martanto",
    "github_project": "dsar",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "dsar"
}
        
Elapsed time: 0.62669s