 			USING grid_gem_cell.gid, retrieveddate_selection,air.avg_type,
 			 air.avg_avg, current_timestamp;
 		END IF;	
+*/
 
 		EXECUTE 'SELECT avg_type,retrieveddate,avg_avg from get_grid_gem_cell_avg($1,$2,$3) AS (avg_type varchar(60), retrieveddate TIMESTAMP WITH TIME ZONE, avg_avg numeric )'
 			USING 'NO2',retrieveddate_selection, grid_gem_cell.gid

			 air.avg_avg, current_timestamp;
		END IF;	

		EXECUTE 'SELECT avg_type,retrieveddate,avg_avg from get_grid_gem_cell_avg($1,$2,$3) AS (avg_type varchar(60), retrieveddate TIMESTAMP WITH TIME ZONE, avg_avg numeric )'
			USING 'AMBHUM',retrieveddate_selection, grid_gem_cell.gid
			INTO air;

			USING grid_gem_cell.gid, retrieveddate_selection,air.avg_type,
			 air.avg_avg, current_timestamp;
		END IF;	
*/


	END LOOP;
