I get a poor performance with pyferret when compared with normal ferret for the same set of operations. for the below script normal ferret takes 25 seconds where as pyferret takes 5 minutes. Why is this difference is this due to configuration issue ? are there anything in pyferret to set for making it faster? I do not get any message or error while starting pyferret as I have cdtime there with my python.
Please share your experience if any one has faced same and also if there a solution?
sjo@sjo-ltp../NC_FILES~$ time ferret -script m_tmi_percen_g21dg.jnl
set mem/size=1200
Cached data cleared from memory
let cls_1= if abs(m_TMI_SST) gt 1 then m_TMI_SST
let ngd=cls_1[t=@var]
set reg/x=35:115/y=-35:26
......
.......
let perc_gud=(ngd/(ngd+nbd))*100
fill/lev=(1,100,5)/nolab/set perc_gud
ppl fill
contour/over/lev=(1,100,10)/nolab/set perc_gud
ppl contour/over
real 0m25.558s
user 0m15.109s
sys 0m2.716s
************************************************************
$ time pyferret -script hyc_tmi_percen_g21dg.jnl
set mem/size=1200
Cached data cleared from memory
let cls_1= if abs(m_TMI_SST) gt 1 then m_TMI_SST
let ngd=cls_1[t=@ngd]
set reg/x=35:115/y=-35:26
......
......
fill/lev=(1,100,5)/nolab/set perc_gud
ppl fill
contour/over/lev=(1,100,10)/nolab/set perc_gud
ppl contour/over
real 5m18.710s
user 0m25.894s
sys 0m8.637s
*************************************************************
--
with best regards
Sudheer
**********************************************************************************
Dr. Sudheer Joseph
Scientist
INDIAN NATIONAL CENTRE FOR OCEAN INFORMATION SERVICES (INCOIS)
MINISTRY OF EARTH SCIENCES, GOVERNMENT OF INDIA
"OCEAN VALLEY" PRAGATHI NAGAR (BO)
OPP.JNTU, NIZAMPET SO
Andhra Pradesh, India. PIN- 500 090.
TEl:
+91-40-23044600(R),Tel:
+91-9440832534(Mobile)
Tel:
+91-40-23886047(O),Fax:
+91-40-23892910(O)
E-mail:
sudheer.joseph@xxxxxxxxx;
sjo@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
**********************************************************************************
Dr. Sudheer Joseph
Scientist
Andhra Pradesh, India. PIN- 500 090.
.
Martin Luther King, Jr.
"What we have done for ourselves alone dies with us.