Search found 235 matches

by tomw
Tue Apr 11, 2017 7:23 pm
Forum: Scripting
Topic: today() error
Replies: 2
Views: 2150

Re: today() error

Do this:

Code: Select all

from datetime import date
date.today()
by tomw
Sun Jan 22, 2017 4:52 pm
Forum: Scripting
Topic: type error in a formula using visad.Field Impl data
Replies: 6
Views: 3863

Re: type error in a formula using visad.Field Impl data

HP -- The "math.cos()" function only takes a number, not an array. If you have a VisAD Data object, which I assume you do because you're using "getValues()", then why not just use the JPythonMethods "cos" (or "cosDegrees") methods? Otherwise, if you are loopin...
by tomw
Wed Jan 18, 2017 4:45 pm
Forum: Scripting
Topic: type error in a formula using visad.Field Impl data
Replies: 6
Views: 3863

Re: type error in a formula using visad.Field Impl data

HP -- VisAD (in JPythonMethods) has two methods: cos(data) and cosDegrees(data). The "data" in both cases is a VisAD "Data" object, and the methods operate on all the "values" therein. Therefore, "cosDegrees(.5)" would produce an error because .5 is not a VisA...
by tomw
Wed Feb 24, 2016 4:34 pm
Forum: General Questions
Topic: Mcidas header blocks
Replies: 2
Views: 1994

Re: Mcidas header blocks

From IDL you could also use the VisAD library's AreaFile class that contains methods to extract those blocks.

See: http://www.ssec.wisc.edu/visad-docs/javadoc/edu/wisc/ssec/mcidas/AreaFile.html
by tomw
Fri Sep 25, 2015 1:29 pm
Forum: General Questions
Topic: McIDAS-V quits during start-up
Replies: 17
Views: 8488

Re: McIDAS-V quits during start-up

Rick -- I have not tested with the latest nightly. That reference in my previous email was for the IDV. I'll test the McV nightly this weekend when I get a chance...
by tomw
Thu Sep 24, 2015 11:38 pm
Forum: General Questions
Topic: McIDAS-V quits during start-up
Replies: 17
Views: 8488

Re: McIDAS-V quits during start-up

Bob - I was quite relieved that I got McV 1.5 running under Win10 on my Intel Graphics-based laptop. I was almost ready to revert back to Win7. I did not have the same experience as HP did with the IDV....although I was using the nightly (dubbed 1.6), and it also failed to start -- just a "flas...
by tomw
Thu Sep 24, 2015 1:57 am
Forum: General Questions
Topic: McIDAS-V quits during start-up
Replies: 17
Views: 8488

Re: McIDAS-V quits during start-up

Success! On my HP (Hewlett Packard, not HansPeter) laptop, I was unable to install the graphics drivers from Intel (the chip type is "Mobile Intel 4 Series Express Chipset Family", the adapter is a "GMA 4500MHD"). I just got an "Error" message that my computer didn't ha...
by tomw
Tue Sep 22, 2015 2:59 am
Forum: General Questions
Topic: McIDAS-V quits during start-up
Replies: 17
Views: 8488

Re: McIDAS-V quits during start-up

One more puzzle piece. I installed McV (32-bit) on my wife's laptop which had also been "upgraded" to Win10, and where I did have to install the Win7 graphics drivers. I guess that might not matter, for when I tried to start McV, I got an error pop up: Title: Java Virtual Machine launcher ...
by tomw
Tue Sep 22, 2015 12:46 am
Forum: General Questions
Topic: McIDAS-V quits during start-up
Replies: 17
Views: 8488

Re: McIDAS-V quits during start-up

More info....I installed the IDV nightly, which is built with Java 1.8. Running it from the command line gave this: C:\Program Files\IDV_5.2u1>jre\bin\java -Xmx2892m -XX:+DisableExplicitGC -Didv.enableStereo=false -jar idv.jar 3D [dev] 1.6.0-pre9-daily-experimental daily javax.media.j3d.IllegalRende...
by tomw
Mon Sep 21, 2015 10:49 pm
Forum: General Questions
Topic: McIDAS-V quits during start-up
Replies: 17
Views: 8488

Re: McIDAS-V quits during start-up

FYI -- I have exactly the same issue as HP. McV 1.5 will not start in Win10. The mcidasv.log is the same as his.... My display adapter is a "mobile Intel 4 Series Express Chipset Family", version 8.15.10.2702. If I run the "config" batch file and disable 3D, then the GUI window b...