I have figured this out now, my code is now:
DO j=1,GRD_Y
READ(10,*)ATEMP,BTEMP,CTEMP,(PRESSURE1(i,j),i=1,GRD_X)
ENDDO
I understand what you were suggesting now, thanks.
Hi,
Thanks for getting back to me, sorry, my code is as below, GRD_X is the number of columns, and GRD_Y is the number of rows in the data (relates to layers in a 3D grid). I get the output as shown below, in 7 columns and 43 rows I think , 300 data points altogether, so all the data is there...
I am trying to read in data from an output file that has the form:
MAP=======================================================================================
Map of PRESSURE at 2 Jan 2000, 1.0 days...
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.