comparison pkg/imports/agm.go @ 1772:70c4dc694d61

Gauge measurement import: Added a rescale function that brings all numerical values into cm.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 11 Jan 2019 11:36:34 +0100
parents 807569b08513
children fcb0106ec510
comparison
equal deleted inserted replaced
1771:88b8da513944 1772:70c4dc694d61
16 import ( 16 import (
17 "bufio" 17 "bufio"
18 "context" 18 "context"
19 "database/sql" 19 "database/sql"
20 "encoding/csv" 20 "encoding/csv"
21 "errors"
21 "log" 22 "log"
22 "os" 23 "os"
23 "path/filepath" 24 "path/filepath"
24 25
25 "gemma.intevation.de/gemma/pkg/common" 26 "gemma.intevation.de/gemma/pkg/common"
110 111
111 for i, f := range headers { 112 for i, f := range headers {
112 log.Printf("%d: %s\n", i, f) 113 log.Printf("%d: %s\n", i, f)
113 } 114 }
114 115
115 return nil, nil 116 return nil, errors.New("Not implemented, yet!")
116 } 117 }