About Ofotfjorden.no
Ofotfjorden.no is a webcam by the Ofotfjord, north of Narvik in Northern Norway. The camera takes a picture every five minutes, day and night, all year. The first picture in the archive is from May 2014.
The camera
The pictures are taken with a DSLR, a Canon EOS 1100D, controlled by a Raspberry Pi. A DSLR has a large sensor and can use long exposures. That gives pictures with more detail and less noise than an ordinary webcam, most of all in the dark.
The right light, day and night
After each picture the program measures how bright it came out, and adjusts the shutter speed, aperture and ISO before the next one. It adjusts in small steps, so the light does not jump in the timelapse. The height of the sun above the horizon is part of the calculation: night should look like night, not like a grey day.
At its darkest the shutter stays open for 30 seconds. The numbers under the live image show the settings of the picture you see: shutter speed, aperture, ISO, sun elevation and how much the next picture will be adjusted.
From camera to web page
Each picture is sent to a server that crops it to 16:9 and makes it in several sizes, up to 4K. The picture is usually on the web page a few seconds after it was taken. The page fetches the new picture itself, so there is no need to reload.
Timelapse and archive
Every 15 minutes the pictures from the last 24 hours are put together into a timelapse. Each day also gets its own film in the archive, where a day becomes about half a minute.
Every single picture is kept, so the films can be made again in better quality later.
The light through the year
Narvik lies north of the Arctic Circle. From late May to mid-July the sun never sets, and from early December to early January it does not rise above the horizon.
The rest of the year the light changes fast, and from September to April the northern lights can show on clear nights.