The Weather Forecasting Forum
http://www.weathergraphics.com/forum/

Script for Surface Temperature as colored fill
http://www.weathergraphics.com/forum/viewtopic.php?f=9&t=494
Page 2 of 2

Author:  Jan Hoeher-Larsen [ Mon Nov 22, 2004 8:09 pm ]
Post subject: 

Hey Fred,

I do not know if there is a standard, but all maps/forcast I have seen seems to use the same "overall" colour palet from cold to hot or calm to storm/hurricane. See for instance:

http://www.wunderground.com/global/Region/EU/Temperature.html
http://www.wetterzentrale.de/pics/Reurmett.html

as a few examples. Look at last link to find Topkarten, too (GFS Forecast)

I do not know anything about the exactly RGB-values; I have just tried to match the colour scheme in the best way

Regard,

Jan

Author:  Stefan Lichius [ Tue Nov 23, 2004 12:18 pm ]
Post subject: 

Hello Jan, Fred,

ANALYZE,OVER FILL COLOR=000:050:254 FILS=0 GRTN<0.0 FILL DEGF TEMP
ANALYZE,OVER FILL COLOR=000:100:254 FILS=0 GRTN=5.0 DEGF TEMP
ANALYZE,OVER FILL COLOR=000:150:254 FILS=0 GRTN=10.4 DEGF TEMP
ANALYZE,OVER FILL COLOR=000:200:254 FILS=0 GRTN=15.8 DEGF TEMP
ANALYZE,OVER FILL COLOR=000:230:240 FILS=0 GRTN=21.2 DEGF TEMP
ANALYZE,OVER FILL COLOR=000:230:160 FILS=0 GRTN=26.6 DEGF TEMP
ANALYZE,OVER FILL COLOR=000:230:120 FILS=0 GRTN=0 TEMP
ANALYZE,OVER FILL COLOR=000:230:080 FILS=0 GRTN=3 TEMP
ANALYZE,OVER FILL COLOR=000:240:040 FILS=0 GRTN=6 TEMP
ANALYZE,OVER FILL COLOR=000:250:000 FILS=0 GRTN=9 TEMP
ANALYZE,OVER FILL COLOR=254:254:000 FILS=0 GRTN=12 TEMP
ANALYZE,OVER FILL COLOR=254:225:000 FILS=0 GRTN=15 TEMP
ANALYZE,OVER FILL COLOR=254:200:000 FILS=0 GRTN=18 TEMP
ANALYZE,OVER FILL COLOR=254:175:000 FILS=0 GRTN=21 TEMP
ANALYZE,OVER FILL COLOR=254:175:000 FILS=0 GRTN=24 TEMP
ANALYZE,OVER FILL COLOR=230:125:000 FILS=0 GRTN=27 TEMP
ANALYZE,OVER FILL COLOR=230:100:000 FILS=0 GRTN=30 TEMP
ANALYZE,OVER FILL COLOR=220:075:030 FILS=0 GRTN=33 TEMP
ANALYZE,OVER FILL COLOR=200:050:030 FILS=0 GRTN=36 TEMP
ANALYZE,OVER FILL COLOR=180:025:030 FILS=0 GRTN=39 TEMP
ANALYZE,OVER FILL COLOR=170:000:030 FILS=0 GRTN=42 TEMP
ANALYZE,OVER FILL COLOR=180:000:050 FILS=0 GRTN=45 TEMP
ANALYZE,OVER FILL COLOR=200:000:100 FILS=0 GRTN=48 TEMP
ANALYZE,OVER FILL COLOR=254:000:150 FILS=0 GRTN=51 TEMP

the following script base on the color scheme of http://www.wetterzentrale.de/pics/Reurmett.html

Stefan

Author:  Fred [ Wed Nov 24, 2004 6:14 pm ]
Post subject: 

Based on the above scripts and the colours in
http://www.wunderground.com/global/Region/EU/Temperature.html I made a script for every 2 degr.

