Here's the code we did to read it.
pth = './likelihood/';
fn = 'Udo_2015-01_2015-12.txt';
fid = fopen(fn,'r');
C = importdata(fn);
hdr = split(C(6),'\t');
fmt = repmat('%s', [1 length(hdr)]);
D = textscan(fid,fmt, 'headerlines', 6,'Delimiter', '\t');
The data looks like below. Apparently, the delimiter appears to be a tab \t, but the D value comes in a lump. It's not a line-by-line price. Did I miss something?
Observation name: likelihood
Observation start date: July 19, 2015
Observation address: Sea area near Uido Island
Latitude: 34 degrees north, 32 minutes and 35 seconds
Hardness: 125 degrees, 48 minutes, 10 seconds
Sequence observation time Water temperature (°C), Maximum wave height (m), Air pressure (hPa), Wind direction (16 points) Wind speed (m/s)
0 2015/12/31 23:00 10.57 - - - - -
1 2015/12/31 22:00 10.68 - - - - -
2 2015/12/31 21:00 11.13 - - - - -
3 2015/12/31 20:00 11.68 - - - - -
4 2015/12/31 19:00 11.63 - - - - -
5 2015/12/31 18:00 11.76 - - - - -
6 2015/12/31 17:00 11.64 - - - - -
7 2015/12/31 16:00 10.78 - - - - -
8 2015/12/31 15:00 10.61 - - - - -
9 2015/12/31 14:00 10.26 - - - - -
10 2015/12/31 13:00 10.2 - - - - -
11 2015/12/31 12:00 10.14 - - - - -
hdr = split(C(6));
© 2024 OneMinuteCode. All rights reserved.