fixed erroneous handling of RAINC and RAINNC variables