Update weas.cpp