ok now is working. Thanks.
I have other doubt now. I have daily values for each month and I'm trying to write them in the output file but i want it to write it in order. I mean for example for jun i have data for the days 3 and 9 and for dec i have data for the days 15 and 30. For some months...
ok, before the openif both status are 0 for all the files.
No there are not 5000 entries for this each file. It is variable for each file, some can have 300 entries and other 50 or 5.
thanks i did it and i am getting iostat values of -1 for all the input files (file2) and 0 for the output file(file1).
could this be because i have files with no data as input files?
Thaks. I figured out. It was a problem with the name of the files.
Now, i am having another problem which is when it's reading the files is keeping and writing values from the previous file. For example for the year 66 is writing some values from the year 65 in the output and it keeps doing...
Hi everyone.
I am trying to open several files at once however it is not working and i cannot figure out why. I am writing out several files too and it's working. I'm getting the error that the files cannot be found (29). Thanks for the help
Program open_da
implicit none
Integer :: x,j,z...
Thanks, I tried that one previously and got the columns showed before. Also, I tried it again and got similar format.
Jan Feb
315.3360 0.0000
315.3300 0.0000
315.2960 0.0000
315.3100 0.0000
315.3100 0.0000
315.3220 0.0000
315.3240...
Here there is a part of the code. I am using other variables to try to write the data into column, not sure if it is the best idea or there is other way to write the file. Thanks for the help.
Do j=1, nd
If (month(j)== 1) Then
jan=value(j)
Else If...
The thing is that I am working with daily data which is in two columns, the first one tells me the month and the second one the value of the observation for that month.The problem is when i am trying to write the data to the same file it keeps writing down like in this.
Jan Feb...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.