floodmodeller-api 0.4.2.post1__py3-none-any.whl → 0.4.3__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.
Files changed (172) hide show
  1. floodmodeller_api/__init__.py +8 -9
  2. floodmodeller_api/_base.py +184 -176
  3. floodmodeller_api/backup.py +273 -273
  4. floodmodeller_api/dat.py +909 -831
  5. floodmodeller_api/diff.py +136 -119
  6. floodmodeller_api/ied.py +307 -306
  7. floodmodeller_api/ief.py +647 -637
  8. floodmodeller_api/ief_flags.py +253 -253
  9. floodmodeller_api/inp.py +266 -266
  10. floodmodeller_api/libs/libifcoremd.dll +0 -0
  11. floodmodeller_api/libs/libifcoremt.so.5 +0 -0
  12. floodmodeller_api/libs/libifport.so.5 +0 -0
  13. floodmodeller_api/{libmmd.dll → libs/libimf.so} +0 -0
  14. floodmodeller_api/libs/libintlc.so.5 +0 -0
  15. floodmodeller_api/libs/libmmd.dll +0 -0
  16. floodmodeller_api/libs/libsvml.so +0 -0
  17. floodmodeller_api/libs/libzzn_read.so +0 -0
  18. floodmodeller_api/libs/zzn_read.dll +0 -0
  19. floodmodeller_api/logs/__init__.py +2 -2
  20. floodmodeller_api/logs/lf.py +320 -312
  21. floodmodeller_api/logs/lf_helpers.py +354 -352
  22. floodmodeller_api/logs/lf_params.py +643 -529
  23. floodmodeller_api/mapping.py +84 -0
  24. floodmodeller_api/test/__init__.py +4 -4
  25. floodmodeller_api/test/conftest.py +9 -8
  26. floodmodeller_api/test/test_backup.py +117 -117
  27. floodmodeller_api/test/test_dat.py +221 -92
  28. floodmodeller_api/test/test_data/All Units 4_6.DAT +1081 -1081
  29. floodmodeller_api/test/test_data/All Units 4_6.feb +1081 -1081
  30. floodmodeller_api/test/test_data/BRIDGE.DAT +926 -926
  31. floodmodeller_api/test/test_data/Culvert_Inlet_Outlet.dat +36 -36
  32. floodmodeller_api/test/test_data/Culvert_Inlet_Outlet.feb +36 -36
  33. floodmodeller_api/test/test_data/DamBreakADI.xml +52 -52
  34. floodmodeller_api/test/test_data/DamBreakFAST.xml +58 -58
  35. floodmodeller_api/test/test_data/DamBreakFAST_dy.xml +53 -53
  36. floodmodeller_api/test/test_data/DamBreakTVD.xml +55 -55
  37. floodmodeller_api/test/test_data/DefenceBreach.xml +53 -53
  38. floodmodeller_api/test/test_data/DefenceBreachFAST.xml +60 -60
  39. floodmodeller_api/test/test_data/DefenceBreachFAST_dy.xml +55 -55
  40. floodmodeller_api/test/test_data/Domain1+2_QH.xml +76 -76
  41. floodmodeller_api/test/test_data/Domain1_H.xml +41 -41
  42. floodmodeller_api/test/test_data/Domain1_Q.xml +41 -41
  43. floodmodeller_api/test/test_data/Domain1_Q_FAST.xml +48 -48
  44. floodmodeller_api/test/test_data/Domain1_Q_FAST_dy.xml +48 -48
  45. floodmodeller_api/test/test_data/Domain1_Q_xml_expected.json +263 -0
  46. floodmodeller_api/test/test_data/Domain1_W.xml +41 -41
  47. floodmodeller_api/test/test_data/EX1.DAT +321 -321
  48. floodmodeller_api/test/test_data/EX1.ext +107 -107
  49. floodmodeller_api/test/test_data/EX1.feb +320 -320
  50. floodmodeller_api/test/test_data/EX1.gxy +107 -107
  51. floodmodeller_api/test/test_data/EX17.DAT +421 -422
  52. floodmodeller_api/test/test_data/EX17.ext +213 -213
  53. floodmodeller_api/test/test_data/EX17.feb +422 -422
  54. floodmodeller_api/test/test_data/EX18.DAT +375 -375
  55. floodmodeller_api/test/test_data/EX18_DAT_expected.json +3876 -0
  56. floodmodeller_api/test/test_data/EX2.DAT +302 -302
  57. floodmodeller_api/test/test_data/EX3.DAT +926 -926
  58. floodmodeller_api/test/test_data/EX3_DAT_expected.json +16235 -0
  59. floodmodeller_api/test/test_data/EX3_IEF_expected.json +61 -0
  60. floodmodeller_api/test/test_data/EX6.DAT +2084 -2084
  61. floodmodeller_api/test/test_data/EX6.ext +532 -532
  62. floodmodeller_api/test/test_data/EX6.feb +2084 -2084
  63. floodmodeller_api/test/test_data/EX6_DAT_expected.json +31647 -0
  64. floodmodeller_api/test/test_data/Event Data Example.DAT +336 -336
  65. floodmodeller_api/test/test_data/Event Data Example.ext +107 -107
  66. floodmodeller_api/test/test_data/Event Data Example.feb +336 -336
  67. floodmodeller_api/test/test_data/Linked1D2D.xml +52 -52
  68. floodmodeller_api/test/test_data/Linked1D2DFAST.xml +53 -53
  69. floodmodeller_api/test/test_data/Linked1D2DFAST_dy.xml +48 -48
  70. floodmodeller_api/test/test_data/Linked1D2D_xml_expected.json +313 -0
  71. floodmodeller_api/test/test_data/blockage.dat +50 -50
  72. floodmodeller_api/test/test_data/blockage.ext +45 -45
  73. floodmodeller_api/test/test_data/blockage.feb +9 -9
  74. floodmodeller_api/test/test_data/blockage.gxy +71 -71
  75. floodmodeller_api/test/test_data/defaultUnits.dat +127 -127
  76. floodmodeller_api/test/test_data/defaultUnits.ext +45 -45
  77. floodmodeller_api/test/test_data/defaultUnits.feb +9 -9
  78. floodmodeller_api/test/test_data/defaultUnits.fmpx +58 -58
  79. floodmodeller_api/test/test_data/defaultUnits.gxy +85 -85
  80. floodmodeller_api/test/test_data/ex3.ief +20 -20
  81. floodmodeller_api/test/test_data/ex3.lf1 +2800 -2800
  82. floodmodeller_api/test/test_data/ex4.DAT +1374 -1374
  83. floodmodeller_api/test/test_data/ex4_changed.DAT +1374 -1374
  84. floodmodeller_api/test/test_data/example1.inp +329 -329
  85. floodmodeller_api/test/test_data/example2.inp +158 -158
  86. floodmodeller_api/test/test_data/example3.inp +297 -297
  87. floodmodeller_api/test/test_data/example4.inp +388 -388
  88. floodmodeller_api/test/test_data/example5.inp +147 -147
  89. floodmodeller_api/test/test_data/example6.inp +154 -154
  90. floodmodeller_api/test/test_data/jump.dat +176 -176
  91. floodmodeller_api/test/test_data/network.dat +1374 -1374
  92. floodmodeller_api/test/test_data/network.ext +45 -45
  93. floodmodeller_api/test/test_data/network.exy +1 -1
  94. floodmodeller_api/test/test_data/network.feb +45 -45
  95. floodmodeller_api/test/test_data/network.ied +45 -45
  96. floodmodeller_api/test/test_data/network.ief +20 -20
  97. floodmodeller_api/test/test_data/network.inp +147 -147
  98. floodmodeller_api/test/test_data/network.pxy +57 -57
  99. floodmodeller_api/test/test_data/network.zzd +122 -122
  100. floodmodeller_api/test/test_data/network_dat_expected.json +21837 -0
  101. floodmodeller_api/test/test_data/network_from_tabularCSV.csv +87 -87
  102. floodmodeller_api/test/test_data/network_ied_expected.json +287 -0
  103. floodmodeller_api/test/test_data/rnweir.dat +9 -9
  104. floodmodeller_api/test/test_data/rnweir.ext +45 -45
  105. floodmodeller_api/test/test_data/rnweir.feb +9 -9
  106. floodmodeller_api/test/test_data/rnweir.gxy +45 -45
  107. floodmodeller_api/test/test_data/rnweir_default.dat +74 -74
  108. floodmodeller_api/test/test_data/rnweir_default.ext +45 -45
  109. floodmodeller_api/test/test_data/rnweir_default.feb +9 -9
  110. floodmodeller_api/test/test_data/rnweir_default.fmpx +58 -58
  111. floodmodeller_api/test/test_data/rnweir_default.gxy +53 -53
  112. floodmodeller_api/test/test_data/unit checks.dat +16 -16
  113. floodmodeller_api/test/test_ied.py +29 -29
  114. floodmodeller_api/test/test_ief.py +125 -24
  115. floodmodeller_api/test/test_inp.py +47 -48
  116. floodmodeller_api/test/test_json.py +114 -0
  117. floodmodeller_api/test/test_logs_lf.py +48 -51
  118. floodmodeller_api/test/test_tool.py +165 -152
  119. floodmodeller_api/test/test_toolbox_structure_log.py +234 -239
  120. floodmodeller_api/test/test_xml2d.py +151 -156
  121. floodmodeller_api/test/test_zzn.py +36 -34
  122. floodmodeller_api/to_from_json.py +218 -0
  123. floodmodeller_api/tool.py +332 -329
  124. floodmodeller_api/toolbox/__init__.py +5 -5
  125. floodmodeller_api/toolbox/example_tool.py +45 -45
  126. floodmodeller_api/toolbox/model_build/__init__.py +2 -2
  127. floodmodeller_api/toolbox/model_build/add_siltation_definition.py +100 -98
  128. floodmodeller_api/toolbox/model_build/structure_log/__init__.py +1 -1
  129. floodmodeller_api/toolbox/model_build/structure_log/structure_log.py +287 -289
  130. floodmodeller_api/toolbox/model_build/structure_log_definition.py +76 -76
  131. floodmodeller_api/units/__init__.py +10 -10
  132. floodmodeller_api/units/_base.py +214 -212
  133. floodmodeller_api/units/boundaries.py +467 -467
  134. floodmodeller_api/units/comment.py +52 -55
  135. floodmodeller_api/units/conduits.py +382 -402
  136. floodmodeller_api/units/helpers.py +123 -131
  137. floodmodeller_api/units/iic.py +107 -101
  138. floodmodeller_api/units/losses.py +305 -306
  139. floodmodeller_api/units/sections.py +444 -446
  140. floodmodeller_api/units/structures.py +1690 -1683
  141. floodmodeller_api/units/units.py +93 -104
  142. floodmodeller_api/units/unsupported.py +44 -44
  143. floodmodeller_api/units/variables.py +87 -89
  144. floodmodeller_api/urban1d/__init__.py +11 -11
  145. floodmodeller_api/urban1d/_base.py +188 -179
  146. floodmodeller_api/urban1d/conduits.py +93 -85
  147. floodmodeller_api/urban1d/general_parameters.py +58 -58
  148. floodmodeller_api/urban1d/junctions.py +81 -79
  149. floodmodeller_api/urban1d/losses.py +81 -74
  150. floodmodeller_api/urban1d/outfalls.py +114 -110
  151. floodmodeller_api/urban1d/raingauges.py +111 -111
  152. floodmodeller_api/urban1d/subsections.py +92 -98
  153. floodmodeller_api/urban1d/xsections.py +147 -144
  154. floodmodeller_api/util.py +77 -21
  155. floodmodeller_api/validation/parameters.py +660 -660
  156. floodmodeller_api/validation/urban_parameters.py +388 -404
  157. floodmodeller_api/validation/validation.py +110 -108
  158. floodmodeller_api/version.py +1 -1
  159. floodmodeller_api/xml2d.py +688 -673
  160. floodmodeller_api/xml2d_template.py +37 -37
  161. floodmodeller_api/zzn.py +387 -363
  162. {floodmodeller_api-0.4.2.post1.dist-info → floodmodeller_api-0.4.3.dist-info}/LICENSE.txt +13 -13
  163. {floodmodeller_api-0.4.2.post1.dist-info → floodmodeller_api-0.4.3.dist-info}/METADATA +82 -82
  164. floodmodeller_api-0.4.3.dist-info/RECORD +179 -0
  165. {floodmodeller_api-0.4.2.post1.dist-info → floodmodeller_api-0.4.3.dist-info}/WHEEL +1 -1
  166. floodmodeller_api/libifcoremd.dll +0 -0
  167. floodmodeller_api/test/test_data/EX3.bmp +0 -0
  168. floodmodeller_api/test/test_data/test_output.csv +0 -87
  169. floodmodeller_api/zzn_read.dll +0 -0
  170. floodmodeller_api-0.4.2.post1.dist-info/RECORD +0 -164
  171. {floodmodeller_api-0.4.2.post1.dist-info → floodmodeller_api-0.4.3.dist-info}/entry_points.txt +0 -0
  172. {floodmodeller_api-0.4.2.post1.dist-info → floodmodeller_api-0.4.3.dist-info}/top_level.txt +0 -0
