Commit 86f3d2b1 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

example/cdi_read: print vdate and vtime

parent bcc8397c
......@@ -41,6 +41,7 @@ int main(void)
// Get the verification date and time
vdate = taxisInqVdate(taxisID);
vtime = taxisInqVtime(taxisID);
printf("read timestep %d: date=%d time=%d\n", tsID+1, vdate, vtime);
// Read var1 and var2
streamReadVar(streamID, varID1, var1, &nmiss);
......@@ -40,6 +40,8 @@
! Get the verification date and time
vdate = taxisInqVdate(taxisID)
vtime = taxisInqVtime(taxisID)
WRITE(0, *)"read timestep ",tsID+1,"date=",vdate,"time=",vtime
! Read var1 and var2
CALL streamReadVar(streamID, varID1, var1, nmiss)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment