Changes to certain time steps of a variable

John Murray mrmerzz at AOL.COM
Fri Jun 5 12:09:47 EDT 2009


To all GrADS users,

I am working with a dataset that has 100080 time steps for every hour from
April 1st 1996 through August 31st 2007.  Each hour has a count of the
high composite reflectivity frequency across the eastern U.S. I am also
reading in wind data at a few select points and am testing to see if it is
from a certain wind direction.  If it is from the desired wind direction,
I will either keep the count variable or make it equal to zero.

I have this procedure in a loop, but the problem is that I keep
overwriting the data and by the last time step, the modifications to the
count variable from testing the point of wind are not saved. If I try to
make another variable with the time dimension from 1 to 100080, I get a
segmentation fault. Is there anyway I can easily modify or update the
count variable after testing the winds at certain time steps?

Any help would be greatly appreciated.

John Murray
Stony Brook University Graduate Student



More information about the gradsusr mailing list