cloudy cloudy

Author Topic: WXSIM 2019 build 1.0 Run-time error'9' subscript out of range.  (Read 879 times)

0 Members and 1 Guest are viewing this topic.

Offline G.O.B.B

  • Dayboro Weather.
  • Posts: 520
  • Tomorrow I tell you today's weather.
  • Dayboro
  • OS/Browser:
  • Win NT 10.0
  • Firefox 65.0
    • Dayboro Weather Station
WXSIM 2019 build 1.0 Run-time error'9' subscript out of range.
« on: February 20, 2019, 10:46:10 PM »
For no apparent reason, I get the above error. I searched the forum and tried to fix it with the answers listed there. No luck.

any ideas? It was working ok for a while.

Thanks
H

Offline BWX

  • Posts: 200
  • OS/Browser:
  • Win NT 10.0
  • Chrome 72.0.3626.109
    • Breckland Weather
Re: WXSIM 2019 build 1.0 Run-time error'9' subscript out of range.
« Reply #1 on: February 21, 2019, 04:15:43 AM »
For no apparent reason, I get the above error. I searched the forum and tried to fix it with the answers listed there. No luck.

any ideas? It was working ok for a while.

Thanks
H

Got that too yesterday.

Offline G.O.B.B

  • Dayboro Weather.
  • Posts: 520
  • Tomorrow I tell you today's weather.
  • Dayboro
  • OS/Browser:
  • Win NT 10.0
  • Firefox 65.0
    • Dayboro Weather Station
Re: WXSIM 2019 build 1.0 Run-time error'9' subscript out of range.
« Reply #2 on: February 21, 2019, 09:23:48 PM »
Here is a video showing what is happening, pretty much straight after starting processing it goes to error 9. Manual start seems to work, but the forecast is off (in my humble opinion).


https://www.youtube.com/watch?v=2U9z1mQdwMk&feature=youtu.behttps://www.youtube.com/watch?v=2U9z1mQdwMk&feature=youtu.be

Offline oreitsma

  • Posts: 559
  • Assen, Netherlands
  • OS/Browser:
  • Win NT 10.0
  • Chrome 72.0.3626.109
    • Weerstation Assen
Re: WXSIM 2019 build 1.0 Run-time error'9' subscript out of range.
« Reply #3 on: February 22, 2019, 06:40:58 AM »
Hi,

I think it is better to mail Tom those files after it happened: custinit.txt, rgcode.txt, localdat.txt, localcal.txt, wxsmini.txt, wdata.txt, cty.fdt, fdata.txt, and cor.txt,
He always askes for that files so he can try to reproduce it.

Brgds,
Oebel

Offline jwwd

  • WML testers
  • Posts: 3,711
  • Silkeborg, Denmark (56:10:58 N-09:30:26 E) - Elevation 75,35 meters
  • OS/Browser:
  • Win NT 10.0
  • Chrome 72.0.3626.119
    • Weather at Silkeborg, Denmark
Re: WXSIM 2019 build 1.0 Run-time error'9' subscript out of range.
« Reply #4 on: March 07, 2019, 06:29:40 AM »
Hi

Im having same problem with run-time error 9 in WXSIM - see attached. It just started last night.

Any suggestions?

Kind regards,
Henrik

Offline jwwd

  • WML testers
  • Posts: 3,711
  • Silkeborg, Denmark (56:10:58 N-09:30:26 E) - Elevation 75,35 meters
  • OS/Browser:
  • Win NT 10.0
  • Chrome 73.0.3683.103
    • Weather at Silkeborg, Denmark
Re: WXSIM 2019 build 1.0 Run-time error'9' subscript out of range.
« Reply #5 on: April 29, 2019, 02:30:31 PM »
Hi

Any news about this topic?

The error dissapeard by itself - but has returned today.

Kind regards,
Henrik

Offline Tom Ehrensperger

  • Posts: 2,690
  • OS/Browser:
  • Win NT 10.0
  • Firefox 66.0
Re: WXSIM 2019 build 1.0 Run-time error'9' subscript out of range.
« Reply #6 on: April 29, 2019, 11:36:42 PM »
OK, I think I know what this is (at least I know what a similar issue has been in the past).  When I do the customization, I like to assign as many advection sites as I can, but my arrays are dimensioned only to 48, so if it tries to grab more than 48 surface advection sites, it generates this error.  I always test to try to avoid that possibility, but a few times I've missed something, and some extreme curvature of the flow will pick up the extra sites.  The solution is for me to (at no charge, of course!) deletes a couple of your advection sites, in the offending direction and flow curvature.  I don't want to do it at random, though, so its best to send me cty.fdt, rgcode.txt, custinit.txt, localdat.txt, localcal.txt, wdata.txt, and latest.txt, as they6 are right after the next time you see the error.  It's a very "chance" thing, so it may not even ever happen again, but if it does, just send those files and I can fix it for you.

Oh, by the way, I see WXSIMATE is version 7.0 in the video.  7.2 is out, and it probably matters, becasue of a lot of URL changes early this year, so I recommend upgrading with www.wxsim.com/wxsimupg.exe.

Thanks!

Tom

Offline jwwd

  • WML testers
  • Posts: 3,711
  • Silkeborg, Denmark (56:10:58 N-09:30:26 E) - Elevation 75,35 meters
  • OS/Browser:
  • Win NT 10.0
  • Chrome 73.0.3683.103
    • Weather at Silkeborg, Denmark
Re: WXSIM 2019 build 1.0 Run-time error'9' subscript out of range.
« Reply #7 on: April 30, 2019, 06:27:17 AM »
Hi Tom

Thanks for your reply.

I have sent you the needed files.

Kind regards,
Henrik

Offline Tom Ehrensperger

  • Posts: 2,690
  • OS/Browser:
  • Win NT 10.0
  • Firefox 66.0
Re: WXSIM 2019 build 1.0 Run-time error'9' subscript out of range.
« Reply #8 on: May 01, 2019, 04:15:07 AM »
Looks like Henrik's problem was exactly what I thought, and I think I've fixed his cty.fdt file.  If anybody else sees a subscript out of range (error 9) in WXSIM, please send a screen shot of the error message AND the background, and the cty.fdt file, and I can probably fix it quickly.

Tom