Skip to content

Coverting Data File to .tesr #349

Answered by rquey
lkuna24 asked this question in Q&A
Dec 16, 2021 · 2 comments · 9 replies
Discussion options

You must be logged in to vote

I will update the tutorial, but the .dat file is just a binary file (or it could be an ascii file) listing the grain ids of the voxels (x varying first). If the volume has X x Y x Z voxels, then there should be the same number of values in the file. The file format (binary or ascii) is to be specified in the tesr file as described in the tutorial.

The .dat file is also the raw data the Neper can produce using -format raw -tesrformat ascii|binary16|.... So, here is how you can get a sample dat/raw/tesr file:

neper -T -n 10 -for raw -tesrformat ascii
neper -T -n 10 -for raw -tesrformat binary16

(I've made a small fix in version 4.2.1-18).

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
1 reply
@rquey
Comment options

Comment options

You must be logged in to vote
8 replies
@rquey
Comment options

@eugenianietov
Comment options

@rquey
Comment options

@eugenianietov
Comment options

@Anmol-Bakshi
Comment options

Answer selected by rquey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants