How to change multiple Attributes at once for Water Overlays: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
(Created page with "{{Editor steps|title=|In the Water Overlay Wizard, go to the step where you want to change multiple Keys for.|Check the ''Multi'' checkbox and click on the ''Set Value...")
 
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Editor steps|title=|In the [[Water Overlay Wizard]], go to the step where you want to change multiple [[Key]]s for.|Check the ''Multi'' checkbox and click on the ''Set Values'' button for the desired attribute.|In the new panel that pops up, click on ''Import new CSVs'' in the bottom right corner and select the CSV file(s).|Browse with the button at the top through the CSV files to see if they are imported correctly.|Optionally, change the delimiter and time units and click on ''Ok''. The data in the CSV files is now used to set the attribute for the structures dynamically. }}
{{Editor steps|title=|In the [[Water Overlay Wizard]], go to the step where you want to change multiple values of an [[Attribute]] for.|Check the ''Multi'' checkbox and click on the ''Set Values'' button for the desired attribute.|In the new panel that pops up, click on ''Import new CSVs'' in the bottom right corner and select the CSV file.|Optionally, change the delimiter and click on ''Ok''. The data in the CSV file is now used to set the new values for the attribute. }}


<gallery mode=nolines>
<gallery mode=nolines>
Line 5: Line 5:
File:Multi_checkbox_csv.PNG
File:Multi_checkbox_csv.PNG
File:Import_new_csvs.PNG
File:Import_new_csvs.PNG
File:Browse_csv.PNG
</gallery>
</gallery>


===Notes===
{{article end
* The [[CSV]] file to import a time sequence should look as follows:
|notes=
* The [[CSV]] file to change for example [[Water_level_(Water_Overlay)|Water levels]] of [[Water_level_area_(Water_Overlay)|Water level areas]], should look as follows:
{{code|1=
{{code|1=
time,Stuw 1
Water Area, Water Area 2
3600,0.03
-1,-2
7200,0
9000,0.03
10800,0.06
}}
}}
The first row should contain the headers. The first column should be the time, the second column the values. Make sure the name of the second column has the same name as the [[Hydraulic_structures_(Water_Overlay)|hydraulic structure]] the attributes belong to. For every CSV file, the header name of the second column should exactly match the name of the structure to map the attributes to the right structure.
The first row should contain the exact name of the [[Hydrological_features_(Water_Overlay)|hydrological features]] or [[Hydraulic_structures_(Water_Overlay)|hydraulic structures]] you wish to change the values of the attribute for. The second row contains the new values for this attribute.
* When importing a [[CSV]] for a time sequence, it's possible to indicate whether the time is in seconds, minutes, or hours. The {{software}} then automatically converts the time to the correct data for the model.
* For the [[CSV]], it is possible to choose a comma or semicolon as delimiter.
* For the [[CSV]], it is possible to choose a comma or semicolon as delimiter.


===See also===
|seealso=
* [[Time_sequence_(Water_Overlay)|Time sequence]]
* [[How to import a time sequence with a CSV]]
* [[CSV]]
* [[CSV]]
}}
[[Category:How-to's]][[Category:Water]]

Latest revision as of 16:56, 30 January 2024

How to change multiple Attributes at once for Water Overlays:
  1. In the Water Overlay Wizard, go to the step where you want to change multiple values of an Attribute for.
  2. Check the Multi checkbox and click on the Set Values button for the desired attribute.
  3. In the new panel that pops up, click on Import new CSVs in the bottom right corner and select the CSV file.
  4. Optionally, change the delimiter and click on Ok. The data in the CSV file is now used to set the new values for the attribute.

Notes

Water Area, Water Area 2
-1,-2

The first row should contain the exact name of the hydrological features or hydraulic structures you wish to change the values of the attribute for. The second row contains the new values for this attribute.

  • For the CSV, it is possible to choose a comma or semicolon as delimiter.

See also