#bin/bash
year=$1
list_pol="CO NH3 NMVOC NOx SOx PM10 PM2.5 PMcoarse"

indic_pol=""
for pol in $list_pol ; do
    indic_pol="$indic_pol&pollutants=$pol"
done

wget "http://webdab1.umweltbundesamt.at/cgi-bin/wedb2_controller.pl?State=scaled&years=${year}&datatype=grid50_csv&database=expert${indic_pol}&countries=%3AALLAREAS&sectors=%3AALL" -O emep_$1.txt

