fixing copy of subkeys; verified operation for irradiance and weather types