@@ -1,42 +1,42 @@
1
- <?xml version="1.0" standalone="yes"?>
2
- <ISIS2Dproject xmlns="https://www.floodmodeller.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://www.floodmodeller.com http://schema.floodmodeller.com/4.0/2d.xsd" name="H 20m 6.8m Tide Q link">
3
- <link1d>
4
- <link>GIS\Link1_Q.shp</link>
5
- <ief>Domain1_Q.ief</ief>
6
- <mb>Domain1_Q_MB1D.csv</mb>
7
- </link1d>
8
- <logfile>Domain1_Q.log</logfile>
9
- <!--content for domain 'Domain1 20m H'-->
10
- <domain domain_id="Domain1 20m H">
11
- <computational_area>
12
- <xll>538010.0</xll>
13
- <yll>177010.0</yll>
14
- <dx>20</dx>
15
- <nrows>200</nrows>
16
- <ncols>300</ncols>
17
- <active_area>GIS\Active_Area1.shp</active_area>
18
- </computational_area>
19
- <topography>GIS\5M_DTM_1.asc</topography>
20
- <time>
21
- <start_time>00:00:00</start_time>
22
- <start_date>1/1/2000</start_date>
23
- <total unit="second">43200</total>
24
- </time>
25
- <run_data>
26
- <time_step> 2 </time_step>
27
- <scheme>ADI</scheme>
28
- </run_data>
29
- <initial_conditions type="globalwaterlevel"> 0.0 </initial_conditions>
30
- <roughness law="manning" type="global">0.05</roughness>
31
- <output_results>
32
- <output output_id="" format="SMS9">
33
- <variables>Depth
34
- Velocity
35
- Elevation
36
- Flow</variables>
37
- <frequency>300</frequency>
38
- </output>
39
- <massfile frequency="10">Domain1_Q_MB2D.csv</massfile>
40
- </output_results>
41
- </domain>
1
+ <?xml version="1.0" standalone="yes"?>
2
+ <ISIS2Dproject xmlns="https://www.floodmodeller.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://www.floodmodeller.com http://schema.floodmodeller.com/4.0/2d.xsd" name="H 20m 6.8m Tide Q link">
3
+ <link1d>
4
+ <link>GIS\Link1_Q.shp</link>
5
+ <ief>Domain1_Q.ief</ief>
6
+ <mb>Domain1_Q_MB1D.csv</mb>
7
+ </link1d>
8
+ <logfile>Domain1_Q.log</logfile>
9
+ <!--content for domain 'Domain1 20m H'-->
10
+ <domain domain_id="Domain1 20m H">
11
+ <computational_area>
12
+ <xll>538010.0</xll>
13
+ <yll>177010.0</yll>
14
+ <dx>20</dx>
15
+ <nrows>200</nrows>
16
+ <ncols>300</ncols>
17
+ <active_area>GIS\Active_Area1.shp</active_area>
18
+ </computational_area>
19
+ <topography>GIS\5M_DTM_1.asc</topography>
20
+ <time>
21
+ <start_time>00:00:00</start_time>
22
+ <start_date>1/1/2000</start_date>
23
+ <total unit="second">43200</total>
24
+ </time>
25
+ <run_data>
26
+ <time_step> 2 </time_step>
27
+ <scheme>ADI</scheme>
28
+ </run_data>
29
+ <initial_conditions type="globalwaterlevel"> 0.0 </initial_conditions>
30
+ <roughness law="manning" type="global">0.05</roughness>
31
+ <output_results>
32
+ <output output_id="" format="SMS9">
33
+ <variables>Depth
34
+ Velocity
35
+ Elevation
36
+ Flow</variables>
37
+ <frequency>300</frequency>
38
+ </output>
39
+ <massfile frequency="10">Domain1_Q_MB2D.csv</massfile>
40
+ </output_results>
41
+ </domain>
42
42
  </ISIS2Dproject>
