[ncl-talk] SPI function

Dennis Shea shea at ucar.edu
Thu Sep 3 16:56:42 MDT 2015


Hi Guilherme

The errors are coming from the fortran subroutine invoked by the function.
I have opened a ticket

Issue NCL-2273 - dim_spi_n: Warning messages

THX for reporting it.

I don't have time to look right now.

THX
D

On Thu, Aug 27, 2015 at 12:56 PM, Guilherme Martins <jgmsantos at gmail.com> wrote:
> Hi all,
>
> I'm calculating the SPI (dim_spi_n) and I'm getting the error below when I
> use the spi_type . I'm using the ncl 6.3.0.
>
> part of my code:
>
> opt          = True
> opt at spi_type = 3       ; calculate using Pearson III distribution
>
> do k=0,klen-1
>    print( "len: " + len(k) )
>    spi(:,k,:,:) = dim_spi_n(prc, len(k), opt, 0) ;=> (nlat,mlon,ntim)
>    printMinMax(spi(:,k,:,:),0)
> end do
>
> error message:
>
>  *** ERROR *** ROUTINE SAMLMR : PARAMETER NMOM INVALID
>  *** ERROR *** ROUTINE SAMLMR : PARAMETER NMOM INVALID
>  *** ERROR *** ROUTINE SAMLMR : PARAMETER NMOM INVALID
>  *** ERROR *** ROUTINE SAMLMR : PARAMETER NMOM INVALID
>  *** ERROR *** ROUTINE SAMLMR : PARAMETER NMOM INVALID
>  *** ERROR *** ROUTINE SAMLMR : PARAMETER NMOM INVALID
>  *** ERROR *** ROUTINE SAMLMR : PARAMETER NMOM INVALID
>  *** ERROR *** ROUTINE SAMLMR : PARAMETER NMOM INVALID
>
> And when I set to False, the error disappears.
>
> Any help is very appreciated.
>
> Cheers,
>
> Guilherme Martins
> https://sites.google.com/site/jgmsantos
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>


More information about the ncl-talk mailing list