We would like to independently compute ETr and ETo from station data. However, some days are missing station data, so we'd also like to validate this data with the Spatial CIMIS output. However, not every input is available via the web interface, so we run this script on the cimis computer.
This data is available in a Google Sheet
inputs='Tn@,Tx@,Tm@,Tdew@,U2@,es@,ea@,Rs@,Rso@,Rnl@,ETo@,psychrometric_constant@2km';
name[47]='brentwood';
name[140]='twitchell';
loc[47]='-145702,-8519';
loc[140]='-145276,12361';
for station in 47 140; do
echo ${name[$station]};
csv=${name[$station]}.csv;
echo "station,date,x,y,,$inputs" > $csv;
en=${loc[$station]};
for d in `seq 0 900`; do
date=`date --date="2014-01-01 + $d days" --iso`
r.what fs=',' input=`echo $inputs | sed -e "s/@,/@$date,/g"` east_north=$en | sed -e "s/^/$station,$date,/"
done >> $csv;
done;
Here are the psuedo-equations used to calculate ETo.
We would like to independently compute ETr and ETo from station data. However, some days are missing station data, so we'd also like to validate this data with the Spatial CIMIS output. However, not every input is available via the web interface, so we run this script on the cimis computer. This data is available in a Google Sheet
Here are the psuedo-equations used to calculate ETo.