Skip to content

Conversation

@mirkodandrea
Copy link
Collaborator

No description provided.

mirkodandrea and others added 30 commits September 11, 2025 17:02
* refactor: fix types

* refactor: wip pydantic to shapely geometries

* feat: add types-shapely dependency for improved type hinting

* refactor: simpler actions parsing, use shapely geoms everywhere

* chore: update launch configurations

* fix: solves problem with heavy actions rasterizing to a np.zeros initialized matrix instead of nans.
removed warnings for max in stats computation

* fix: added option of point also with sqare brakets

* feat: added default threshold levels for isochrones

* fix: added weather conditions in boundary conditions as optional

* fix: removed hardocoded boundaries in dataloader

* refactor: better out of bounds handling

out_of_bounds_mode can be set to "raise" or "ignore". It will throw PropagatorOutOfBoundsError when reaching the boundaries of the simulation if in "raise" mode.

* chore: add types

* updated agents.md

* fix: update action parsing to handle legacy fields and merge to already defined actions

* feat: added default options of ROS model and fuel moisture effect on constants

* modified params for testing

* fix: corrected wind direction from boundary conditions to the model convention

* feat: added some print in the main

* feat: separated cli from config , which comes from a separated file

* fix: modify order of configuration parameters for readibility

* fix: modified order of fields in configuration

* fix: removed deprecated commented code

* feat: added extra printing for the console

* feat: added sh file for cache cleaning

* fix: adjusted point print in the console

* feat: added formatted printing for cli console

* fix: removed 0.95 isochrones fro coherence with default statistics

* fix: changed name from params to config for coherence

* refactor: better tiles loading code

- Structured tile metadata with TileReference and AxisCoverage dataclasses to replace unpacked tuples and centralize slice math, improving readability around window selection

- Rebuilt load_tile to use pathlib, shared loaders, and richer error messages while still supporting .mat/.tif fallbacks and returning contiguous arrays

  - Simplified get_dem/get_veg and the tiling pipeline to reuse the generalized mosaic assembly helpers, eliminating the axis-specific branching and keeping outputs contiguous with explicit dtypes

* test: fix tests after code updates

* refactor: align internal wind angle representation to meteorological conventions

* chore:  cleanup and fixes

fix typings for literals and add type:ignore when needed
change example.py to a simpler streamlined example

* refactor: update angle and wind direction descriptions to use clockwise radians

---------

Co-authored-by: Perello-nico <[email protected]>
* feat: simulation time granularity switched from minutes to seconds

- Converted configuration and boundary condition interfaces to seconds, updating defaults, docs, and metadata.

- Propagation core now emits and schedules second-based times: p_time models multiply by 60, spotting returns integer seconds with a zero-wind guard, and decay logic interprets deltas per minute.

- Adjusted status output and API docs to reflect second granularity .

- Updated unit tests to exercise the new time base.

* fix: fix typings and improve cli output

* fix: invert loader priority
mirkodandrea and others added 22 commits October 24, 2025 14:48
* fix: fix typings and improve cli output

* fix: invert loader priority

* fix: fix get_middle_point function behaviour with polygons

* feat: improve cli output and add a flag for verbosity
* docs: improved docs content, improved mkdocs generated site

* docs: update README and index

* fix: enhance hero section layout and styling in documentation
* Dev (#10)

* fix:  ensure time is an integer when logging

* fix: improve time formatting in status messages

* Better readme and docs (#9)

* docs: improved docs content, improved mkdocs generated site

* docs: update README and index

* fix: enhance hero section layout and styling in documentation

---------

Co-authored-by: Perello-nico <[email protected]>

* fix: (tentative fix) set function caching to False to solve ReferenceError("underlying object has vanished") when using in a multiprocess environment

* Stop tracking example/dem.tif with LFS

* Store example/dem.tif as a regular Git file (no LFS)

* fix: set jit cache=False to reduce issues with ReferenceError("underlying object has vanished")

---------

Co-authored-by: Perello-nico <[email protected]>
* feat: 3d ignition masks in boundary conditions

* improved examples

* Update src/propagator/core/propagator.py

Co-authored-by: Copilot <[email protected]>

* Update src/propagator/core/propagator.py

Co-authored-by: Copilot <[email protected]>

* Update example/example_stochastic_ignitions.py

Co-authored-by: Copilot <[email protected]>

---------

Co-authored-by: Copilot <[email protected]>
…14)

* refactor: simplify  usage of scalar value boundary conditions fields, pass ignitions as tuples
@mirkodandrea mirkodandrea changed the title fix: change import to remove DeprecationWarning Update Dec 19, 2025
@mirkodandrea mirkodandrea requested a review from Copilot December 19, 2025 12:48
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the import statements for scipy functions to use their current module locations, removing deprecated import paths.

Key Changes:

  • Consolidated scipy.ndimage imports into a single import statement using the main module instead of deprecated submodules
  • Updated scipy.signal import to use the main module instead of the deprecated signaltools submodule

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mirkodandrea mirkodandrea marked this pull request as draft December 19, 2025 12:49
@mirkodandrea mirkodandrea marked this pull request as ready for review December 19, 2025 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants