[gradsusr] displaying a value on the terminal

Ricardo Hallak ricardo.hallak at iag.usp.br
Mon Jan 4 15:28:32 EST 2016


José, 

just display the result content to see in what position is the value you are looking for: 
In the script: 
'd aa' 
say result 

will show you the content of result. So, use subline and subwrd to get the right value. 

Let me know if this solved you problem. 
Regards, 
Ricardo 

----- Mensagem original -----

| Hi Ricardo,

| thanks by the hint. After including the command you suggested the
| values I could see the values on the screen computer. However, the
| values were all equal 1. Any other suggestion?

| José Augusto P. Veiga
| CREA n.: 24161

| ======================================
| Universidade do Estado do Amazonas
| Departamento de Meteorologia
| Escola Superior de Tecnologia (EST)
| -----------------------------------------------------------------------------
| Av. Darcy Vargas, 1200, Manaus-AM Brasil
| Work phone: (92) 3878 4317, Ramal 4317
| Cell phone : (92) 98196 7122
| Skype: veiga_j.a.p.

| -----------------------------------------------------------------------------
| CV: http://lattes.cnpq.br/4027612512091565
| URL: https://scientificmet.wordpress.com
| -----------------------------------------------------------------------------

| On Mon, Jan 4, 2016 at 1:59 AM, Ricardo Hallak <
| ricardo.hallak at iag.usp.br > wrote:

| | Hi José,
| 

| | before displaying the single value of your variable aa on the
| | terminal, you have to "get it" with "result":
| 

| | 'd aa'
| 
| | aaval=subwrd(result,4)
| 
| | say aaval
| 

| | Best regards,
| 
| | Ricardo
| 

| | | Dear all,
| | 
| 

| | | could someone told me how can I display a value of interest on my
| | | terminal?
| | 
| 

| | | The gs program is attached. I believe I am doing something wrong.
| | | The
| | | program is working well, but I would like to see the values.
| | 
| 

| | | The program calculate a temporal tendency based on centered
| | | finity
| | | difference. My data is fixed in x, y and z directions. The values
| | | are time dependent.
| | 
| 

| | | Thanks.
| | 
| 

| | | José Augusto P. Veiga
| | 
| 
| | | CREA n.: 24161
| | 
| 

| | | ======================================
| | 
| 
| | | Universidade do Estado do Amazonas
| | 
| 
| | | Departamento de Meteorologia
| | 
| 
| | | Escola Superior de Tecnologia (EST)
| | 
| 
| | | -----------------------------------------------------------------------------
| | 
| 
| | | Av. Darcy Vargas, 1200, Manaus-AM Brasil
| | 
| 
| | | Work phone: (92) 3878 4317, Ramal 4317
| | 
| 
| | | Cell phone : (92) 98196 7122
| | 
| 
| | | Skype: veiga_j.a.p.
| | 
| 

| | | -----------------------------------------------------------------------------
| | 
| 
| | | CV: http://lattes.cnpq.br/4027612512091565
| | 
| 
| | | URL: https://scientificmet.wordpress.com
| | 
| 
| | | -----------------------------------------------------------------------------
| | 
| 

| | | _______________________________________________
| | 
| 
| | | gradsusr mailing list
| | 
| 
| | | gradsusr at gradsusr.org
| | 
| 
| | | http://gradsusr.org/mailman/listinfo/gradsusr
| | 
| 

| | --
| 

| | Prof. Ricardo Hallak
| 
| | Laboratório de Meteorologia de Mesoescala - LMM
| 
| | Departamento de Ciências Atmosféricas
| 
| | Instituto de Astronomia, Geofísica e Ciências Atmosféricas
| 
| | Universidade de São Paulo
| 

| | Phone: +55(11)3091-4698
| 

| | _______________________________________________
| 
| | gradsusr mailing list
| 
| | gradsusr at gradsusr.org
| 
| | http://gradsusr.org/mailman/listinfo/gradsusr
| 

| _______________________________________________
| gradsusr mailing list
| gradsusr at gradsusr.org
| http://gradsusr.org/mailman/listinfo/gradsusr

-- 

Prof. Ricardo Hallak 
Laboratório de Meteorologia de Mesoescala - LMM 
Departamento de Ciências Atmosféricas 
Instituto de Astronomia, Geofísica e Ciências Atmosféricas 
Universidade de São Paulo 

Phone: +55(11)3091-4698 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20160104/b98c6c69/attachment.html 


More information about the gradsusr mailing list