[gradsusr] gradsusr Digest, Vol 43, Issue 57
bob ogwang
bob_ogwang at yahoo.co.uk
Sat Sep 21 05:45:00 EDT 2013
Do u have Skype on?
…………………………………………………………………………………………….
Ogwang Bob Alex
GRADUATE STUDENT
NANJING UNIVERSITY OF INFORMATION SCIENCE AND TECHNOLOGY
Address: 219 Ning Liu Road , Nanjing , Jiangsu , 210044, P.R. China
Mobile:+86 - 13401997034
Land-line: +86 - 2558663792
Website:www.nuist.edu.cn
Blessed is the man whose sin the Lord will not count against him (Romans 4:8).
.........................................................................................................................................................
From: "gradsusr-request at gradsusr.org" <gradsusr-request at gradsusr.org>
To: gradsusr at gradsusr.org
Sent: Saturday, 21 September 2013, 16:35
Subject: gradsusr Digest, Vol 43, Issue 57
Send gradsusr mailing list submissions to
gradsusr at gradsusr.org
To subscribe or unsubscribe via the World Wide Web, visit
http://gradsusr.org/mailman/listinfo/gradsusr
or, via email, send a message with subject or body 'help' to
gradsusr-request at gradsusr.org
You can reach the person managing the list at
gradsusr-owner at gradsusr.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of gradsusr digest..."
Today's Topics:
1. Re: Low Level I/O Error: Seek error on data file [GrADS] -
(Jennifer Adams)
2. Re: Averaging over multiple dimension ranges (Ivan Toman)
3. Re: Low Level I/O Error: Seek error on data file [GrADS] -
(Leopoldo Alvarez)
----------------------------------------------------------------------
Message: 1
Date: Fri, 20 Sep 2013 20:03:07 -0400
From: Jennifer Adams <jma at cola.iges.org>
Subject: Re: [gradsusr] Low Level I/O Error: Seek error on data file
[GrADS] -
To: GrADS Users Forum <gradsusr at gradsusr.org>
Message-ID: <9834F24F-ED6C-4BC6-910D-02D8F6FE2924 at cola.iges.org>
Content-Type: text/plain; charset="iso-8859-1"
On Sep 20, 2013, at 6:13 PM, Leopoldo Alvarez wrote:
> 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
This error generally occurs when your binary data file is too small. Check your file size -- it should be xsize*ysize*zsize*tsize*esize*4 (assuming 4 bytes per data point and you're not writing out sequential data).
--Jennifer
> 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
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
--
Jennifer M. Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
111 Research Hall, Mail Stop 2B3
George Mason University
4400 University Drive
Fairfax, VA 22030
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130920/588a296d/attachment-0001.html
------------------------------
Message: 2
Date: Sat, 21 Sep 2013 10:01:20 +0200
From: Ivan Toman <ivtoman at inet.hr>
Subject: Re: [gradsusr] Averaging over multiple dimension ranges
To: gradsusr at gradsusr.org
Message-ID: <523D5250.7080403 at inet.hr>
Content-Type: text/plain; charset="us-ascii"
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130921/3a1314d4/attachment-0001.html
------------------------------
Message: 3
Date: Sat, 21 Sep 2013 09:35:01 +0100
From: Leopoldo Alvarez <lap.bolsa at gmail.com>
Subject: Re: [gradsusr] Low Level I/O Error: Seek error on data file
[GrADS] -
To: gradsusr at gradsusr.org
Message-ID: <523D5A35.3040202 at gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Hi Jennifer,
My binary data /grad.exe/ file is 210 Kb. and data file .dat weighs 32 Gb.
/xsize*ysize*zsize*tsize*esize*4/ , Where I see these parameters? i
don?t know how to fix it, where ?, I need to recompile ?.
best regards,
Leopoldo ?LVAREZ
Tenerife - Canary Islands
El 20/09/13 23:13, Leopoldo Alvarez escribi?:
> 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/20130921/f0033cb8/attachment.html
------------------------------
_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org
http://gradsusr.org/mailman/listinfo/gradsusr
End of gradsusr Digest, Vol 43, Issue 57
****************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130921/e9067f20/attachment.html
More information about the gradsusr
mailing list