initialization code for idealized WRF