معرفی شرکت ها


esi-utils-pager-1.0.4


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

USGS PAGER loss modeling functionality
ویژگی مقدار
سیستم عامل -
نام فایل esi-utils-pager-1.0.4
نام esi-utils-pager
نسخه کتابخانه 1.0.4
نگهدارنده []
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده Mike Hearne <mhearne@usgs.gov>
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/esi-utils-pager/
مجوز License ======= Unless otherwise noted, This project is in the public domain in the United States because it contains materials that originally came from the United States Geological Survey, an agency of the United States Department of Interior. For more information, see the official USGS copyright policy at https://www2.usgs.gov/visual-id/credit_usgs.html#copyright Additionally, we waive copyright and related rights in the work worldwide through the CC0 1.0 Universal public domain dedication. CC0 1.0 Universal Summary ------------------------- This is a human-readable summary of the [Legal Code (read the full text)][1]. ### No Copyright The person who associated a work with this deed has dedicated the work to the public domain by waiving all of his or her rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission. ### Other Information In no way are the patent or trademark rights of any person affected by CC0, nor are the rights that other persons may have in the work or in how the work is used, such as publicity or privacy rights. Unless expressly stated otherwise, the person who associated a work with this deed makes no warranties about the work, and disclaims liability for all uses of the work, to the fullest extent permitted by applicable law. When using or citing the work, you should not imply endorsement by the author or the affirmer. [1]: https://creativecommons.org/publicdomain/zero/1.0/legalcode
# Table of Contents - [Table of Contents](#table-of-contents) - [Introduction](#introduction) - [Installation](#installation) - [Upgrading](#upgrading) - [Required data](#required-data) - [Configuration (for calc\_pager\_event API usage and command line usage)](#configuration-for-calc_pager_event-api-usage-and-command-line-usage) - [Command Line Usage](#command-line-usage) - [Library Usage](#library-usage) # Introduction This library of tools forms the modeling core of the Prompt Assessment for Global Earthquake Response (PAGER) system, which provides fatality and economic loss impact estimates following significant earthquakes worldwide. The models implemented here are based on work described in the following papers: ``` Jaiswal, K. S., and Wald, D. J. (2010). An Empirical Model for Global Earthquake Fatality Estimation. Earthquake Spectra, 26, No. 4, 1017-1037 ``` ``` Jaiswal, K. S., and Wald, D. J. (2011). Rapid estimation of the economic consequences of global earthquakes. U.S. Geological Survey Open-File Report 2011-1116, 47p. ``` ``` Jaiswal, K. S., Wald, D. J., and D’Ayala, D. (2011). Developing Empirical Collapse Fragility Functions for Global Building Types. Earthquake Spectra, 27, No. 3, 775-795 ``` The software here can be used for other applications, although it is important to note that the empirical loss models have not been calibrated with events newer than 2010, and the semi-empirical fatality model results are less accurate than the empirical equivalent. # Installation `pip install esi-utils-pager` # Upgrading `pip install --upgrade esi-utils-pager` # Required data A number of data files external to the repository are required for usage: - Population grid, which can be obtained from Oakridge National Labs [Landscan project](https://landscan.ornl.gov/about) - Country code grid, which can be obtained upon request from the PAGER team. - Urban/rural code grid, obtained from the Socioeconomic Data and Applications Center [(SEDAC)](https://sedac.ciesin.columbia.edu/data/collection/grump-v1) # Configuration (for calc_pager_event API usage and command line usage) To run the `pagerlite` program (see below), you must first create a `.losspager/config.yml` file in your home directory. You can make the .losspager directory using this command (on Linux and Mac platforms): `mkdir ~/.losspager` You may then create the config.yml file in that directory using your text editor of choice. This file should look like the following: ``` #############Minimum PAGER configuration################ #This is where output data goes output_folder: /data/pagerdata/output/ #Anything not already captured by PAGER event logs will be written here log_folder: /data/pagerdata/logs #This section describes all the data needed to run models and make maps model_data: timezones_file: /data/pagerdata/model_data/combined_shapefile.shp country_grid: /data/pagerdata/model_data/countriesISO_Aug2022_withbuffer.tif population_data: - {population_grid: /data/pagerdata/model_data/population/lspop2018.flt, population_year: 2018} urban_rural_grid: /data/pagerdata/model_data/glurextents.bil ``` # Command Line Usage The command line program made available by this repository is `pagerlite`. This program outputs detailed empirical (fatality/economic) PAGER model results to a tabular format. To see the help for this program: `pagerlite -h` # Library Usage Usage of the relevant code modules is detailed in the Jupyter notebooks, most notably in the [Earthquake Losses notebook](https://code.usgs.gov/ghsc/esi/esi-utils-pager/-/blob/main/notebooks/EarthquakeLosses.ipynb)


نیازمندی

مقدار نام
- esi-utils-io
- esi-utils-time
- fiona
- h5py
>=0.8.5 mapio
- numpy
<=3.0.10 openpyxl
- pandas
- PyYAML
- rasterio
- scipy
- shapely
- xlrd
>=0.7.0 build
>=21 black
>=3.9 flake8
>=7.26 ipython
>=6.4.1 notebook
>=3.7.0 twine
>=6.2 pytest
>=2.12.0 pytest-cov


زبان مورد نیاز

مقدار نام
<=3.10 Python


نحوه نصب


نصب پکیج whl esi-utils-pager-1.0.4:

    pip install esi-utils-pager-1.0.4.whl


نصب پکیج tar.gz esi-utils-pager-1.0.4:

    pip install esi-utils-pager-1.0.4.tar.gz