Visiting Reykjavik

Geodesy at work in Reykjavik, Iceland

Iceland
My visit to Reykjavik, this time – mid September 2010, was work related.
My original working plan was to make a gravity tie and then demobilize a sea gravimeter.
Prior to my arrival, my contact person at Iceland had informed me that there would possible be a strike by the ship engineers starting sometime after they have arrived in the harbor. However, there was no information when the strike would begin.

After arriving at Keflavik airport, I took a taxi to the Reykjavik harbor to pick up the land gravimeter and do the gravity tie before the boat arrived. However, the boat was already there.
So the measurements of the gravity tie was postponed and I started demobilizing the sea gravimeter hoping to be finished before the strike would begin.
Working as fast as possible, after less than one hour, I was ready to put the instrument into the wooden travel boxes and bring then off the ship.

Then, the strike started!

So, instead, I did the gravity tie, connecting the measurements made by the sea gravimeter to land measurements.

Gravity tie at the harbour

Find minimum and maximum using AWK

Let’s assume you want to find the minimum and/or maximum of a column of numbers in a given file using AWK.

Assume we have an input file foo with f.ex. line number in first column and in the second ($2) and third column ($3 in awk) we have the values of interest.

File: foo

1 2 40
2 3 23
3 15 -12
4 8 -1
5 11 0

Use the following awk commando find minimum and maximum of the columns of interest:

awk ‘NR == 1 {max=$2 ; min=$2} $2 >= max {max = $2} $2 <= min {min = $2} END { print "Min: "min,"Max: "max }' foo

or

awk ‘BEGIN{ max = -999999999 ; min = 9999999999 } $2 > max {max = $2} $2 < min {min = $2} END{ print "Min: ",min, "Max: ",max }' foo

The result will be for column 2:

Min: 2 Max: 15

and for column 3:

Min: -12 Max: 40

Standard deviation

Here you may see how to calculate the standard deviation using AWK.

Average or arithmetic mean

Here you may see how to calculate the average or arithmetic mean using AWK.

Harstad og sommersolverv

Jeg fikk et lite oppdrag her om dagen.
Rundt sommersolverv skal noen gjøre filmopptak i Harstad.
I den forbindelse var det ønsket å finne når Solen står i nord og sør for 21. og 22. juni 2010. Altså for dagene rundt sommersolverv.

Harstad kirke Nord Sør
21.06.2010 00:55 12:55
22.06.2010 00:56 12:56

Sommersolverv inntreffer 13:28 (norsk sommertid!) den 21. juni 2010. Dette gjelder for hele verden!

Ønsker du å få beregnet Solens posisjon, eller hvordan skyggen beveger seg over tomten din pga naboens nybygg?
Da kan jeg beregne dette for deg!

Ta kontakt på: ove at azimuth dot biz
Eller legg igjen en beskjed i kommentarfeltet.

Where to Eat Ice Cream in Copenhagen

Paradis
Style: italian
Location: several location in Copenhagen, among other at Sankt Hans Torv 24, 2200 Kbh N.

Is á Bella
Style: Italian
Location: Smallegade 40 Frederiksberg C, 38 19 39 90

Pinocchio
Style: Italian
Location: Amagerbrogade 99, Amager, 32 97 93 93

Lydolphs Isbar
Style: Speciality is ‘Lydolpher’ complet with three bowl of ice cream, two flødeboller, lots of soft ice and more goodies on top of that.
Location: Strandvejen 167, 2900 Hellerup

Rubber Duck Frozen Yoghurt
Style: Youghurt Ice Cream. Contents only 0,4 procent fat.
Location: Birkegade, 1 2200 København

Hansen Fløde-is
Style: Old-school ice cream.
Location: Sold at Frederiksborggades Is & Konfekture, Frederiksborggade 29, 1360 København K.

Mama Che Gelato
Style: Italian. Owned by italians.
Location: Nansensgade 62, st. tv, 1366 København K.

Ismageriet
Style: Organic ice cream. Local fruit and berries used.
Location: Kongelundsvej 116, 2300 København S.

Flamingo Is
Style: Ice Cream made by Markus Grigo.
Location: Gammel Kongevej 108, 1850 Frederiksberg.

Isimperiet
Style: It’s selling ice cream from Hansen Flødeis.
Location: Enghavevej 56, København K.

Siciliansk Is
Style: Old-school italian ice cream.
Location: Skydebanegade 3, 1709 København V

Isværket
Style: Organic. Importet from Thorkil Boisens Boisen ice cream fabric at Bornholm.
Location: Stefansgade 15, 2200 København N.

Frederiksberg Chokolade
Style: Speciality ice cream made of beer.
Location: Frederiksberg Alle 64, 1820 Frederiksberg C

Oswalds Isbar
Style: Ice cream from Polar is.
Location: Værnedamsvej 3, 1819 Frederiksberg C.

Granola
Style: Ice cream from Vebbestrup Mejeri.
Location: Værnedamsvej 5, 1819 Frederiksberg C.

Frost Factory
Location: Sankt Hans Torv and Nordre Frihavnsgade 2, 2100 København Ø.

Bryggen 11
Style: Organic.
Location: Islands Brygge 11, 2300 København S.