[Thread Prev][Thread Next][Index]

RE: [ferret_users] verbosity with set data



Dear Steeven, Sudheer,

Thank you both for your replies regarding the use of the VERIFY mode. I look forward to being less informed about
the inner workings of my loops!

Many thanks,

Dr Adam Blaker

Ocean Modelling and Forecasting
National Oceanography Centre, Southampton
________________________________________
From: Steeven Paul Yerraguntla [steevenpaul@xxxxxxxxx]
Sent: 21 January 2011 11:06
To: Blaker A.T.
Cc: Ansley Manke; oar.pmel.ferret_users@xxxxxxxx
Subject: Re: [ferret_users] verbosity with set data

Hello Blaker,
            Suppressing of echos can be done by applying CANCEL MODE VERIFY at the starting of the jnl file. When error encountered at time of execution of jnl file, VERIFY MODE will come into force. you can suppress repeat loop echos by doing as follows. I think it is not applicable in patrick's case.
-------------------------------------------------------jnl file  ----------------
CANCEL MODE VERIFY
USE FILE.NC<http://FILE.NC>
REPEAT/L=1:10  statement
-   -   -    -   -
SET MODE/LAST VERIFY
-------------------------------------------------------------------------------------

regards,
- Paul.






On Fri, Jan 21, 2011 at 3:32 PM, Blaker A.T. <atb299@xxxxxxxxxxxxxxx<mailto:atb299@xxxxxxxxxxxxxxx>> wrote:
Dear Ansley, Ferreters,

I have a similar query to Patrick's. Is it possible to suppress all messages returned by Ferret?

I have some scripts which use REPEAT and IF to create large number of images, but at the moment
where I have a REPEAT which contains an IF, e.g.:-

repeat/i=1:3000 (...IF...)

Ferret kindly informs me exactly where I am in the loop and what my IF has resolved to, e.g.:-

!-> REPEAT: I=1
 !-> IF 1 THEN ...
!-> REPEAT: I=2
 !-> IF 1 THEN ...

This is great for writing scripts and debugging, but once I know my script works I would like to
suppress these messages. Is this possible now, and if not, could it be considered for a future
release?

Many thanks,

Dr Adam Blaker

Ocean Modelling and Forecasting
National Oceanography Centre, Southampton
________________________________________
From: owner-ferret_users@xxxxxxxx<mailto:owner-ferret_users@xxxxxxxx> [owner-ferret_users@xxxxxxxx<mailto:owner-ferret_users@xxxxxxxx>] On Behalf Of Ansley Manke [ansley.b.manke@xxxxxxxx<mailto:ansley.b.manke@xxxxxxxx>]
Sent: 19 January 2011 23:33
To: Brockmann Patrick
Cc: oar.pmel.ferret_users@xxxxxxxx<mailto:oar.pmel.ferret_users@xxxxxxxx>
Subject: Re: [ferret_users] verbosity with set data

Hi Patrick,
Good idea. There is not quite a way to do that but we have some ideas.  Watch for this in an upcoming release.

Ansley

On 1/19/2011 1:50 PM, Brockmann Patrick wrote:
> Hi ferreters,
>
> Is there a way to open a netcdf file in a silent mode, ie without the display of all the warnings (*** NOTE ...) ?
>
> I am looking for this feature because when I open a large number of files (256) that are not well written
> (warning on several attributs), I get tons of messages. Note that I don't say that they are useless, just
> that I would like to choose to print them or not.
>
> Something like:
> yes? use/quiet "myfile.nc<http://myfile.nc>"
>
> Patrick
>




--
Steeven Paul Y
Research Fellow
National Institute of Oceanography(NIO)
Regional Center, Visakhapatnam (RCW)
176 Lawsons Bay Colony
Visakhapatnam - 530001
[http://www.amazing-animations.com/animations/wave2.gif]









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

Privacy Policy | Disclaimer | Accessibility Statement