080415 0850 2.77 70.00
080415 0900 2.54 79.00
080415 1720 5.01 291.00
080415 1730 5.24 293.00
This is a sample of the text file i'm reading. Col 0 = yymmdd, col 1 = time in hhmm, col 2 = wind speed, col 3 = wind direction.
There can be a maximum of 6 10 minute values in Col 1. If there are zero values for any hourly period, I need to assign a -9999 integer value for that missing wind speed and direction. Missing data here goes from 0910 to 1710 as you can see above. Your ideas?
080415 0900 2.54 79.00
080415 1720 5.01 291.00
080415 1730 5.24 293.00
This is a sample of the text file i'm reading. Col 0 = yymmdd, col 1 = time in hhmm, col 2 = wind speed, col 3 = wind direction.
There can be a maximum of 6 10 minute values in Col 1. If there are zero values for any hourly period, I need to assign a -9999 integer value for that missing wind speed and direction. Missing data here goes from 0910 to 1710 as you can see above. Your ideas?
Comment