I define a variable like:
VAR(t,o) with Dimensions: t=4 and o=11
IERREU = nf90_def_var(ncid, "var", nf90_real, (/ oID, tID /), VarID)
That looks like:
VAR(1,1)=5
VAR(2,1)=2
VAR(3,1)=8
VAR(4,1)=9
VAR(1,2)=5
VAR(2,2)=2
VAR(3,2)=8
VAR(4,2)=9
....
VAR(1,11)=5
VAR(2,11)=2
VAR(3,11)=8
VAR(4,11)=9
To write the variable in the netcdf file, I do:
IERREU = nf90_put_var(ncid, VarID, VAR)
In the netcdf, I want to have the data of my variable order like:
VAR=5,5,5,5,5,5,5,5,5,5,5,
2,2,2,2,2,2,2,2,2,2,2,
8,8,8,8,8,8,8,8,8,8,8,
9,9,9,9,9,9,9,9,9,9,9;
And I get this:
VAR= 5,2,8,9,5,2,8,9,5,2,8,
9,5,2,8,9,5,2,8,9,5,2,
8,9,5,2,8,9,5,2,8,9,5,
2,8,9,5,2,8,9,5,2,8,9;
How can I define the order of the data ?
latandVAR? please clarify your question.