[ncl-talk] Netcdf output and loop

Guilherme Martins jgmsantos at gmail.com
Tue Oct 20 16:33:26 MDT 2015


Hi all,

Problem solved.

Guilherme.

Em ter, 20 de out de 2015 às 11:22, Guilherme Martins <jgmsantos at gmail.com>
escreveu:

> Hi all,
>
> I'm calculating the SPI index, but when I try save the file to netcdf
> format I'm getting some errors like this:
>
> fatal:NetCDF: NC_UNLIMITED in the wrong index
> fatal:["NclFile.c":432]:FileAddVar: an error occurred while adding a
> variable to a file, check to make sure data type is supported by the output
> format
> fatal:["Execute.c":8575]:Execute: Error occurred at or near line 84 in
> file 01spi.ncl
>
> Other question,
>
> How can I change inside the loop (line 73) the variable m1, for example,
> in this case I'm using only one variable (m1) for specific model but I want
> to use other models. I don't know if I objective in my doubt.
>
> In attchament is my script.
>
> Best regards and any help is very appreciated
>
> Guilherme Martins.
> --
>
> ------------------------------------------------------------------------------------------
> Guilherme Martins
> Instituto Nacional de Pesquisas Espaciais (INPE)
> Centro de Ciência do Sistema Terrestre (CCST) - Prédio CES
> Grupo de Superfície-Biosfera-Atmosfera (GSBA)
> Telefone (INPE/CP): +55 12 3186-9520  ||  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
>
> ------------------------------------------------------------------------------------------
>
-- 
------------------------------------------------------------------------------------------
Guilherme Martins
Instituto Nacional de Pesquisas Espaciais (INPE)
Centro de Ciência do Sistema Terrestre (CCST) - Prédio CES
Grupo de Superfície-Biosfera-Atmosfera (GSBA)
Telefone (INPE/CP): +55 12 3186-9520  ||  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
------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151020/5dcd3904/attachment.html 


More information about the ncl-talk mailing list