[ncl-talk] Segmentation fault
Dennis Shea
shea at ucar.edu
Sat Dec 4 21:36:31 MST 2021
Given that the problems begin on 28 Nov 2021 but work previously, I am not
sure what the problem might be.
---
Could you create a stand alone NCL script that (a) creates the file names;
(b) uses addfiles;
(c) PRECIP = g[:]->prec(::-1,:,:)
and
(d) precip = g[:]->\$nome_var_precip\$(::-1,:,:) ; Importação da variável
precipitação.
========================================================
I assume that the* \$* character sequence is to escape unix shell issues ?
*\$*nome_var_precip*\$*
---------------------------------
; Leitura dos arquivos de precipitação.
lista_arquivos = systemfunc("ls ${nome_arquivos}")
g = addfiles(lista_arquivos,"r")
ListSetType(g,"cat")
nome_var_precip = "prec" ; Nome da variável do arquivo de precipitação do
imerg.
; A dimensão tempo (time) foi invertida (::-1). Isso foi feito para
facilitar
; o trabalho com as datas dos arquivos.
; Como a dimensão tempo foi invertida, irá aparecer a seguinte mensaem:
; warning:error attempting to fix non-monotonic aggregation variable
; Pode continuar o cálculo sem problemas.
PRECIP = g[:]->prec(::-1,:,:)
printVarSummary(PRECIP)
precip = g[:]->$nome_var_precip$(::-1,:,:) ; no \$
printVarSummary(precip)
On Sat, Dec 4, 2021 at 4:05 AM Guilherme Martins via ncl-talk <
ncl-talk at mailman.ucar.edu> wrote:
> Dear NCL users,
>
> I was searching for some solution to my case, but I did not get it.
>
> When I run my script (in attach) I receive an error message (in attach).
>
> I did realize that error occur in line 155:
>
> *precip = g[:]->\$nome_var_precip\$(::-1,:,:) ; Importação da variável
> precipitação.*
>
> When I run using another date, I don't have a problem. My problem began on
> 28 nov 2021. Since this date I'm not capable of running my script.
>
> I'd like some help. Some tips are very appreciated.
>
> Best regards,
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at mailman.ucar.edu
> List instructions, subscriber options, unsubscribe:
> https://mailman.ucar.edu/mailman/listinfo/ncl-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20211204/64ad59c1/attachment.html>
More information about the ncl-talk
mailing list