transform

package
v0.0.0-...-9cc5eaa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildLowResTable

func BuildLowResTable(searchField string, resolution int64, readCol string, writeCol string)

func GenerateLowResView

func GenerateLowResView(res int64, readCol string)

creates low res tables for 1 second, 6 second and 60 second data

func SailNjordConverter

func SailNjordConverter(file string)

func TransformToMongoFormat

func TransformToMongoFormat(ipfile string, collection string)

Types

type PositionData_t

type PositionData_t struct {
	Id       string             `bson:"_id,omitempty"`
	Ts       time.Time          `bson:"ts"`
	Metadata PositionMetadata_t `bson:"metadata"`
	Lat      float64            `bson:"lat"`
	Long     float64            `bson:"long"`
}

type PositionMetadata_t

type PositionMetadata_t struct {
	DataSource string `bson:"source"`
}

type State

type State int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL