summaryrefslogtreecommitdiff
path: root/szilagyi/_nomogram.py
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-09-08 18:40:56 +0200
committerAki <please@ignore.pl>2022-09-08 18:40:56 +0200
commitb5600cca811eabb5a731380d07f30ffabffe6ce1 (patch)
treecf983432f42379e9050b76500a0c679ff7aa4e11 /szilagyi/_nomogram.py
parent53ea2c8356f1d849f907343344c20b7a6c855ca7 (diff)
downloadszilagyi-b5600cca811eabb5a731380d07f30ffabffe6ce1.zip
szilagyi-b5600cca811eabb5a731380d07f30ffabffe6ce1.tar.gz
szilagyi-b5600cca811eabb5a731380d07f30ffabffe6ce1.tar.bz2
Defined maximums for the nomogram in the nomogram module
Diffstat (limited to 'szilagyi/_nomogram.py')
-rw-r--r--szilagyi/_nomogram.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/szilagyi/_nomogram.py b/szilagyi/_nomogram.py
index 4dcd141..024bfd0 100644
--- a/szilagyi/_nomogram.py
+++ b/szilagyi/_nomogram.py
@@ -4,6 +4,10 @@ from collections import deque
from . import _dataset
+MAX_TEMPERATURE_DIFFERENCE = 40
+MAX_CONVECTIVE_CLOUD_DEPTH = 50000
+
+
class NomogramEdgeCase(Exception):
def __init__(self, value):
self.value = value