[Thread Prev][Thread Next][Index]

Re: [ferret_users] verbosity with set data



Hi Blacker,

Below options should work

yes? use levitus_climatology
yes? repeat/l=1:200 (cancel mode verify;let ss=if (temp[k=1] gt 20) then temp; fill  ss[k=1])

with best regards,
Sudheer

On Fri, Jan 21, 2011 at 3:32 PM, Blaker A.T. <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 [owner-ferret_users@xxxxxxxx] On Behalf Of Ansley Manke [ansley.b.manke@xxxxxxxx]
Sent: 19 January 2011 23:33
To: Brockmann Patrick
Cc: 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"
>
> Patrick
>




--
with best regards

Sudheer

**********************************************************************************
Sudheer Joseph                                                                 
Scientist                                                                                    
Indian National Centre for Ocean Information Services (INCOIS)    
Ocean Valley, Post Box No# 21,
IDA Jeedimetla P.O.                  
Hyderabad, Ranga Reddy District - 500 055
Andhra Pradesh, India.
TEl:+91-40-23044600(R),Tel:+91-9440832534(Mobile)
Tel:+91-40-23886047(O),Fax:+91-40-23892910(O)
E-mail:sjo@xxxxxxxxxxxxxx; sudheer.joseph@xxxxxxxxxsjo@xxxxxxxxxxxxx.
Web- http://oppamthadathil.tripod.com
           --------------* ---------------
"The ultimate measure of a man is
not where he stands in moments of
comfort and convenience, but where
he stands at times of challenge and
controversy."
                        Martin Luther King, Jr.
"What we have done for ourselves alone dies with us.
What we have done for others and the world remains and is immortal."
- Albert Pines

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

Privacy Policy | Disclaimer | Accessibility Statement