[ncl-talk] Symbol ">"
Atenágoras Silva
athenagoras at gmail.com
Thu Jun 23 07:19:55 MDT 2016
I am using ncl version 6.3.
I did a small test with some text files here, calling the function system()
and using the command paste and the pipes, and it works as expected.
Try a simple test with one-line files, and pipes, and see what is going on.
If if works, you are facing path problems as Havener told you before.
Sincerely yours,
Atenágoras.
2016-06-23 9:45 GMT-03:00 Guilherme Martins <jgmsantos at gmail.com>:
> Hi Kevin,
>
> The command line works outside of NCL and the file exist in my directory.
> The problem is inside of NCL in the system function. I don't know if I have
> to use some special symbol to use the ">".
>
> Thanks,
>
> Guilherme.
>
> Em qui, 23 de jun de 2016 às 09:39, HAVENER, KEVIN F GS-12 USAF ACC 14
> WS/WXED <kevin.havener at us.af.mil> escreveu:
>
>> Does the command work from the command line (outside of ncl)? Do the
>> files exist, and are they in the expected directories? The error message
>> indicates the files do not exist or aren't in the directories ncl is
>> looking in. I'd say this is not an ncl problem at all unless both answers
>> are yes.
>>
>> Kevin Havener
>>
>> -----Original Message-----
>> From: ncl-talk-bounces at ucar.edu [mailto:ncl-talk-bounces at ucar.edu] On
>> Behalf Of Guilherme Martins
>> Sent: Thursday, June 23, 2016 7:55 AM
>> To: NCL <ncl-talk at ucar.edu>
>> Subject: [ncl-talk] Symbol ">"
>>
>> Hi users,
>>
>> I'm trying to use the symbol ">" to create a file together the system
>> function in my NCL script, according to the line below:
>>
>> system("paste tmp.djf.txt tmp.jja.txt tmp.anual.txt >
>> slope.evap.prec.txt")
>>
>> But I receive:
>>
>> paste: tmp.jja.txt: Arquivo ou diretório não encontrado
>> paste: tmp.djf.txt: Arquivo ou diretório não encontrado
>> paste: tmp.djf.txt: Arquivo ou diretório não encontrado
>>
>> I tried to concatenate with "+" symbol, but nothing.
>>
>> Any help is very appreciated.
>>
>> Thanks,
>>
>> Guilherme.
>> --
>>
>>
>> ------------------------------------------------------------------------------------------
>> Dr. Guilherme Martins
>> Instituto Nacional de Pesquisas Espaciais (INPE)
>>
>> Centro de Previsão de Tempo e Estudos Climáticos (CPTEC) Grupo de
>> Desenvolvimento em Assimilação de Dados (GDAD)
>>
>> Telefone (INPE/CP): +55 12 3186-8551 || Celular (TIM): +55 12 98152-8580
>> E-mail: guilherme.martins at inpe.br <mailto:guilherme.martins at inpe.br> ||
>> jgmsantos at gmail.com <mailto:jgmsantos at gmail.com>
>> Skype: guilherme.martins.
>> Homepage: https://sites.google.com/site/jgmsantos
>> Currículo Lattes: http://lattes.cnpq.br/5997657584785803
>>
>> ------------------------------------------------------------------------------------------
>>
> --
>
> ------------------------------------------------------------------------------------------
> Dr. Guilherme Martins
> Instituto Nacional de Pesquisas Espaciais (INPE)
> Centro de Previsão de Tempo e Estudos Climáticos (CPTEC)
> Grupo de Desenvolvimento em Assimilação de Dados (GDAD)
> Telefone (INPE/CP): +55 12 3186-8551 || Celular (TIM): +55 12 98152-8580
> E-mail: guilherme.martins at inpe.br || jgmsantos at gmail.com
> Skype: guilherme.martins.
> Homepage: https://sites.google.com/site/jgmsantos
> Currículo Lattes: http://lattes.cnpq.br/5997657584785803
>
> ------------------------------------------------------------------------------------------
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160623/96b4d435/attachment.html
More information about the ncl-talk
mailing list