wolfhece 2.1.100__py3-none-any.whl → 2.1.102__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -40,7 +40,7 @@ class Update_Sim:
40
40
  - topobahty.array.mask[:,:]
41
41
  - topobahty.array.data[:,:]
42
42
 
43
- 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é.
43
+ 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'espace alloué.
44
44
 
45
45
  EN
46
46
 
@@ -71,7 +71,7 @@ class Update_Sim:
71
71
  - manning.array.mask[:,:]
72
72
  - manning.array.data[:,:]
73
73
 
74
- 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é.
74
+ 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'espace alloué.
75
75
 
76
76
  EN
77
77
 
@@ -102,7 +102,7 @@ class Update_Sim:
102
102
  - infiltration_zones.array.mask[:,:]
103
103
  - infiltration_zones.array.data[:,:]
104
104
 
105
- 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é.
105
+ 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'espace alloué.
106
106
 
107
107
  EN
108
108
 
@@ -119,6 +119,37 @@ class Update_Sim:
119
119
  """
120
120
  pass
121
121
 
122
+ def update_roof(self, roof:WolfArray):
123
+ """
124
+ FR
125
+
126
+ Cette fonction doit être particularisée afin d'appliquer des modifications
127
+ à l'altimétrie des ponts et ponceaux (toits)'.
128
+
129
+ L'information de base se trouve dans le paramètre 'roof' de classe 'WolfArray'.
130
+
131
+ La matrice Numpy, en <Float32>, (avec masque - cf np.ma ) est accessible via :
132
+ - roof.array[:,:]
133
+ - roof.array.mask[:,:]
134
+ - roof.array.data[:,:]
135
+
136
+ 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'espace alloué.
137
+
138
+ EN
139
+
140
+ This function must be customized to apply modifications to the roof elevation of bridges/culverts.
141
+
142
+ The basic information is located in the 'roof' parameter ('WolfArray' class).
143
+
144
+ The Numpy array, in <Float32>, (with a mask - see np.ma), can be accessed via:
145
+ - roof.array[:,:]
146
+ - roof.array.mask[:,:]
147
+ - roof.array.data[:,:]
148
+
149
+ 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.
150
+ """
151
+ pass
152
+
122
153
  def create_empty_method(method_name, method_signature, docstring, imports):
123
154
  # Fonction utilitaire pour créer des méthodes vides avec la même signature, la documentation et les importations
124
155
  imports_str = '\n'.join(f'import {module}' for module in imports)