[gradsusr] How I make for transform data *.bin in *.txt in GRADS.
Carlos Batista
krlosbatist at gmail.com
Sat Apr 23 22:10:59 EDT 2011
How I make for transform data *.bin in *.txt in GRADS.
I tried make an gs script for transform the data *bin in data *txt and not
gave right...
Somebody could help me, please? I did write as show the gs below:
'reinit'
'open saidaR-aquid1.ctl'
*'set gxout fwrite'
*'set saidaR-aquid1.dat'
t1=1
t2=37
while(1<=37)
*'set t 'tempoi''
'set t 1 37'
'define vazan=vazan'
'define pe=pe'
'define as=as'
'define at=at'
'define in=in'
'define ps=ps'
'define pn=pn'
'define aquid1an=aquid1an'
'define pdold= pdold'
'define soild= soild'
'define naold= naold'
'define samld= samld'
'define nino12ld=nino12ld'
'define nino34ld=nino34ld'
'define nino4ld=nino4ld'
'set x 1'
'set y 1'
'd pe'
'd as'
'd at'
'd at'
'd in'
'd ps'
'd pn'
'd aquid1an'
'd pdold'
'd soild'
'd naold'
'd samld'
'd nino12ld'
'd nino34ld'
'd nino4ld'
res=subwrd(result,4)
write('saidaR-aquid1.txt',res,append)
*tempoi=tempoi+1
endwhile
'c'
What is wrong?
Thanks
Krlos
Universidade de Sao Paulo-Brasil
Departamento de Geografia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110423/2dbce524/attachment-0003.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: saidaR-aquid1.ctl
Type: application/octet-stream
Size: 379 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20110423/2dbce524/attachment-0006.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: saidaR-aquid1.dat
Type: application/octet-stream
Size: 2220 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20110423/2dbce524/attachment-0007.obj
More information about the gradsusr
mailing list