Skip to content

Conversation

@mirkodandrea
Copy link
Collaborator

Merge latest updates from branch dev

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
* 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
@mirkodandrea mirkodandrea marked this pull request as draft October 24, 2025 12:54
@mirkodandrea mirkodandrea marked this pull request as ready for review October 24, 2025 13:27
@mirkodandrea mirkodandrea marked this pull request as draft October 24, 2025 13:27
@mirkodandrea mirkodandrea marked this pull request as ready for review October 24, 2025 13:51
@mirkodandrea mirkodandrea merged commit d55fbc0 into main Oct 24, 2025
4 checks passed
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