Strange sdfopen templating segfault

Kilian Hagemann hagemann1 at EGS.UCT.AC.ZA
Wed Jun 22 13:02:10 EDT 2005


Hi guys,

I'm getting a very annoying segfault when running the following script:

#!/usr/local/grads/bin/gradsnc -lc
'sdfopen uwnd.sig995.1979.nc uwnd.sig995.%y4.nc 18994'
'sdfopen vwnd.sig995.1979.nc vwnd.sig995.%y4.nc 18994'
'set lat -36 -21'
'set lon 15 34'
'd ave(mag(uwnd,vwnd.2),t=1,t=1461)'

It works when I either set the final t to 1460 or less (length of any single
NCEP Reanalysis I file) or leave out the set lat/lon statements.

What gives?

Using grads-1.9b3, compiled from source(no special tweaks though).

--
Kilian Hagemann

Climate Systems Analysis Group
University of Cape Town
Republic of South Africa
Tel(w): ++27 21 650 2748



More information about the gradsusr mailing list