-
Notifications
You must be signed in to change notification settings - Fork 1
/
install.py
30 lines (27 loc) · 1.12 KB
/
install.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# installer GTS
# Copyright 2020 Johanna Roedenbeck
# Distributed under the terms of the GNU Public License (GPLv3)
from weecfg.extension import ExtensionInstaller
def loader():
return GTSInstaller()
class GTSInstaller(ExtensionInstaller):
def __init__(self):
super(GTSInstaller, self).__init__(
version="1.1",
name='GTS',
description='Provides Gruenlandtemperatursumme (GTS), a kind of growing degree days',
author="Johanna Roedenbeck",
author_email="",
xtype_services='user.GTS.GTSService',
config={
'StdWXCalculate':{
'Calculations':{
'GTS':'software,archive',
'GTSdate':'software,archive',
'utcoffsetLMT':'software,archive',
'dayET':'prefer_hardware,archive',
'ET24':'prefer_hardware,archive',
'yearGDD':'software,archive',
'seasonGDD':'software,archive'}}},
files=[('bin/user', ['bin/user/GTS.py','bin/user/dayboundarystats.py','bin/user/barometer.py'])]
)