I`m trying to come up with a script for 250mb jetstream analysis. So far the first thing I`m trying to get working is some colour fill work, similar to what wunderground do for their jetstream maps. Then eventually I`ll overlay streamlines.

I`ve started very basic, using the command line from the .mnu file, and was just hoping to build from that.

Unfortunately I`ve managed to get stuck (again). I would need to add a command in the script for the heights/levels (250mb)?

Anyway, here`s the script (go ahead and laugh), running this shows it running through, but generates absolutely nothing on the map. Obviously I downloaded the data prior to this.

1. There's a bug in the 250mb height contouring routine...actually I think it's in the data parsing...but anyway, try it, you'll see what I mean. This is a bug that existed before...Tim fixed it...and now it's back again! Hopefully, Tim will issue another patch soon to kill it once and for all.

2. You don't need to include the "import" language on line 3. The "load" command on line 1 is sufficient.

3. If you plan on running this script "unattended", then the "analyze" command should be prefaced with the height level you're analyzing...H250, in this case.

4. The "import-overlay.gif" line is not something I'm familiar with. What is it intended to do?

As an example for you, here's the script for wind speed that's included in the DAWS Analysis menu.

Sorry I should have said, the script works ok when active level is set manually, I have tried to change the script this evening but am unable to get the level to change automatically. Looking at the other scripts on the forum the format looks correct.
I thought I had read somewhere on the forum that there was a problem with the active level setting from a script, but I can't find anything.

What command are you trying to use to change the active level? I don't recall ever putting in this functionality because it was handled by the product parameters. But I don't see any reason why it can't be added.

Did anyone find a solution to automatically changing the height level? I`ve tried a number of ways using the script Peter posted, however nothing seems to happen unless I manually change the mb levels.

When using the schedular to run scripts it would appear that they all have to be run at the same height as selected from "Active Level" within the workchart menu, either Surface or Upper level 1000mb to 100mb.

When running scripts either manually or using the schedular they work using scripts with the relavant level assigned providing they are all at the same height, as selected within "Active level".

My above script using the line of script works fine at 300mb providing the active level is set to 300mb: If the previous script was for HSFC this would not work unless the level was changed manually.

H300 or similar being the command that I thought would change the active level. I assume that this is not the case when tryng to use the schedular script at different active levels.

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum