18.07.2014 Views

Modelado prediccion enfermedades cultivos - edUTecNe ...

Modelado prediccion enfermedades cultivos - edUTecNe ...

Modelado prediccion enfermedades cultivos - edUTecNe ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Modelado</strong> para la predicción de <strong>enfermedades</strong> en <strong>cultivos</strong> de alto valor comercial<br />

/* Lectura de datos meteorológicos diarios */<br />

DATA C1;INFILE 'E:\concordia.dat';<br />

INPUT ANIO dj tmax tmin prec hrd;<br />

if anio>=2008 then output;<br />

run;<br />

/* Día juliano inicial: 243. Después de acumular 170 grados día<br />

(Temperatura base: 12,5°C) a partir del 1 de julio */<br />

data congd; set c1;<br />

if anio=2008 and dj=183 then gd=0; if anio=2009 and dj=182 then gd=0;<br />

TD=(Tmax+Tmin)/2;RETAIN GD ;<br />

IF TD>12.5 THEN GD=GD+(TD-12.5);<br />

IF GD170 THEN DO;if djf=DJ-1 then do;output;end;end;<br />

run;<br />

/* Valores estimados de severidad cada 14 días a partir del dj:243 */<br />

data scon2; set C1;keep anio dj t ys tid ;<br />

if anio=2008 then delete;if anio=2009 and dj

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!