Skip to content

Commit

Permalink
Update write2bts.m
Browse files Browse the repository at this point in the history
  • Loading branch information
ECheynet committed Jan 29, 2023
1 parent f749047 commit d6be081
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion write2bts.m
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function write2bts(filename,u,v,w,t,y,z,zHub,uHub,ntower)
if fid > 0

% Headers
fwrite( fid, 7, 'int16'); % TurbSim format identifier (should = 7, just 'cause I like that number), INT(2)
fwrite( fid, 8, 'int16'); % TurbSim format identifier (E.C.: should = 8 to work on fast.Farm), INT(2)
fwrite( fid, nz, 'int32'); % the number of grid points vertically, INT(4)
fwrite( fid, ny, 'int32'); % the number of grid points laterally, INT(4)
fwrite( fid, ntower, 'int32'); % the number of tower points, INT(4)
Expand Down

0 comments on commit d6be081

Please sign in to comment.