The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 21st, 2024, 4:26am
Pages: 1
Send Topic Print
Ocean analysis syntax (Read 897 times)
sos
Community Member
***
Offline



Posts: 32

Ocean analysis syntax
Aug 07th, 2009, 7:45am
 
I've just realized that my ocean script generates an error. I cannot figure out where it comes from.

Here's the analysis statement:
analysis('dc ?saveOppoint nil ?param "vp" ?start start ?stop stop ?lin "401")
start and stop are variables set earlier in the code.
This gives me the warning:
dc: Too many step size specifiers given

I truncated the analysis line to:
analysis('dc ?param "vp" ?start "0" ?stop "3")
This results in the same warning.

What I want to do is increase the number of points in my plot. In the first analysis statement, the number after ?lin has zero effect, I've tried many.

Advice will be appreciated,
Steve
Back to top
 
 
View Profile   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1742
Bracknell, UK
Re: Ocean analysis syntax
Reply #1 - Aug 15th, 2009, 1:11am
 
Try typing:
Code:
ocnDisplay('analysis 'dc) 


I suspect you'll find that there are multiple parameters for defining the sweep set.

This can happen if you have a .cdsenv file (e.g. in your home directory) which has been saved (via Options->Save Defaults in the CIW) when you had an ADE window open. This will have saved whatever ADE analysis setup you had as default values. OCEAN is then picking up these defaults, and adding the parameters you define - this quite likely means you have ended up with duplicate sweep specifiers.

Anyway, check for this .cdsenv file and see if you can locate it. You can then either remove the relevant entries, or delete the file altogether.

Best Regards,

Andrew.
Back to top
 
 
View Profile WWW   IP Logged
sos
Community Member
***
Offline



Posts: 32

Re: Ocean analysis syntax
Reply #2 - Aug 15th, 2009, 4:20am
 
Thanks much Andrew, I will look into this and report back.

Steve
Back to top
 
 
View Profile   IP Logged
sos
Community Member
***
Offline



Posts: 32

Re: Ocean analysis syntax
Reply #3 - Aug 17th, 2009, 10:17am
 
Andrew, that's great. Exactly the problem.

Steve
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.