[Thread Prev][Thread Next][Index]

Re: [ferret_users] List command problem



Thanks all for your answer.

Indeed it seems to be a problem with the 6.3 version of Ferret, so I will switch to another one for this computation.

Regards,

Nicolas




2015-10-01 7:53 GMT+08:00 Ryo Furue <furue@xxxxxxxxxx>:
Hi Nicolas,

On Wed, Sep 30, 2015 at 4:45 PM, Nicolas Freychet
<nicolas.freychet@xxxxxxxxx> wrote:

> Yes sorry I was only using the "list" command when I was trying to
> understand the computation problem.

To focus on the result of the evaluation of an _expression_, you can use
the SAY command:

yes? say `your _expression_`

> The problem comes from the
> `ns-(ns/100),prec=0` part, not the LIST command. And indeed I was trying to
> compute the 99 percentile from a serie of precipitation.
>
> I think the version install on my server is 6.3. I should change it to see
> if it solves the problem.
>
> But it is still strange to get a "*" as a result of `ns-(ns/100),prec=0`
> when ns=10. May be a bug from the 6.3 version.

I get a correct result from your _expression_:

yes? let ns = 10
yes? say `ns - (ns/100),prec=0`
 !-> MESSAGE/CONTINUE 10
10
yes?

which is on Ferret 6.82 .

I suspect that the * comes from a failed Fortran formatted output.

Regards,

Ryo



--
----------------------------------------------------
Nicolas Freychet
Postdoc Reseach Fellow at RCEC
Academia Sinica
----------------------------------------------------

[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement