I have a problem to convert tide data with the form as follows.
2016/03/23,08:00,0.89,* 2016/03/23,09:00,1.41,* 2016/03/23,10:00,1.67,* 2016/03/23,11:00,1.44,* 2016/03/23,12:00,0.82,* 2016/03/23,13:00,0.27,* 2016/03/23,14:00,-0.20,* 2016/03/23,15:00,-0.51,*
But, if the data is long, so I must use the command "Import". Unfortunately, Usually, if I use "Import" command for CSV data, the Output format of those data is also change, for example becomes like this: In[342]:= input = Flatten[Import["C:\Data\tide data Ota 2016 maret.CSV"]] []1
My question is how to convert that format to become such form like this:
{{{2016, 3, 23, 8, 0, 0}, 0.89}, {{2016, 3, 23, 9, 0, 0}, 1.41}, {{2016, 3, 23, 10, 0, 0}, 1.67}, {{2016, 3, 23, 11, 0, 0}, 1.44}, {{2016, 3, 23, 12, 0, 0}, 0.82}, {{2016, 3, 23, 13, 0, 0}, 0.27}, {{2016, 3, 23, 14, 0, 0}, -0.20}, {{2016, 3, 23, 15, 0, 0}, -0.51}}
My purpose if this convert is success, I can use DateListPlot to draw tidal water level.