Filter Air coming through window
You could Have an HVAC company install an electronic air cleaner with a charcoal pre or post filter in that window. This would remove most if not all of the smell, but would cost a significant amount. You could also install an exhaust fan in that window if there is another window you could open to allow air in for the required ventilation, say from the front or side of the house. Blowing air out would not allow the smell in. Regular cloth coverings or filters in a window will not take out the smells.