wolfhece.scenario.update_void

Author: HECE - University of Liege, Pierre Archambeau Date: 2024

Copyright (c) 2024 University of Liege. All rights reserved.

This script and its content are protected by copyright law. Unauthorized copying or distribution of this file, via any medium, is strictly prohibited.

Module Contents

class wolfhece.scenario.update_void.Update_Sim[source]

Mise à jour par script des donnees de topographie/bathymetrie et de coefficient de frottement

update_topobathy(topobahty: wolfhece.wolf_array.WolfArray)[source]

FR

Cette fonction doit être particularisée afin d’appliquer des modifications à la topographie du lit majeur ou à la bathymétrie du lit mineur.

L’information de base se trouve dans le paramètre ‘topobahty’ de classe ‘WolfArray’.

La matrice Numpy, en <Float32>, (avec masque - cf np.ma ) est accessible via :
  • topobahty.array[:,:]

  • topobahty.array.mask[:,:]

  • topobahty.array.data[:,:]

Il n’est pas permis de remplacer la matrice (création d’une nouvelle matrice et/ou pointage d’una autre matrice). Toutes les operations doivent se faire dans l’esace alloué.

EN

This function must be customized to apply modifications to the topography of the main bed or the bathymetry of the minor bed.

The basic information is located in the ‘topobahty’ parameter (‘WolfArray’ class).

The Numpy array, in <Float32>, (with a mask - see np.ma), can be accessed via:
  • topobahty.array[:,:]

  • topobahty.array.mask[:,:]

  • topobahty.array.data[:,:]

It is not allowed to replace the array (creating a new array and/or pointing an other array). All operations must be performed within the allocated space.

update_manning(manning: wolfhece.wolf_array.WolfArray)[source]

FR

Cette fonction doit être particularisée afin d’appliquer des modifications à la distribution du coefficient de Manning.

L’information de base se trouve dans le paramètre ‘manning’ de classe ‘WolfArray’.

La matrice Numpy, en <Float32>, (avec masque - cf np.ma ) est accessible via :
  • manning.array[:,:]

  • manning.array.mask[:,:]

  • manning.array.data[:,:]

Il n’est pas permis de remplacer la matrice (création d’une nouvelle matrice et/ou pointage d’una autre matrice). Toutes les operations doivent se faire dans l’esace alloué.

EN

This function must be customized to apply modifications to the Manning roughness parameter.

The basic information is located in the ‘manning’ parameter (‘WolfArray’ class).

The Numpy array, in <Float32>, (with a mask - see np.ma), can be accessed via:
  • manning.array[:,:]

  • manning.array.mask[:,:]

  • manning.array.data[:,:]

It is not allowed to replace the array (creating a new array and/or pointing an other array). All operations must be performed within the allocated space.

update_infiltration(infiltration_zones: wolfhece.wolf_array.WolfArray)[source]

FR

Cette fonction doit être particularisée afin d’appliquer des modifications à la distribution des zones d’infiltration (matrice en Int32)

L’information de base se trouve dans le paramètre ‘infiltration_zones’ de classe ‘WolfArray’.

La matrice Numpy, en <Int3232>, (avec masque - cf np.ma ) est accessible via :
  • infiltration_zones.array[:,:]

  • infiltration_zones.array.mask[:,:]

  • infiltration_zones.array.data[:,:]

Il n’est pas permis de remplacer la matrice (création d’une nouvelle matrice et/ou pointage d’una autre matrice). Toutes les operations doivent se faire dans l’esace alloué.

EN

This function must be customized to apply modifications to the Infiltration zones parameter.

The basic information is located in the ‘infiltration_zones’ parameter (‘WolfArray’ class).

The Numpy array, in <Int32>, (with a mask - see np.ma), can be accessed via:
  • infiltration_zones.array[:,:]

  • infiltration_zones.array.mask[:,:]

  • infiltration_zones.array.data[:,:]

It is not allowed to replace the array (creating a new array and/or pointing an other array). All operations must be performed within the allocated space.

wolfhece.scenario.update_void.create_empty_method(method_name, method_signature, docstring, imports)[source]
wolfhece.scenario.update_void.create_new_file(filepath: pathlib.Path)[source]