معرفی شرکت ها


fastfuels-1.0.4


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

3D fuelscapes for the contiguous US
ویژگی مقدار
سیستم عامل -
نام فایل fastfuels-1.0.4
نام fastfuels
نسخه کتابخانه 1.0.4
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Holtz Technology and Development Services LLC
ایمیل نویسنده lucas@holtztds.com
آدرس صفحه اصلی https://github.com/teamholtz/FastFuels-Python
آدرس اینترنتی https://pypi.org/project/fastfuels/
مجوز GNU GPLv3
# FastFuels-Python Python client library for the FastFuels API ## Install You can install FastFuels through the Python Package Index. ``` pip install fastfuels ``` ## Quickstart ### Connecting to a `.fio` resource A `.fio` resource is a directory-in-file object where important metadata and fuel arrays are stored. Start by importing the FastFuels module and open a `.fio` resource. If you have one locally, specify the path and file name. ```python >>> import fastfuels >>> fio = fastfuels.open('./demo.fio', ftype='local') ``` If you have the appropriate credentials, you can connect to the remote resource stored in AWS S3. ```python >>> fio = fastfuels.open('./ca.fio', ftype='s3', username='username', password='password') ``` ### Explore the metadata Let's take a look at some metadata. You can get the extent of the data in geographic coordinates (longitude and latitude) or in projected coordinates by changing the `mode` argument. ```python >>> print(fio.get_extent(mode='geographic')) (-120.73665218037868, 38.93933418427242, -120.6511979123941, 38.90135366961076) >>> print(fio.get_extent(mode='projected')) (-2100315.0, 2043015.0, -2094315.0, 2037015.0) ``` And the projection system is stored in the `proj` attribute. ```python >>> print(fio.proj) ``` You can also view metadata for resolution and units ```python >>> print(fio.res) (1,1,1) >>> print(fio.units) 'meters' ``` ### Spatial queries You can perform spatial queries by specifying geographic coordinates in decimal degrees and a radius in meters. The radius parameter defines the size of the bounding square in which fuels are queried. ```python # this command will return a square kilometer of fuels (radius=500 meters) roi = fio.query(-122.191, 41.208, 500) ``` ### Viewing fuels in 3D Fuel parameter arrays can be viewed interactively in 3D. To see the available parameters run ```python print(roi.get_properties()) ``` Then specify one of the properties in the `view()` method on the `roi` object. ```python roi.view('sav') ``` ![FastFuels SAV](https://storage.googleapis.com/fastfuels-landing-page/assets/fastfuels_sav.png) ### Writing fire model input files With the `roi` object, you can write input files for various fire models. Here, you may also decrease the resolution to save computation. ```python roi.write('./outputs', model='quicfire', res_xyz=[2,2,1]) ```


نیازمندی

مقدار نام
==2.0.6 colorcet
==2021.11.0 fsspec
==1.0.2 msgpack
==1.21.4 numpy
==0.28.1 pyvista
==2021.11.0 s3fs
==1.7.2 scipy
<2 shapely
==2.8.3 zarr


نحوه نصب


نصب پکیج whl fastfuels-1.0.4:

    pip install fastfuels-1.0.4.whl


نصب پکیج tar.gz fastfuels-1.0.4:

    pip install fastfuels-1.0.4.tar.gz