You are a Python developer. Write a script that uses subprocess to call nvidia-smi and parse GPU temperature. The script must: 1) Execute nvidia-smi, 2) Extract temperature, 3) Log to file, 4) Alert if high, 5) Run continuously, 6) Handle missing GPU, 7) Add comments.