In a photo-program I read the RGB values in the picture on the above site. Some formula's in Excel calculated the values in between (the picture has ranges of 5 degrees). I already added the C-degrees below zero. As soon as Tim fixed the problem remove the # before the lines and remove the F-part.

I used single lines in the script because I can see easily what the script is doing and I accept that it's a bit slower.

If the couountry boundaries are not clearly visible you can try to change the colour-style in the following way:
bas Background color 255-255-255 -
lan Land color 255-255-255 -
inl International Boundary 000-000-000 2
sta State-Province Boundary 000-000-000 2
cst Coastline 000-000-000 2
isl Islands 000-000-000 2
lak Lakes 000-000-000 2
riv Rivers 230-170-090 1
lat Lat/long graticule 206-222-225 1 solid
leg Legend block 256-256-256 1 Arial
stm Map time stamp 030-000-000 8 Lucida Console
etc.


Greetings

Fred

# Analyzing temperature step 2
#
# below 0 in C. Later remove #
#
#ANALYZE,OVER FILL COLOR=050:000:107 FILS=0 GRTN=-50 TEMP
#ANALYZE,OVER FILL COLOR=076:000:107 FILS=0 GRTN=-48 TEMP
#ANALYZE,OVER FILL COLOR=101:000:107 FILS=0 GRTN=-46 TEMP
#ANALYZE,OVER FILL COLOR=122:000:116 FILS=0 GRTN=-44 TEMP
#ANALYZE,OVER FILL COLOR=135:000:135 FILS=0 GRTN=-42 TEMP
#ANALYZE,OVER FILL COLOR=153:000:153 FILS=0 GRTN=-40 TEMP
#ANALYZE,OVER FILL COLOR=168:000:168 FILS=0 GRTN=-38 TEMP
#ANALYZE,OVER FILL COLOR=189:000:189 FILS=0 GRTN=-36 TEMP
#ANALYZE,OVER FILL COLOR=204:000:204 FILS=0 GRTN=-34 TEMP
#ANALYZE,OVER FILL COLOR=224:000:224 FILS=0 GRTN=-32 TEMP
#ANALYZE,OVER FILL COLOR=245:000:245 FILS=0 GRTN=-30 TEMP
#ANALYZE,OVER FILL COLOR=246:000:255 FILS=0 GRTN=-28 TEMP
#ANALYZE,OVER FILL COLOR=209:000:255 FILS=0 GRTN=-26 TEMP
#ANALYZE,OVER FILL COLOR=179:000:255 FILS=0 GRTN=-24 TEMP
#ANALYZE,OVER FILL COLOR=136:000:255 FILS=0 GRTN=-22 TEMP
#ANALYZE,OVER FILL COLOR=082:000:255 FILS=0 GRTN=-20 TEMP
#ANALYZE,OVER FILL COLOR=022:000:255 FILS=0 GRTN=-18 TEMP
#ANALYZE,OVER FILL COLOR=000:045:255 FILS=0 GRTN=-16 TEMP
#ANALYZE,OVER FILL COLOR=000:080:255 FILS=0 GRTN=-14 TEMP
#ANALYZE,OVER FILL COLOR=000:105:255 FILS=0 GRTN=-12 TEMP
#ANALYZE,OVER FILL COLOR=000:154:255 FILS=0 GRTN=-10 TEMP
#ANALYZE,OVER FILL COLOR=000:179:255 FILS=0 GRTN=-8 TEMP
#ANALYZE,OVER FILL COLOR=000:209:255 FILS=0 GRTN=-6 TEMP
#ANALYZE,OVER FILL COLOR=000:255:255 FILS=0 GRTN=-4 TEMP
#ANALYZE,OVER FILL COLOR=000:245:255 FILS=0 GRTN=-2 TEMP
#
# below 0 in F. Later remove this part and make above active
#
ANALYZE,OVER FILL COLOR=000:045:255 FILS=0 GRTN=3.2 DEGF TEMP
ANALYZE,OVER FILL COLOR=000:080:255 FILS=0 GRTN=6.8 DEGF TEMP
ANALYZE,OVER FILL COLOR=000:105:255 FILS=0 GRTN=10.4 DEGF TEMP
ANALYZE,OVER FILL COLOR=000:154:255 FILS=0 GRTN=14 DEGF TEMP
ANALYZE,OVER FILL COLOR=000:179:255 FILS=0 GRTN=17.6 DEGF TEMP
ANALYZE,OVER FILL COLOR=000:209:255 FILS=0 GRTN=21.2 DEGF TEMP
ANALYZE,OVER FILL COLOR=000:255:255 FILS=0 GRTN=24.8 DEGF TEMP
ANALYZE,OVER FILL COLOR=000:245:255 FILS=0 GRTN=28.4 DEGF TEMP
#
# above 0 in C
#
ANALYZE,OVER FILL COLOR=000:255:225 FILS=0 GRTN=0 TEMP
ANALYZE,OVER FILL COLOR=000:255:179 FILS=0 GRTN=2 TEMP
ANALYZE,OVER FILL COLOR=100:255:036 FILS=0 GRTN=4 TEMP
ANALYZE,OVER FILL COLOR=159:255:000 FILS=0 GRTN=6 TEMP
ANALYZE,OVER FILL COLOR=216:255:000 FILS=0 GRTN=8 TEMP
ANALYZE,OVER FILL COLOR=255:255:000 FILS=0 GRTN=10 TEMP
ANALYZE,OVER FILL COLOR=255:240:000 FILS=0 GRTN=12 TEMP
ANALYZE,OVER FILL COLOR=255:220:000 FILS=0 GRTN=14 TEMP
ANALYZE,OVER FILL COLOR=255:204:000 FILS=0 GRTN=16 TEMP
ANALYZE,OVER FILL COLOR=255:180:000 FILS=0 GRTN=18 TEMP
ANALYZE,OVER FILL COLOR=255:161:000 FILS=0 GRTN=20 TEMP
ANALYZE,OVER FILL COLOR=255:148:148 FILS=0 GRTN=22 TEMP
ANALYZE,OVER FILL COLOR=255:127:000 FILS=0 GRTN=24 TEMP
ANALYZE,OVER FILL COLOR=255:097:000 FILS=0 GRTN=26 TEMP
ANALYZE,OVER FILL COLOR=255:047:000 FILS=0 GRTN=28 TEMP
ANALYZE,OVER FILL COLOR=255:014:014 FILS=0 GRTN=30 TEMP
ANALYZE,OVER FILL COLOR=255:055:055 FILS=0 GRTN=32 TEMP
ANALYZE,OVER FILL COLOR=255:090:090 FILS=0 GRTN=34 TEMP
ANALYZE,OVER FILL COLOR=255:110:110 FILS=0 GRTN=36 TEMP
ANALYZE,OVER FILL COLOR=255:135:135 FILS=0 GRTN=38 TEMP
ANALYZE,OVER FILL COLOR=255:153:153 FILS=0 GRTN=40 TEMP
ANALYZE,OVER FILL COLOR=255:167:167 FILS=0 GRTN=42 TEMP
ANALYZE,OVER FILL COLOR=255:186:186 FILS=0 GRTN=44 TEMP
ANALYZE,OVER FILL COLOR=255:202:202 FILS=0 GRTN=46 TEMP
ANALYZE,OVER FILL COLOR=255:222:222 FILS=0 GRTN=48 TEMP
ANALYZE,OVER FILL COLOR=255:232:232 FILS=0 GRTN=50 TEMP
basemap
analyze,CONT CINT=2 COLOR=100:100:100 LINE=2 TEMP

Page 2 of 2 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/