Updated SQL to use ea_level and ea_rloi - api uses site_id i.e. 1238TH