The call to scan_for() needs to be just a bit different:
list($glhigh,$gllow,$glprecip) = scan_for($worldStations,'Austria','',$tUOM,$rUOM);
gen_display('Austria'."",$glhigh,$gllow,$glprecip);
list($glhigh,$gllow,$glprecip) = scan_for($worldStations,'Australia','',$tUOM,$rUOM);
gen_display('Australia',$glhigh,$gllow,$glprecip);
The 3rd argument to the call is the abbreviation for a USA State name, otherwise it has to be '' for a country name. Only one country name per call, with a corresponding gen_display() just after it.