SCRIPT: Multiple scripts - CAPack v0.1
-
- Senior Member
- Posts: 252
- Joined: Mon May 02, 2005 4:13 pm
- Contact:
-
- Member
- Posts: 57
- Joined: Tue Mar 23, 2004 1:59 pm
- Location: SE Oklahoma
Here Here!!Jon Wright wrote:Dryline, on behalf of all the illiterate Script writers, I want to thank you for the "Package". I spent half a day trying to write one script and I think the computer actually laughed at me.
I just installed these scripts last night and did a test run on them.
VERY NICE!!
Has anyone approached Tim about setting up a repository on the site where scripts could be uploaded and downloaded?
Having to cut-and-paste is pretty 'low-tech'.
brianb
N5ACN
From a software development standpoint, keeping things granular is considered a 'best practise'.Fred wrote:Hello
You start the scheduler with 5 minutes interval. Is the speed of the pc the only reason or has it something to do with the availability of the data? If it's the speed, why not make 1 big script?
Greetings
Fred
Using one large script has no advantages, and numerous drawbacks. Hence the growing popularity of languages like Java and C (in all its flavors) and the decline of more procedural, monolithic languages like COBOL, FORTRAN, etc.
It's much easier to maintain product stability and consistant quality when scripts are kept as granular as possible and are encapsulated at that level of granularity.
Ok. Enough techno-babble for now. Back to the weather.
brianb
N5ACN
Glad you like them.
After taking a break from weather stuff during the (convectively boring) winter, I just broke them out again to have a poke at on Monday.. I expect I'll do some tweaking and release an upgrade in the next few weeks.
A list of wants (taking into account the limitations of the scripting language) might be useful.. post them here, and I'll see what I can do.
Cheers,
--dryline
After taking a break from weather stuff during the (convectively boring) winter, I just broke them out again to have a poke at on Monday.. I expect I'll do some tweaking and release an upgrade in the next few weeks.
A list of wants (taking into account the limitations of the scripting language) might be useful.. post them here, and I'll see what I can do.
Cheers,
--dryline
-
- Junior Member
- Posts: 2
- Joined: Mon Oct 17, 2005 5:30 pm
- Location: S.S.Jujuy, Argentina
Half the fun, for me at least, is figuring out how these scripts all work. I got to hand it to the gents coming up with all of these...In figuring out how they put them all together it keeps me on top of my game..and sometimes scratching my head til I get one of those Ah-Ha moments! Hopefully, someday, I'll be able to come up with a scriptto post that no-ones posted yet.dryline wrote:Glad you like them.
After taking a break from weather stuff during the (convectively boring) winter, I just broke them out again to have a poke at on Monday.. I expect I'll do some tweaking and release an upgrade in the next few weeks.
A list of wants (taking into account the limitations of the scripting language) might be useful.. post them here, and I'll see what I can do.
Cheers,
--dryline
Some help needed
Can get the data downloads (well madis is giving me problems) and then the plotting to work, but cant get the maps to export. Whats wierd is export command works in command line, but not when imbedded with script. Stamp does not work either.
Here is one example script, any help on the exports appreicated.
LOAD,C:\Program Files\DigAtmEquinox\USA.dmf
#PRODUCT,plf,0,Data Plots
ANALYZE,CONT CINT=2 LINE=2 SLPR
ANALYZE,VECT COLOR=0:0:255 WIND
product,wxp,0,fronts
STAMP
EXPORT,C:\WX\Scripts\Output\Synoptic\synop_@FFZ@MMZ@DDZ@HHZ@NNZ.JPG
Here is one example script, any help on the exports appreicated.
LOAD,C:\Program Files\DigAtmEquinox\USA.dmf
#PRODUCT,plf,0,Data Plots
ANALYZE,CONT CINT=2 LINE=2 SLPR
ANALYZE,VECT COLOR=0:0:255 WIND
product,wxp,0,fronts
STAMP
EXPORT,C:\WX\Scripts\Output\Synoptic\synop_@FFZ@MMZ@DDZ@HHZ@NNZ.JPG
Good idea
Wow, works, thanks a bunch.
Not sure I would have caught that one...
Not sure I would have caught that one...