Search found 235 matches
- Wed Aug 26, 2015 12:50 am
- Forum: Bundles
- Topic: startup_bundle set to "0;"?
- Replies: 1
- Views: 23263
startup_bundle set to "0;"?
I note in my fresh install of McV 1.5 on Windows 64 bit, that the "STARTUP_BUNDLE" in the McIDAS-V/runMcV-Prefs.bat file is initially set to "". However, as soon as I run the configuration (either from the runMcV-Config.bat or from the GUI) and save it, the STARTUP_BUNDLE in McID...
Re: newUnit
Naive question: could you not just change the "display units" in the "Edit->Change Display Unit" menu? Or, if you always want degC, change the display defaults?
Re: newUnit
You might try "degC". I believe that "C" is "Coulomb".
- Mon Mar 02, 2015 6:19 pm
- Forum: Scripting
- Topic: problem with formula
- Replies: 11
- Views: 5791
Re: problem with formula
Here's what I did (in the Jython shell....), which produce a result (I had to change the scaling)... # Generated from Jython Shell history (2015-03-02 18:15:16Z) iwp=selectData() t11=selectData() t67=selectData() iwt=newUnit(iwp, "iwpt", "degK") from visad.python.JPythonMethods i...
- Mon Mar 02, 2015 6:01 pm
- Forum: Scripting
- Topic: problem with formula
- Replies: 11
- Views: 5791
Re: problem with formula
newUnit requires 3 inputs, what is the "field" name? Your variable, "iwp" (without the quotes). the "variable" is the name of the _new_ quantity, so something like "iwpt" (with the quotes). I'll try to get your file and have a look -- might be a while. I'm ho...
- Mon Mar 02, 2015 5:08 pm
- Forum: Scripting
- Topic: problem with formula
- Replies: 11
- Views: 5791
Re: problem with formula
I believe the field would be "iwp" (without the quotes), the varname would be "iwp" (with the quotes), and the unit would be "degK". You might need to run this via the Jython shell in order to help diagnose the issues. Also, if you're trying to display it as an "Im...
- Mon Mar 02, 2015 4:35 pm
- Forum: Scripting
- Topic: problem with formula
- Replies: 11
- Views: 5791
Re: problem with formula
As Rick will attest, these are "interesting" problems! Try re-arranging the c= to be: c=(.0252*(T67-T11))-(.0369*T11)+5.678+(.0006*noiwp); This "should" keep the units in temperature...should... Also, stick some "print" statements between the lines to isolate which line...
- Mon Mar 02, 2015 3:45 pm
- Forum: Scripting
- Topic: problem with formula
- Replies: 11
- Views: 5791
Re: problem with formula
While I'm not familiar with that specific error, I'm going to assume that the variables that start with "T" are temperature and the variable "iwp" is not -- and that's the issue. Also, if you can isolate which statement is causing the error that might help. Here are some suggesti...
- Sat Feb 28, 2015 9:18 pm
- Forum: Scripting
- Topic: problem with formula
- Replies: 11
- Views: 5791
Re: problem with formula
Usually this error occurs when doing an arithmetic combination involving add or subtract, and the units of each operand are not convertible. You cannot, for example, add a pressure to a temperature. Depending on the structure of your data, you might be able to use the noUnit(data) function to strip ...
- Fri Dec 12, 2014 10:13 pm
- Forum: Scripting
- Topic: user input
- Replies: 3
- Views: 2913
Re: user input
Hi HP... I do not believe the "raw_input" would work in this context since you don't really have a "command line" (assuming you are running the script within the McIDAS-V framework). [I edited this, since at first glance, the form looked like what Jeff had done in the Formula lin...