[gradsusr] export variable to a text file

Cristina cri.rossler at gmail.com
Tue Jun 19 08:46:32 EDT 2012


Hi Jayakrishnan,

But I want export to ascii many variables like temp  dewpoint pressure
etc... How can I do that?

thanks in advance

cristina

2012/6/19 Jayakrishnan P.R <prjayakrishnan at gmail.com>

> You can try with this example after modification for writing into text
> file.
>
>
> 'reinit'
> 'open sample.ctl'
> tt=1
> while (tt<=13)
> 'set lat 5'
> 'set lon 102'
> 'set t 'tt
> 'd variable'
> te=subwrd(result,4)
> w=write('test.dat',te)
> tt=tt+1
> endwhile
>
>
> Best of Luck........
>
>
>
> --
> Sincerely
> ***********************************************
> Jayakrishnan.P.R
> CSIR-Senior Research Fellow
> Department of Atmospheric Sciences
> Cochin University of Science and Technology (CUSAT), Cochin-682 016
> Kerala, India.
> Mob: 09895417565
>
> ***********************************************
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
Cristina E. Rössler
Grupo de Monitoreo Ambiental
Gerencia de Química
Comisión Nacional de Energía Atómica

3iA - Instituto de Investigación e Ingeniería Ambiental
Universidad Nacional de San Martín
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20120619/50772687/attachment-0003.html 


More information about the gradsusr mailing list