Git Product home page Git Product logo

driptorch's People

Contributors

crawld avatar frigusgulo avatar lucaswells avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

crawld

driptorch's Issues

DripTorch/FastFuels misalignment

FastFuels data are exported in Albers while DripTorch ignition patterns are exported to QUIC-fire in UTM. We need to add an argument for setting the CRS in DT->QF exports.

image

Pattern composition

Users need to combine multiple firing techniques into a single pattern object. This would look something like pattern1.merge(pattern2, time_offset=100).

import driptorch ModuleNotFoundError: No module named 'driptorch.templates'

Get the following traceback when I run import driptorch

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/homebrew/Caskroom/miniforge/base/envs/test/lib/python3.10/site-packages/driptorch/__init__.py", line 2, in <module>
    from driptorch.unit import BurnUnit
  File "/opt/homebrew/Caskroom/miniforge/base/envs/test/lib/python3.10/site-packages/driptorch/unit.py", line 11, in <module>
    from driptorch.io import Projector, write_geojson, read_geojson_polygon
  File "/opt/homebrew/Caskroom/miniforge/base/envs/test/lib/python3.10/site-packages/driptorch/io.py", line 6, in <module>
    from driptorch.templates import quicfire
ModuleNotFoundError: No module named 'driptorch.templates'

return time for flank not added to burn times

For flank patterns, the crew ignites in one direction and travels back in the opposite direction without new ignitions. It doesn't appear the return trip is reflected in the output times. this is v0.4.0

Add heat depth argument

We need an argument to control the depth between heats for flank firing. We'll also make this available in the strip technique as well.

unexpected output with flank

i'm encountering several issues when using flank. it's possible i'm using the api wrong.

first, i always get n - 1 igniters in the output pattern. is this expected?

image

second, setting igniters to 4 gives an exception:

File "/igniter/./app/app.py", line 56, in create pattern = dt.firing.Flank(firing_area, crew).generate_pattern() File "/usr/local/lib/python3.10/site-packages/driptorch/firing/flank.py", line 36, in generate_pattern return self._generate_pattern() File "/usr/local/lib/python3.10/site-packages/driptorch/firing/_base.py", line 54, in _generate_pattern timed_paths = propagator.forward(init_paths, self._ignition_crew) File "/usr/local/lib/python3.10/site-packages/driptorch/pattern.py", line 266, in forward self._init_path_time(self.spacing) File "/usr/local/lib/python3.10/site-packages/driptorch/pattern.py", line 353, in _init_path_time path.start_time = prev_start_time + self._get_offset( File "/usr/local/lib/python3.10/site-packages/driptorch/pattern.py", line 393, in _get_offset cur_igniter.geometry.iloc[0].coords[0]) File "/usr/local/lib/python3.10/site-packages/shapely/coords.py", line 85, in __getitem__ raise IndexError("index out of range")

also, for higher numbers of igniters, the pattern stops before they all reach the boundary:

image

Publish to PyPI

  • Write setup.py
  • Configure GH action to auto publish on release

add elapsed time to pattern json

it would be nice if the pattern json included the total elapsed time (in seconds) required for the ignition pattern. now, i have to look at the times in each feature and calculate max - min to get elapsed.

Feature Request: Adjustable blackline

A simple feature that could be added would be to make the blackline function a little bit more versatile.

It could still keep it's default values, but giving the option to specify a range of angles under which you would want the blackline. Another feature which could add to this would be the option of adding / merging multiple blacklines together (say you want a wider blackline in some parts, or a blackline that has a gap in it).

I know you can technically do some of this through using other functions together, but I think in particular the specification of a range of angles would be very helpful.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.