@@ -1,49 +1,49 @@
1
- <?xml version="1.0" standalone="yes"?>
2
- <ISIS2Dproject xmlns="https://www.floodmodeller.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://www.floodmodeller.com http://schema.floodmodeller.com/4.0/2d.xsd" name="FAST 1D Link">
3
- <link1d>
4
- <link>GIS\Link1_Q.shp</link>
5
- <ief>Domain1_Q.ief</ief>
6
- <mb>Domain1_Q_MB1D.csv</mb>
7
- </link1d>
8
- <logfile>Domain1_Q.log</logfile>
9
- <!--content for domain 'Domain1 20m H'-->
10
- <domain domain_id="Domain1 20m H">
11
- <computational_area>
12
- <xll>538010.0</xll>
13
- <yll>177010.0</yll>
14
- <dx>20</dx>
15
- <nrows>200</nrows>
16
- <ncols>300</ncols>
17
- <active_area>GIS\Active_Area1.shp</active_area>
18
- </computational_area>
19
- <topography>GIS\5M_DTM_1.asc</topography>
20
- <time>
21
- <start_time>00:00:00</start_time>
22
- <start_date>1/1/2000</start_date>
23
- <total unit="second">43200</total>
24
- </time>
25
- <run_data>
26
- <time_step>43200</time_step>
27
- <scheme>FAST</scheme>
28
- <merge>0.1</merge>
29
- <disc>0.1</disc>
30
- <filter>0.05</filter>
31
- <preprocess_fast>true</preprocess_fast>
32
- <pathMarkup_fast>false</pathMarkup_fast>
33
- </run_data>
34
- <initial_conditions type="globalwaterlevel"> 0.0 </initial_conditions>
35
- <roughness law="manning" type="global">0.05</roughness>
36
- <output_results>
37
- <hazard_debris_factor_method>
38
- <static factor="1.0" />
39
- </hazard_debris_factor_method>
40
- <output output_id="" format="SMS9">
41
- <variables>Depth</variables>
42
- <frequency>1800</frequency>
43
- </output>
44
- <massfile frequency="10">Domain1_Q_MB2D.csv</massfile>
45
- <check>off</check>
46
- </output_results>
47
- </domain>
48
- <advanced_options />
1
+ <?xml version="1.0" standalone="yes"?>
2
+ <ISIS2Dproject xmlns="https://www.floodmodeller.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://www.floodmodeller.com http://schema.floodmodeller.com/4.0/2d.xsd" name="FAST 1D Link">
3
+ <link1d>
4
+ <link>GIS\Link1_Q.shp</link>
5
+ <ief>Domain1_Q.ief</ief>
6
+ <mb>Domain1_Q_MB1D.csv</mb>
7
+ </link1d>
8
+ <logfile>Domain1_Q.log</logfile>
9
+ <!--content for domain 'Domain1 20m H'-->
10
+ <domain domain_id="Domain1 20m H">
11
+ <computational_area>
12
+ <xll>538010.0</xll>
13
+ <yll>177010.0</yll>
14
+ <dx>20</dx>
15
+ <nrows>200</nrows>
16
+ <ncols>300</ncols>
17
+ <active_area>GIS\Active_Area1.shp</active_area>
18
+ </computational_area>
19
+ <topography>GIS\5M_DTM_1.asc</topography>
20
+ <time>
21
+ <start_time>00:00:00</start_time>
22
+ <start_date>1/1/2000</start_date>
23
+ <total unit="second">43200</total>
24
+ </time>
25
+ <run_data>
26
+ <time_step>43200</time_step>
27
+ <scheme>FAST</scheme>
28
+ <merge>0.1</merge>
29
+ <disc>0.1</disc>
30
+ <filter>0.05</filter>
31
+ <preprocess_fast>true</preprocess_fast>
32
+ <pathMarkup_fast>false</pathMarkup_fast>
33
+ </run_data>
34
+ <initial_conditions type="globalwaterlevel"> 0.0 </initial_conditions>
35
+ <roughness law="manning" type="global">0.05</roughness>
36
+ <output_results>
37
+ <hazard_debris_factor_method>
38
+ <static factor="1.0" />
39
+ </hazard_debris_factor_method>
40
+ <output output_id="" format="SMS9">
41
+ <variables>Depth</variables>
42
+ <frequency>1800</frequency>
43
+ </output>
44
+ <massfile frequency="10">Domain1_Q_MB2D.csv</massfile>
45
+ <check>off</check>
46
+ </output_results>
47
+ </domain>
48
+ <advanced_options />
49
49
  </ISIS2Dproject>
