Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
filereference:edx_edi [2017/11/10 09:25] – external edit 127.0.0.1filereference:edx_edi [2018/02/14 13:31] – [The EDT Binary file] enviadmin
Line 219: Line 219:
       For y:=0 to YY-1 do       For y:=0 to YY-1 do
         For x:=0 to XX-1 do         For x:=0 to XX-1 do
-          For n:=0 to D do+          For n:=0 to D-1 do
             Write Variable[i].Value[x][y][z][n];             Write Variable[i].Value[x][y][z][n];
  end;  end;
Line 225: Line 225:
  
 Here ''XX'',''YY'' and ''ZZ'' are the dimensions of the model domain started counting at x=0,y=0,z=0 at the **lower left corner** of the model. ''D'' is the variable dimension of the file. For most files, ''D'' is 1 (=one data value for each grid coordinate and variable), for façade files e.g. ''D'' is 3 (= 3 values for each grid for the left x-, front y- and bottom z- face. The values for the right x-, rear y- and top z-face are stored in the neighbour cells). Here ''XX'',''YY'' and ''ZZ'' are the dimensions of the model domain started counting at x=0,y=0,z=0 at the **lower left corner** of the model. ''D'' is the variable dimension of the file. For most files, ''D'' is 1 (=one data value for each grid coordinate and variable), for façade files e.g. ''D'' is 3 (= 3 values for each grid for the left x-, front y- and bottom z- face. The values for the right x-, rear y- and top z-face are stored in the neighbour cells).
 +
 +In addition, the 3D files for building façades hold **one** field  of dimension 1 at the very beginning: 
 +<code Pascal>
 +
 +    For z:= 0 to ZZ-1 do
 +      For y:=0 to YY-1 do
 +        For x:=0 to XX-1 do
 +             Write ObjectData[x][y][z];
 +
 +</code>
 +This field holds the general Object information like in the atmosphere files marking the position of buildings, plants, DEM and sources.