tilupy.initsimus

Functions

write(model_name, raster_topo, raster_mass, tmax, ...)

Dynamically imports the corresponding initiation module from

Module Contents

Functions

tilupy.initsimus.write(model_name: str, raster_topo: str, raster_mass: str, tmax: float, dt_im: float, rheology_type: str, rheology_params: dict = None, folder_out: str = None, **kwargs)

Dynamically imports the corresponding initiation module from tilupy.models.<code>.initsimus and use the corresponding write_simu() function.

Parameters:
  • model_name (str) – Model to create simulation files.

  • raster_topo (str, optional) – Path for an ASCII topography.

  • raster_mass (str, optional) – Path for an ASCII initial mass.

  • tmax (float) – Maximum simulation time.

  • dt_im (float) – Output image interval (in time steps).

  • rheology_type (str) – Rheology to use for the simulation.

  • rheology_params (dict) – Parameters specific to the selected rheology.

  • folder_out (str, optional) – Output folder where simulation inputs will be saved.

  • **kwargs – Additional arguments for specific models.