Skip to content

Commit

Permalink
additions to documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
roe-dl committed Nov 6, 2022
1 parent 491fefd commit 043ccf2
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 3 deletions.
19 changes: 19 additions & 0 deletions README-de.md
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,25 @@ Beispiele:
#end for
</table>
```
* Sonnenaufgang, Sonnenuntergang und Tageslichtlänge unter
Verwendung der `timestamp`-Option
```
<table>
<tr>
<th>sunrise</th>
<th>sunset</th>
<th>daylight</th>
</tr>
#for $dd in $week.days
<tr>
<td>$dd.format("%A")</td>
<td>$daylight(timestamp=$dd).start</td>
<td>$daylight(timestamp=$dd).end</td>
<td>$daylight(timestamp=$dd).length</td>
</tr>
#end for
</table>
```


## Algorithmus:
Expand Down
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,24 @@ Examples:
#end for
</table>
```
* sunrise, sunset, and duration of daylight using the `timestamp` option
```
<table>
<tr>
<th>sunrise</th>
<th>sunset</th>
<th>daylight</th>
</tr>
#for $dd in $week.days
<tr>
<td>$dd.format("%A")</td>
<td>$daylight(timestamp=$dd).start</td>
<td>$daylight(timestamp=$dd).end</td>
<td>$daylight(timestamp=$dd).length</td>
</tr>
#end for
</table>
```

## Algorithm:

Expand Down
2 changes: 1 addition & 1 deletion bin/user/GTS.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
"""

VERSION = "0.8a5"
VERSION = "0.8b1"

# deal with differences between python 2 and python 3
try:
Expand Down
2 changes: 1 addition & 1 deletion bin/user/dayboundarystats.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"""

VERSION = "0.8a5"
VERSION = "0.8b1"

# deal with differences between python 2 and python 3
try:
Expand Down
3 changes: 3 additions & 0 deletions changelog
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,6 @@
0.8a5 04nov2022
* rename option "day" to "timestamp"
* get correct temperature and barometer for calculating sunrise and sunset in $daylight
* property "length"
0.8b1 06nov2022
* docu
2 changes: 1 addition & 1 deletion install.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def loader():
class GTSInstaller(ExtensionInstaller):
def __init__(self):
super(GTSInstaller, self).__init__(
version="0.8a5",
version="0.8b1",
name='GTS',
description='Provides Gruenlandtemperatursumme (GTS), a kind of growing degree days',
author="Johanna Roedenbeck",
Expand Down

0 comments on commit 043ccf2

Please sign in to comment.