Page 1 of 1

Cape Script

Posted: Mon Oct 02, 2006 6:40 pm
by Ian
Hi,

Is it possible to create a CAPE script.

Ian

Posted: Mon Oct 02, 2006 8:33 pm
by Ian
Me again,

all so i am doing a sst script
see below,

#SST
ingest,C:\Program Files\DigitalAtmosphereWS\data\syn*.dat
ANALYZE,CONT EQUA=5 COLOR=71:60:139 CONT EQUA=6 COLOR=72:118:255 CONT EQUA=6 COLOR=67:110:238 CONT EQUA=8 COLOR=238:238:0 CONT EQUA=10 COLOR=255:215:0 CONT EQUA=12 COLOR=255:193:37 CONT EQUA=14 COLOR=255:000:000 CONT EQUA=16 COLOR=238:64:0 CONT EQUA=18 COLOR=205:55:0 CONT EQUA=20 COLOR=139:37:0 CONT EQUA=22 COLOR=000:000:000 TSEA
import,C:\Program Files\DigitalAtmosphereWS\overlay.gif
STAMP
export,C:\website's\data\charts\SST.gif

but i would like the contores NOT to go over the counties.

Like so

Image

Any ideas

Posted: Mon Oct 02, 2006 9:11 pm
by britbob
For Cape values you`ll need grib, but unfortunately daws does not support scripting with grib data.

As for the sst, I don`t that`s possible to avoid contouring over the land without importing complicated overlays etc.

Ie: You could create two basemaps. One for daws, and second would be edited on photoshop or something. Make the sea areas transparent, and the landmass solid. Then just import the edited basemap as a png image at the end of your script. It might work.

Posted: Mon Oct 02, 2006 9:38 pm
by britbob
Here you go, with a bit of photoshop cheating it works :) I just put this together quickly, but with a bit of time it can be improved.

Image

Posted: Mon Oct 02, 2006 10:01 pm
by Ian
looks good,

will give it a go tomorrow.

Cheers

Posted: Wed Oct 04, 2006 1:37 pm
by Ian
Hi britbob,

Got the overlay map working fine, but my colour fill scritp does not look like yours, all remains the same color.


Ian

Posted: Wed Oct 04, 2006 4:48 pm
by britbob
Post your script so we can see what`s happening :)

Posted: Wed Oct 04, 2006 5:36 pm
by Ian
HI MATE,

#SST
ingest,C:\Program Files\DigitalAtmosphereWS\data\syn*.dat
ANALYZE,CONT EQUA=5 OVER FILL COLOR=71:60:139 CONT EQUA=6 OVER FILL COLOR=72:118:255 CONT EQUA=6 OVER FILL COLOR=67:110:238 CONT EQUA=8 OVER FILL COLOR=238:238:0 CONT EQUA=10 OVER FILL COLOR=255:215:0 CONT EQUA=12 OVER FILL COLOR=255:193:37 CONT EQUA=14 OVER FILL COLOR=255:000:000 CONT EQUA=16 OVER FILL COLOR=238:64:0 CONT EQUA=18 OVER FILL COLOR=205:55:0 CONT EQUA=20 OVER FILL COLOR=139:37:0 CONT EQUA=22 OVER FILL COLOR=000:000:000 TSEA
import,C:\Program Files\DigitalAtmosphereWS\overlay_uksst.gif
STAMP

Posted: Wed Oct 04, 2006 6:20 pm
by Ian
think i have sorted mate, cheers anyway. More work on the trans map, but geting there slowly mate

Thanks,

o if you look above you will see it :lol: