MeteoVegadelCodorno | inicio2
Información meteorológica en tiempo real de Vega del Codorno y alrededores. Predicciones, estado de las carreteras, webcam en directo, datos climáticos...
meteo, Vega, del, Codorno, meteovegadelcodorno, nacimiento, río, cuervo, serranía, cuenca, tiempo, nieve, temperatura, pueblo, mas, frío, españa, meteorología, hielo, cueva, valle, nieve, san, felipe, mogorrita, altitud, jucar, río, tajo, alto, tajo, Lagunillos, Fuertescusa, Poyatos, Tragacete, Beteta, Griegos, Zafrilla, Guadalaviar, uña, Huelamo, Masegosa, Lagunaseca, santa, maría, del, val, fotos, imágenes, Majadas, Cañizares, Cañamares, solan, de, cabras, Hosquillo, Ciudad, encantada, Abarracín, Peralejos, de, las, truchas, Vega del Codorno, vega codorno, nacimiento rio cuervo, Monumento Natural Nacimiento Río Cuervo, Serranía de Cuenca, Parque Natural Alto Tajo, Parque Cinegético El Hosquillo, gastronomía de la zona, alojamientos, restaurantes, rutas, turismo rural, turismo rural cuenca, turismo, senderismo cuenca, rutas cuenca, gastronomía cuenca, gfs, ensembles, ecmwf, sondeo, meteoblue, predicción, previsión, alertas, aemet, meteovega, precipitaciones, tiempo serrania cuenca
6830
page-template,page-template-full_width,page-template-full_width-php,page,page-id-6830,ajax_fade,page_not_loaded,,qode-theme-ver-6.0,wpb-js-composer js-comp-ver-5.0.1,vc_responsive

inicio2

[insert_php]

$archivo = file_get_contents(‘http://meteovegadelcodorno.com/meteohub/clientraw.txt’);
$archivo2 = file_get_contents(‘http://meteovegadelcodorno.com/meteohub/clientrawextra.txt’);

$exp = explode(” “, $archivo);
$exp2 = explode(” “, $archivo2);
$hora = $exp[29];
$minuto = $exp[30];
$dia = $exp[35];
$mes = $exp[36];
$temp = $exp[4];
$hum = $exp[5];
$viento = $exp[1];
$dir = $exp[3];
$rate = $exp[10];
$bar = $exp[6];
$preci = $exp[7];
$tmax = $exp[46];
$tmin = $exp[47];
$tdmax = $exp[138];
$tdmin = $exp[139];
$preci2 = substr(“$preci”, 0, -1);
$td = $exp[72];
$e = 6.1078*pow(10, ((7.5*$td)/(237.3+$td)));
$ei = 6.1078*pow(10, ((9.321*$td)/(261.24+$td)));
$ew = 6.1078*pow(10, ((7.5*$temp)/(237.3+$temp)));
$ewi = 6.1078*pow(10, ((9.321*$temp)/(261.24+$temp)));
$ra = (0.622*$e)/($bar-$e);
$hq = $ra/(1+$ra)*1000;
$ha = ($e/(($temp+273.15)*0.4615))*1000;
$basenubes = $exp[73];
$barotrend = $exp[50];
$abs = round($ha, 1);
$presv = round($e, 1);
$hume = round($hq, 1);
$preciayer = $exp[19];
$rate = $exp[10];
$precimes = $exp[8];
$preciaño = $exp[9];
$tminano = $exp2[193];
$tmaxano = $exp2[187];
$tminhis = $exp2[319];
$tmaxhis = $exp2[313];
$maxbaro = $exp[131];
$minbaro = $exp[132];
$minmesbaro = $exp2[85];
$maxmesbaro = $exp2[91];
$minañobaro = $exp2[211];
$maxañobaro = $exp2[217];
$minhistbaro = $exp2[337];
$maxhistbaro = $exp2[343];
$racha = round($exp[2]*1.852,1);
$maxracha = round($exp[71]*1.852,1);
$minutoracha = round($exp[140]*1.852,1);
$horaracha = round($exp[133]*1.852,1);
$rachames = round($exp2[73]*1.852,1);
$rachaaño = round($exp[199]*1.852,1);

if ($exp[50] ==0) {
$trend = ““;
} elseif ($exp[50] < 0) { $trend = "“;
} else {
$trend = ““;
}

if ($dir>=0 && $dir<=11.25) { $dirwind = "“;
} elseif ($dir>11.25 && $dir<=33.75) { $dirwind = "“;
} elseif ($dir>33.75 && $dir<=56.25) { $dirwind = "“;
} elseif ($dir>56.25 && $dir<=78.85) { $dirwind = "“;
} elseif ($dir>78.85 && $dir<=101.25) { $dirwind = "“;
} elseif ($dir>101.25 && $dir<=123.75) { $dirwind = "“;
} elseif ($dir>123.75 && $dir<=146.25) { $dirwind = "“;
} elseif ($dir>146.25 && $dir<=168.75) { $dirwind = "“;
} elseif ($dir>168.75 && $dir<=191.25) { $dirwind = "“;
} elseif ($dir>191.25 && $dir<=213.75) { $dirwind = "“;
} elseif ($dir>213.75 && $dir<=236.25) { $dirwind = "“;
} elseif ($dir>236.25 && $dir<=258.75) { $dirwind = "“;
} elseif ($dir>258.25 && $dir<=281.25) { $dirwind = "“;
} elseif ($dir>281.25 && $dir<=303.75) { $dirwind = "“;
} elseif ($dir>303.75 && $dir<=326.25) { $dirwind = "“;
} elseif ($dir>326.25 && $dir<=348.75) { $dirwind = "“;
} else {
$dirwind = ““;
}

[/insert_php]

[insert_php] echo “$temp ºC“;[/insert_php]
[insert_php] echo “$tmax ºC“;[/insert_php]
[insert_php] echo “$tmin ºC“;[/insert_php]
[insert_php] echo “Mes“;[/insert_php]
[insert_php] echo “$exp2[61] ºC“;[/insert_php]
[insert_php] echo “$exp2[67] ºC“;[/insert_php]
[insert_php] echo “Año“;[/insert_php]
[insert_php] echo “$tmaxano ºC“;[/insert_php]
[insert_php] echo “$tminano ºC“;[/insert_php]
[insert_php] echo “Histórico“;[/insert_php]
[insert_php] echo “$tmaxhis ºC“;[/insert_php]
[insert_php] echo “$tminhis ºC“;[/insert_php]
[insert_php] echo “$bar hPa“;[/insert_php]
[insert_php] echo “$maxbaro hPa“;[/insert_php]
[insert_php] echo “$minbaro hPa“;[/insert_php]
[insert_php] echo “Mes“;[/insert_php]
[insert_php] echo “$maxmesbaro hPa“;[/insert_php]
[insert_php] echo “$minmesbaro hPa“;[/insert_php]
[insert_php] echo “Año“;[/insert_php]
[insert_php] echo “$maxañobaro hPa“;[/insert_php]
[insert_php] echo “$minañobaro hPa“;[/insert_php]
[insert_php] echo “Histórico“;[/insert_php]
[insert_php] echo “$maxhistbaro hPa“;[/insert_php]
[insert_php] echo “$minhistbaro hPa“;[/insert_php]