@@ -1,49 +1,49 @@
1
- <?xml version="1.0" standalone="yes"?>
2
- <ISIS2Dproject xmlns="https://www.floodmodeller.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://www.floodmodeller.com http://schema.floodmodeller.com/4.0/2d.xsd" name="FAST Dy 1D Link">
3
- <link1d>
4
- <link>GIS\Link1_Q.shp</link>
5
- <ief>Domain1_Q.ief</ief>
6
- <mb>Domain1_Q_MB1D.csv</mb>
7
- </link1d>
8
- <logfile>Domain1_Q.log</logfile>
9
- <!--content for domain 'Domain1 20m H'-->
10
- <domain domain_id="Domain1 20m H">
11
- <computational_area>
12
- <xll>538010.0</xll>
13
- <yll>177010.0</yll>
14
- <dx>20</dx>
15
- <nrows>200</nrows>
16
- <ncols>300</ncols>
17
- <active_area>GIS\Active_Area1.shp</active_area>
18
- </computational_area>
19
- <topography>GIS\5M_DTM_1.asc</topography>
20
- <time>
21
- <start_time>00:00:00</start_time>
22
- <start_date>1/1/2000</start_date>
23
- <total unit="second">43200</total>
24
- </time>
25
- <run_data>
26
- <time_step>10</time_step>
27
- <scheme>FAST Dynamic</scheme>
28
- <merge>0.1</merge>
29
- <disc>0.1</disc>
30
- <filter>0.05</filter>
31
- <preprocess_fast>true</preprocess_fast>
32
- <pathMarkup_fast>false</pathMarkup_fast>
33
- </run_data>
34
- <initial_conditions type="globalwaterlevel"> 0.0 </initial_conditions>
35
- <roughness law="manning" type="global">0.05</roughness>
36
- <output_results>
37
- <hazard_debris_factor_method>
38
- <static factor="1.0" />
39
- </hazard_debris_factor_method>
40
- <output output_id="" format="SMS9">
41
- <variables>Depth</variables>
42
- <frequency>1800</frequency>
43
- </output>
44
- <massfile frequency="10">Domain1_Q_MB2D.csv</massfile>
45
- <check>off</check>
46
- </output_results>
47
- </domain>
48
- <advanced_options />
1
+ <?xml version="1.0" standalone="yes"?>
2
+ <ISIS2Dproject xmlns="https://www.floodmodeller.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://www.floodmodeller.com http://schema.floodmodeller.com/4.0/2d.xsd" name="FAST Dy 1D Link">
3
+ <link1d>
4
+ <link>GIS\Link1_Q.shp</link>
5
+ <ief>Domain1_Q.ief</ief>
6
+ <mb>Domain1_Q_MB1D.csv</mb>
7
+ </link1d>
8
+ <logfile>Domain1_Q.log</logfile>
9
+ <!--content for domain 'Domain1 20m H'-->
10
+ <domain domain_id="Domain1 20m H">
11
+ <computational_area>
12
+ <xll>538010.0</xll>
13
+ <yll>177010.0</yll>
14
+ <dx>20</dx>
15
+ <nrows>200</nrows>
16
+ <ncols>300</ncols>
17
+ <active_area>GIS\Active_Area1.shp</active_area>
18
+ </computational_area>
19
+ <topography>GIS\5M_DTM_1.asc</topography>
20
+ <time>
21
+ <start_time>00:00:00</start_time>
22
+ <start_date>1/1/2000</start_date>
23
+ <total unit="second">43200</total>
24
+ </time>
25
+ <run_data>
26
+ <time_step>10</time_step>
27
+ <scheme>FAST Dynamic</scheme>
28
+ <merge>0.1</merge>
29
+ <disc>0.1</disc>
30
+ <filter>0.05</filter>
31
+ <preprocess_fast>true</preprocess_fast>
32
+ <pathMarkup_fast>false</pathMarkup_fast>
33
+ </run_data>
34
+ <initial_conditions type="globalwaterlevel"> 0.0 </initial_conditions>
35
+ <roughness law="manning" type="global">0.05</roughness>
36
+ <output_results>
37
+ <hazard_debris_factor_method>
38
+ <static factor="1.0" />
39
+ </hazard_debris_factor_method>
40
+ <output output_id="" format="SMS9">
41
+ <variables>Depth</variables>
42
+ <frequency>1800</frequency>
43
+ </output>
44
+ <massfile frequency="10">Domain1_Q_MB2D.csv</massfile>
45
+ <check>off</check>
46
+ </output_results>
47
+ </domain>
48
+ <advanced_options />
49
49
  </ISIS2Dproject>
