[Thread Prev][Thread Next][Index]

Re: [ferret_users] List command problem

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`

which is on Ferret 6.82 .

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



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

Privacy Policy | Disclaimer | Accessibility Statement