Decreasing (still to an acceptable level) the accuracy of the mode - less points per hour for the temperature, and less sample points in model_generator

This commit is contained in:
Nicolas Mounet 2021-06-04 15:00:02 +02:00
parent 65b9a72901
commit 50a36140ab
2 changed files with 2 additions and 2 deletions

View file

@ -22,7 +22,7 @@ minutes_since_midnight = typing.NewType('minutes_since_midnight', int)
# Used to declare when an attribute of a class must have a value provided, and
# there should be no default value used.
_NO_DEFAULT = object()
_SAMPLE_SIZE = 50000
_SAMPLE_SIZE = 10000
@dataclass
class FormData:

View file

@ -38,7 +38,7 @@ GenevaTemperatures_hourly = {
}
# same temperatures on a finer temperature mesh
GenevaTemperatures = {
month: GenevaTemperatures_hourly[month].refine(refine_factor=10)
month: GenevaTemperatures_hourly[month].refine(refine_factor=4)
for month,temperatures in Geneva_hourly_temperatures_celsius_per_hour.items()
}