Skip to content

ndewijer/lambda-temperature-rug

Repository files navigation

lambda-temperature-rug

Collaberative project between my wife and I.

A script to generate the lowest and highest temperature of a given KNMI datastation.

----------------------------------------------------------------
| Date       | Min.Temp | Min.Kleur   | Max.Temp | Max.Kleur   |
----------------------------------------------------------------
| 2023-03-01 |   -4.1°C | donkerblauw |    7.1°C | lichtblauw  |
| 2023-03-02 |    1.3°C | blauw       |    6.8°C | lichtblauw  |
| 2023-03-03 |    1.2°C | blauw       |    8.2°C | lichtblauw  |
| 2023-03-04 |    2.2°C | blauw       |    8.5°C | lichtblauw  |
| 2023-03-05 |    0.9°C | blauw       |    6.9°C | lichtblauw  |
| 2023-03-06 |    1.1°C | blauw       |    6.7°C | lichtblauw  |
| 2023-03-07 |   -2.5°C | donkerblauw |    5.4°C | blauw       |
| 2023-03-08 |   -2.7°C | donkerblauw |    3.7°C | blauw       |
| 2023-03-09 |    0.6°C | blauw       |    3.0°C | blauw       |
| 2023-03-10 |    0.0°C | blauw       |    2.6°C | blauw       |
| 2023-03-11 |   -3.0°C | donkerblauw |    7.3°C | lichtblauw  |
| 2023-03-12 |    2.0°C | blauw       |   11.1°C | lichtblauw  |
| 2023-03-13 |    9.1°C | lichtblauw  |   15.3°C | creme       |
| 2023-03-14 |    2.6°C | blauw       |   10.8°C | lichtblauw  |
| 2023-03-15 |    1.1°C | blauw       |    9.1°C | lichtblauw  |
| 2023-03-16 |    5.2°C | blauw       |   13.6°C | creme       |
| 2023-03-17 |    7.7°C | lichtblauw  |   15.8°C | creme       |
| 2023-03-18 |    7.3°C | lichtblauw  |   15.9°C | creme       |
| 2023-03-19 |    7.4°C | lichtblauw  |   11.2°C | lichtblauw  |
| 2023-03-20 |    6.9°C | lichtblauw  |    9.5°C | lichtblauw  |
| 2023-03-21 |    8.8°C | lichtblauw  |   13.2°C | creme       |
----------------------------------------------------------------

Then, with a very persistant wife who can do these kinda things, you end up with a temperature rug!

image

It can be run locally, through lambda or via an APIGateway. All of which present methods of passing variables to the script.

These being:

  1. Startdate
  2. Enddate
  3. Date ordering

I'm sure you'll figure it out.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published