Umm, I see,
I undertand but the problem is that I have a matrix of around 8000x15 data.., there is not a method to automatice this problem.
I think I should talk with the data provider in order to get the data always with decimal, even when is .0
Paul, I used the *, but the program crashs,
I ´m reading a file like:
2008-09-01 00:05:25,-1,-1,-1,-1,-1,-1,10.597,5940,-1,-1,-1
2008-09-01 00:05:38,6191.58,127.864,-1,-1,-1,-1,10.6544,5970,-1,-1,-1
2008-09-01 00:05:51,6201,186.879,-1,-1,-1,-1,12.6394,5940,-1,-1,-1
2008-09-01 00:06:04,6211.25,206.55,-1,-1,-1,-1,15.3091,5970,-1,-1,-1
And I use the format:
(i4, 4(1x,i2),4x,7f9.2,4f9.2)
It´s a difficult problem, as you can see, there is INTEGER and REAL in the same position:
-1
6191.58
6201
6211.25
The '-1' don´t mind, becasue means no data and I created and statment that turn it to '0.00' when is read '-0.01' ( In this formtat, fortran reads ---0.01 insted of -1), but the '6201' is a real problem, because reads '620.1' and I´m doing some averages....
I will talk with the data provider, I think there is not a automaticaly way to short it out
Thanks very much for your responses
Warmest regards
RCA