@@ -0,0 +1,263 @@
1
+ {
2
+ "API Class": "floodmodeller_api.xml2d.XML2D",
3
+ "API Version": "0.4.2.post1",
4
+ "Object Attributes": {
5
+ "_filepath": "C:\\Users\\PIERCEJA\\OneDrive - Jacobs\\Documents\\Projects\\Flood Modeller API\\development\\floodmodeller-api\\floodmodeller_api\\test\\test_data\\Domain1_Q.xml",
6
+ "file": {
7
+ "API Class": "floodmodeller_api.backup.File",
8
+ "Object Attributes": {
9
+ "path": "C:\\Users\\PIERCEJA\\OneDrive - Jacobs\\Documents\\Projects\\Flood Modeller API\\development\\floodmodeller-api\\floodmodeller_api\\test\\test_data\\Domain1_Q.xml",
10
+ "ext": ".xml",
11
+ "dttm_str": "2024-04-17-14-09-24",
12
+ "file_id": "a213182e3df6175444086915fcc1e069d5acafb0",
13
+ "backup_filename": "a213182e3df6175444086915fcc1e069d5acafb0_2024-04-17-14-09-24.xml",
14
+ "temp_dir": "C:\\Users\\PIERCEJA\\AppData\\Local\\Temp",
15
+ "backup_dirname": "floodmodeller_api_backup",
16
+ "backup_dir": "C:\\Users\\PIERCEJA\\AppData\\Local\\Temp\\floodmodeller_api_backup",
17
+ "backup_csv_path": "C:\\Users\\PIERCEJA\\AppData\\Local\\Temp\\floodmodeller_api_backup\\file-backups.csv"
18
+ }
19
+ },
20
+ "_ns": "{https://www.floodmodeller.com}",
21
+ "_xmltree": null,
22
+ "_xsd": null,
23
+ "_xsdschema": null,
24
+ "_multi_value_keys": {
25
+ "python_set": [
26
+ "boundary",
27
+ "domain",
28
+ "file",
29
+ "fmfile",
30
+ "link",
31
+ "link1d",
32
+ "network",
33
+ "output",
34
+ "processorid",
35
+ "roughness",
36
+ "sediment_property_file",
37
+ "series",
38
+ "single",
39
+ "source",
40
+ "topography",
41
+ "topography_2",
42
+ "variable"
43
+ ]
44
+ },
45
+ "_raw_data": {
46
+ "name": "H 20m 6.8m Tide Q link",
47
+ "link1d": [
48
+ {
49
+ "link": [
50
+ "GIS\\Link1_Q.shp"
51
+ ],
52
+ "ief": "Domain1_Q.ief",
53
+ "mb": "Domain1_Q_MB1D.csv"
54
+ }
55
+ ],
56
+ "logfile": "Domain1_Q.log",
57
+ "domain": [
58
+ {
59
+ "domain_id": "Domain1 20m H",
60
+ "computational_area": {
61
+ "xll": 538010.0,
62
+ "yll": 177010.0,
63
+ "dx": 20,
64
+ "nrows": 200,
65
+ "ncols": 300,
66
+ "active_area": "GIS\\Active_Area1.shp"
67
+ },
68
+ "topography": [
69
+ "GIS\\5M_DTM_1.asc"
70
+ ],
71
+ "time": {
72
+ "start_time": "00:00:00",
73
+ "start_date": "1/1/2000",
74
+ "total": {
75
+ "unit": "second",
76
+ "value": 43200
77
+ }
78
+ },
79
+ "run_data": {
80
+ "time_step": 2,
81
+ "scheme": "ADI"
82
+ },
83
+ "initial_conditions": {
84
+ "type": "globalwaterlevel",
85
+ "value": 0.0
86
+ },
87
+ "roughness": [
88
+ {
89
+ "law": "manning",
90
+ "type": "global",
91
+ "value": 0.05
92
+ }
93
+ ],
94
+ "output_results": {
95
+ "output": [
96
+ {
97
+ "output_id": "",
98
+ "format": "SMS9",
99
+ "variables": [
100
+ "Depth",
101
+ "Velocity",
102
+ "Elevation",
103
+ "Flow"
104
+ ],
105
+ "frequency": 300
106
+ }
107
+ ],
108
+ "massfile": {
109
+ "frequency": "10",
110
+ "value": "Domain1_Q_MB2D.csv"
111
+ }
112
+ }
113
+ }
114
+ ]
115
+ },
116
+ "_data": {
117
+ "name": "H 20m 6.8m Tide Q link",
118
+ "link1d": [
119
+ {
120
+ "link": [
121
+ "GIS\\Link1_Q.shp"
122
+ ],
123
+ "ief": "Domain1_Q.ief",
124
+ "mb": "Domain1_Q_MB1D.csv"
125
+ }
126
+ ],
127
+ "logfile": "Domain1_Q.log",
128
+ "domain": [
129
+ {
130
+ "domain_id": "Domain1 20m H",
131
+ "computational_area": {
132
+ "xll": 538010.0,
133
+ "yll": 177010.0,
134
+ "dx": 20,
135
+ "nrows": 200,
136
+ "ncols": 300,
137
+ "active_area": "GIS\\Active_Area1.shp"
138
+ },
139
+ "topography": [
140
+ "GIS\\5M_DTM_1.asc"
141
+ ],
142
+ "time": {
143
+ "start_time": "00:00:00",
144
+ "start_date": "1/1/2000",
145
+ "total": {
146
+ "unit": "second",
147
+ "value": 43200
148
+ }
149
+ },
150
+ "run_data": {
151
+ "time_step": 2,
152
+ "scheme": "ADI"
153
+ },
154
+ "initial_conditions": {
155
+ "type": "globalwaterlevel",
156
+ "value": 0.0
157
+ },
158
+ "roughness": [
159
+ {
160
+ "law": "manning",
161
+ "type": "global",
162
+ "value": 0.05
163
+ }
164
+ ],
165
+ "output_results": {
166
+ "output": [
167
+ {
168
+ "output_id": "",
169
+ "format": "SMS9",
170
+ "variables": [
171
+ "Depth",
172
+ "Velocity",
173
+ "Elevation",
174
+ "Flow"
175
+ ],
176
+ "frequency": 300
177
+ }
178
+ ],
179
+ "massfile": {
180
+ "frequency": "10",
181
+ "value": "Domain1_Q_MB2D.csv"
182
+ }
183
+ }
184
+ }
185
+ ]
186
+ },
187
+ "name": "H 20m 6.8m Tide Q link",
188
+ "link1d": [
189
+ {
190
+ "link": [
191
+ "GIS\\Link1_Q.shp"
192
+ ],
193
+ "ief": "Domain1_Q.ief",
194
+ "mb": "Domain1_Q_MB1D.csv"
195
+ }
196
+ ],
197
+ "logfile": "Domain1_Q.log",
198
+ "domains": {
199
+ "Domain1 20m H": {
200
+ "domain_id": "Domain1 20m H",
201
+ "computational_area": {
202
+ "xll": 538010.0,
203
+ "yll": 177010.0,
204
+ "dx": 20,
205
+ "nrows": 200,
206
+ "ncols": 300,
207
+ "active_area": "GIS\\Active_Area1.shp"
208
+ },
209
+ "topography": [
210
+ "GIS\\5M_DTM_1.asc"
211
+ ],
212
+ "time": {
213
+ "start_time": "00:00:00",
214
+ "start_date": "1/1/2000",
215
+ "total": {
216
+ "unit": "second",
217
+ "value": 43200
218
+ }
219
+ },
220
+ "run_data": {
221
+ "time_step": 2,
222
+ "scheme": "ADI"
223
+ },
224
+ "initial_conditions": {
225
+ "type": "globalwaterlevel",
226
+ "value": 0.0
227
+ },
228
+ "roughness": [
229
+ {
230
+ "law": "manning",
231
+ "type": "global",
232
+ "value": 0.05
233
+ }
234
+ ],
235
+ "output_results": {
236
+ "output": [
237
+ {
238
+ "output_id": "",
239
+ "format": "SMS9",
240
+ "variables": [
241
+ "Depth",
242
+ "Velocity",
243
+ "Elevation",
244
+ "Flow"
245
+ ],
246
+ "frequency": 300
247
+ }
248
+ ],
249
+ "massfile": {
250
+ "frequency": "10",
251
+ "value": "Domain1_Q_MB2D.csv"
252
+ }
253
+ }
254
+ }
255
+ },
256
+ "restart_options": null,
257
+ "advanced_options": null,
258
+ "processor": null,
259
+ "unit_system": null,
260
+ "description": null,
261
+ "_log_path": "C:\\Users\\PIERCEJA\\OneDrive - Jacobs\\Documents\\Projects\\Flood Modeller API\\development\\floodmodeller-api\\floodmodeller_api\\test\\test_data\\Domain1_Q.lf2"
262
+ }
263
+ }
@@ -1,42 +1,42 @@
1
- <?xml version="1.0" standalone="yes"?>
2
- <ISIS2Dproject xmlns="https://www.floodmodeller.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://www.floodmodeller.com http://schema.floodmodeller.com/4.0/2d.xsd" name="H 20m 6.8m Tide Weir Link">
3
- <link1d>
4
- <link>GIS\Link1_W.shp</link>
5
- <ief>Domain1_W.ief</ief>
6
- <mb>Domain1_W_MB1D.csv</mb>
7
- </link1d>
8
- <logfile>Domain1_W.LOG</logfile>
9
- <!--content for domain 'Domain1 20m H'-->
10
- <domain domain_id="Domain1 20m H">
11
- <computational_area>
12
- <xll>538010.0</xll>
13
- <yll>177010.0</yll>
14
- <dx>20</dx>
15
- <nrows>200</nrows>
16
- <ncols>300</ncols>
17
- <active_area>GIS\Active_Area1.shp</active_area>
18
- </computational_area>
19
- <topography>GIS\5M_DTM_1.asc</topography>
20
- <time>
21
- <start_time>00:00:00</start_time>
22
- <start_date>1/1/2000</start_date>
23
- <total unit="second">43200</total>
24
- </time>
25
- <run_data>
26
- <time_step> 2 </time_step>
27
- <scheme>ADI</scheme>
28
- </run_data>
29
- <initial_conditions type="globalwaterlevel"> 0.0 </initial_conditions>
30
- <roughness law="manning" type="global">0.05</roughness>
31
- <output_results>
32
- <output output_id="" format="SMS9">
33
- <variables>Depth
34
- Velocity
35
- Elevation
36
- Flow</variables>
37
- <frequency>300</frequency>
38
- </output>
39
- <massfile frequency="10">Domain1_W_MB2D.csv</massfile>
40
- </output_results>
41
- </domain>
1
+ <?xml version="1.0" standalone="yes"?>
2
+ <ISIS2Dproject xmlns="https://www.floodmodeller.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://www.floodmodeller.com http://schema.floodmodeller.com/4.0/2d.xsd" name="H 20m 6.8m Tide Weir Link">
3
+ <link1d>
4
+ <link>GIS\Link1_W.shp</link>
5
+ <ief>Domain1_W.ief</ief>
6
+ <mb>Domain1_W_MB1D.csv</mb>
7
+ </link1d>
8
+ <logfile>Domain1_W.LOG</logfile>
9
+ <!--content for domain 'Domain1 20m H'-->
10
+ <domain domain_id="Domain1 20m H">
11
+ <computational_area>
12
+ <xll>538010.0</xll>
13
+ <yll>177010.0</yll>
14
+ <dx>20</dx>
15
+ <nrows>200</nrows>
16
+ <ncols>300</ncols>
17
+ <active_area>GIS\Active_Area1.shp</active_area>
18
+ </computational_area>
19
+ <topography>GIS\5M_DTM_1.asc</topography>
20
+ <time>
21
+ <start_time>00:00:00</start_time>
22
+ <start_date>1/1/2000</start_date>
23
+ <total unit="second">43200</total>
24
+ </time>
25
+ <run_data>
26
+ <time_step> 2 </time_step>
27
+ <scheme>ADI</scheme>
28
+ </run_data>
29
+ <initial_conditions type="globalwaterlevel"> 0.0 </initial_conditions>
30
+ <roughness law="manning" type="global">0.05</roughness>
31
+ <output_results>
32
+ <output output_id="" format="SMS9">
33
+ <variables>Depth
34
+ Velocity
35
+ Elevation
36
+ Flow</variables>
37
+ <frequency>300</frequency>
38
+ </output>
39
+ <massfile frequency="10">Domain1_W_MB2D.csv</massfile>
40
+ </output_results>
41
+ </domain>
42
42
  </ISIS2Dproject>