Re: Batch convert .csv to .DWAR [message #684 is a reply to message #681] |
Wed, 23 October 2019 00:25 ![Go to previous message Go to previous message](/forum/theme/myThemeWithHFCSS/images/up.png) ![Go to next message Go to previous message](/forum/theme/myThemeWithHFCSS/images/down.png) |
nbehrnd
Messages: 215 Registered: June 2019
|
Senior Member |
|
|
Assuming Thomas' script did the catenate the files, ensure that each of the columns
has a header; for example "structure, mass" as in the example.csv attached below.
(An extension .txt equally will be recognized sucessfully by DataWarrior. If working
in Linux, DataWarrior will trade well with the file regardless if the line ending
is encoded in dos, or unix convention, too.)
Then open either by shortcut Ctrl + O, or in the menue File -> Open the directory
and eventually the .csv in question. While reading the file, DataWarrior converts
automatically the structure string to populate an additional column.
![index.php?t=getfile&id=125&private=0](index.php?t=getfile&id=125&private=0)
Do not forget to explicitly instruct DataWarrior to save the read as .dwar.
-
Attachment: dw_import.png
(Size: 4.77KB, Downloaded 726 times)
-
Attachment: example.csv
(Size: 0.05KB, Downloaded 407 times)
-
Attachment: example.dwar
(Size: 1.37KB, Downloaded 405 times)
[Updated on: Wed, 23 October 2019 00:27] Report message to a moderator
|
|
|