klementinum

package module
v0.0.0-...-2c638c5 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: MIT Imports: 2 Imported by: 0

README

klementinum

Displaying temperature records from Klementinum tower in Prague since 1775.

go run usage/web.go

Temperature data from files/PKLM_pro_portal-xlsx-data.csv were converted to the slice in the source file data/databig.go and returned by function data.TemperatureRecords() .


Written with Markdown

Documentation

Overview

* Functions for processing Klementinum temperature records.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DaysInYear

func DaysInYear(y int) int

func Equal_TStat

func Equal_TStat(a, b TStat) bool

func SVG_average

func SVG_average(width, height int, average float32, diffs []float32, tempRange float32) string

Types

type TAverageDifferences

type TAverageDifferences = struct {
	Average float32
	Diff    []float32
}

type TStat

type TStat = struct {
	Year1    int
	YearEnd  int
	MinT     data.TempRecord
	MaxT     data.TempRecord
	YearTavg []float32
}

func TemperatureStatistics

func TemperatureStatistics(allData []data.TempRecord) TStat

Directories

Path Synopsis
* Web application to display Klementinum temperature records, * especially avarage temperatures
* Web application to display Klementinum temperature records, * especially avarage temperatures

Jump to

Keyboard shortcuts

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