[gradsusr] Low Level I/O Error: Seek error on data file [GrADS] -

Leopoldo Alvarez lap.bolsa at gmail.com
Fri Sep 20 18:13:15 EDT 2013


Hi jennifer,

I am running a script (nuevo.gs) to extract info domain mm5 model data. 
I use GrADS 2.0.2 version. I use 'options big_endian' but my data file 
weighs 32 GB and
shows multiple mutiple on screen- ->

/Low Level I/O Error:  Seek error on data file //
//  Data file name = test.dat //
//650 rc=-1 fpos=-172300 pfi->fhdr=0/

I think the problem is when running the mm5_to_grads.csh and creates the 
.ctl and .dat and not script. I can see the data well, until the time of 
step 1062 (set t 1062, then 'd t' it`s ok), but when i exceeded from 
1062 time of step gives me that error ... How i can run my script saving 
this problem???. One clue 
http://gradsusr.org/pipermail/gradsusr/2008-April/006883.html

I'm on a machine that works -> uname -a
/Linux login1 2.6.16.53-0.16-ppc64 #1 SMP Tue Oct 2 16:57:49 UTC 2007 
ppc64 ppc64 ppc64 GNU/Linux/


nuevo.gs script
***************
***************
'set lon -110.1829'
'set lat 34.6518'
'set lev 0.99199'

#8737
timeend = 4198
i = 1
while(i <= timeend)
'set t 'i''
'q time'
timehr = substr(result, 8, 3)
timedy = substr(result, 11, 2)
timemo = substr(result, 13, 3)
timeyr = substr(result, 16, 4)

#velocidad viento
'tg1=mag(u,v)'
'd tg1'
a.nr1 = subwrd(result,4)
#direccion viento
'd dir'
a.nr11 = subwrd(result,10)
# tv de Jeffrey iowa
'tv=t+t*0.61*q'
'rho=prs/(286.9*tv)'
'd rho'
a.nr = subwrd(result,4)
'd t-273.15'
a.nr2 = subwrd(result,10)
'd rh'
a.nr3 = subwrd(result,10)
'd prs/100'
a.nr4 = subwrd(result,10)

val = timeyr%"-"%timemo%"-"%timedy"-"%timehr" "%a.nr1" "%a.nr11" "%a.nr" 
"%a.nr2" "%a.nr3" "%a.nr4
rec = write('drylake_80v.txt',val, append)
i = i + 1
endwhile
*******************
*******************

best regards,

Leopoldo ÁLVAREZ
Tenerife - Canary Islands
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130920/3f383827/attachment.html 


More information about the gradsusr mailing list