domainiac 9.0.0__py3-none-any.whl → 9.0.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,6 @@
1
+ import numpy as np
1
2
  import pandas as pd
3
+ from numpy.typing import NDArray
2
4
  from scipy import interpolate
3
5
 
4
6
  from domainiac.functions import conversions
@@ -21,7 +23,7 @@ def interpolate_temperature(times: pd.Series, temperature: pd.Series) -> RealFun
21
23
 
22
24
  f = interpolate.make_interp_spline(x, y, k=1)
23
25
 
24
- def estimate(times):
26
+ def estimate(times: pd.Series) -> NDArray[np.float64]:
25
27
  x = conversions.datetime_to_float(times)
26
28
  return f(x)
27
29
 
@@ -1,4 +1,6 @@
1
+ import numpy as np
1
2
  import pandas as pd
3
+ from numpy.typing import NDArray
2
4
  from scipy import interpolate
3
5
 
4
6
  from domainiac.functions import conversions
@@ -23,7 +25,7 @@ def interpolate_wind_components(
23
25
 
24
26
  f = interpolate.make_interp_spline(x, y, k=1)
25
27
 
26
- def estimate(times):
28
+ def estimate(times: pd.Series) -> NDArray[np.float64]:
27
29
  x = conversions.datetime_to_float(times)
28
30
  return f(x)
29
31
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: domainiac
3
- Version: 9.0.0
3
+ Version: 9.0.1
4
4
  Summary: Package for working with Energinet data, but with specialized functions used for Enigma.
5
5
  Author: Team Enigma
6
6
  Author-email: gridop-enigma@energinet.dk
@@ -3,9 +3,9 @@ domainiac/functions/__init__.py,sha256=ZHNbj1aWRnUgM6TAlQqGLv2r-GdAvoaTrPIin1w5D
3
3
  domainiac/functions/conversions.py,sha256=RZU5cpHD4uBHeqFfiFplJCv5gN-xzEHvQCKrizi1hMA,490
4
4
  domainiac/functions/interpolation.py,sha256=NSKoejDOUmHEIqxj7oFFv-gf94ccZb_weYGjU_z8Y_U,3707
5
5
  domainiac/functions/solar.py,sha256=nU9ivDLA4gE0CTMttCb_7ztoQUQicWNe_11ZqVC7d-Y,2249
6
- domainiac/functions/temperature.py,sha256=r5ot06Wjm9MoY8ZlZcZPSie-HIvIMOm6rspMu-WJniE,753
6
+ domainiac/functions/temperature.py,sha256=jUmkt5gOf_0NcLUUVXTofWSRK2om5-_S3-qA6zuvtZU,839
7
7
  domainiac/functions/typing.py,sha256=gOvHUYIWSEv_aMttY1nMEyh-pdQKMJ8O31x9y47-U5U,229
8
- domainiac/functions/wind.py,sha256=CXi90cXBUhudZry19YdCiEZzWNQNMRiu75rUz0wtP_s,803
8
+ domainiac/functions/wind.py,sha256=rDhYKO81ePSw7hhKijhpmmlqUXSiikDcWL1Qa7evXjA,889
9
9
  domainiac/managers/__init__.py,sha256=7N-iEsFidupPi1u3EURfeWAoQ-NdrzAwR13faA_VWUs,298
10
10
  domainiac/managers/masterdata_manager.py,sha256=_xIHEWVYssdvC2VMujvR0ANXCI_Er3qOlfAX427yimk,2298
11
11
  domainiac/managers/metering_manager.py,sha256=MauMncY_yaVPx8Y9CCD8nJiE1BGHFKTVC1bOtiyl2pI,1701
@@ -19,6 +19,6 @@ domainiac/modeling/nwp.py,sha256=PolrBdQn8W-e1M0_pefvmLn2mr4HT0NqlYlkyCV0dds,438
19
19
  domainiac/modeling/plant.py,sha256=Y0_Q6V6Lj3irJh5z-49r5gFJdD4Xl_pfHIMUhdaJVUI,2226
20
20
  domainiac/wrappers/__init__.py,sha256=vZOw9maXgVoAvudZqioD-GTPkgPI6fm7_CUELQcR_-g,43
21
21
  domainiac/wrappers/cache_wrapper.py,sha256=jDg-Lt_y-YzItyP-74tGULOxb07s_CcutmOHP1Ie00Q,355
22
- domainiac-9.0.0.dist-info/METADATA,sha256=K7OCYWE92eQCx4Xjsbzs7kpY-qH7JSO_tEvnv9g6pp0,549
23
- domainiac-9.0.0.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
24
- domainiac-9.0.0.dist-info/RECORD,,
22
+ domainiac-9.0.1.dist-info/METADATA,sha256=uzCc1pbf6P-e2iOsVVEfurF-Oy1PMcP4b7DQGIWOmjE,549
23
+ domainiac-9.0.1.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
24
+ domainiac-9.0.1.dist-info/RECORD,,