ROPO
Loading...
Searching...
No Matches
fmi_meteosat.c
1
22#include "fmi_image.h"
23
24Byte celsius_to_meteosatbyte(Celsius c){
25 int ans;
26 ans=128+c;
27 if (ans<0) ans=0;
28 if (ans>255) ans=255;
29 return (Byte)ans;
30}
31
32Celsius meteosatbyte_to_celsius(Byte g){
33 return (Celsius)(g-128);
34}