ksmesopy 0.1.0__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.
ksmesopy/__init__.py ADDED
@@ -0,0 +1,98 @@
1
+ """
2
+ ksmesopy
3
+ =========
4
+ Python API for the Kansas Mesonet.
5
+ https://mesonet.k-state.edu
6
+ """
7
+
8
+ from ksmesopy.core import (
9
+ get_stations,
10
+ get_stations_active,
11
+ list_variables,
12
+ VARIABLES,
13
+ RENAME_PRESET,
14
+ _VWC_DEPS,
15
+ _ALL_VWC,
16
+ _VALID_FOR,
17
+ request_data,
18
+ request_data_multi,
19
+ rename_columns,
20
+ calibrate_vwc,
21
+ compute_soil_water_storage,
22
+ srad_to_mj,
23
+ atmospheric_pressure,
24
+ saturation_vapor_pressure,
25
+ actual_vapor_pressure,
26
+ vapor_pressure_deficit,
27
+ slope_saturation_vapor_pressure,
28
+ psychrometric_constant,
29
+ extraterrestrial_radiation,
30
+ net_radiation,
31
+ reference_et_penman_monteith,
32
+ reference_et_hargreaves,
33
+ )
34
+
35
+ from ksmesopy.utils import (
36
+ growing_degree_days,
37
+ heat_index,
38
+ wind_chill,
39
+ temperature_humidity_index,
40
+ )
41
+
42
+ from ksmesopy.charts import (
43
+ plot_temperature,
44
+ plot_precip,
45
+ plot_humidity,
46
+ plot_vpd,
47
+ plot_solar_radiation,
48
+ plot_wind,
49
+ plot_vwc,
50
+ plot_et,
51
+ )
52
+
53
+ __all__ = [
54
+ # Station metadata
55
+ "get_stations",
56
+ "get_stations_active",
57
+ # Variable catalogue
58
+ "list_variables",
59
+ "VARIABLES",
60
+ "RENAME_PRESET",
61
+ "_VWC_DEPS",
62
+ "_ALL_VWC",
63
+ "_VALID_FOR",
64
+ # Data retrieval
65
+ "request_data",
66
+ "request_data_multi",
67
+ "rename_columns",
68
+ # Soil processing
69
+ "calibrate_vwc",
70
+ "compute_soil_water_storage",
71
+ # Atmospheric helpers
72
+ "srad_to_mj",
73
+ "atmospheric_pressure",
74
+ "saturation_vapor_pressure",
75
+ "actual_vapor_pressure",
76
+ "vapor_pressure_deficit",
77
+ "slope_saturation_vapor_pressure",
78
+ "psychrometric_constant",
79
+ "extraterrestrial_radiation",
80
+ "net_radiation",
81
+ # Reference ET
82
+ "reference_et_penman_monteith",
83
+ "reference_et_hargreaves",
84
+ # Derived variables
85
+ "growing_degree_days",
86
+ "heat_index",
87
+ "wind_chill",
88
+ "temperature_humidity_index",
89
+ # Charts
90
+ "plot_temperature",
91
+ "plot_precip",
92
+ "plot_humidity",
93
+ "plot_vpd",
94
+ "plot_solar_radiation",
95
+ "plot_wind",
96
+ "plot_vwc",
97
+ "plot_et",
98
+ ]