Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -121,20 +121,8 @@ PRUNING_PHASE_COEFFS = {
|
|
| 121 |
def get_moon_info(date_time: str) -> dict:
|
| 122 |
"""
|
| 123 |
Returns Moon's Zodiac position, phase, and fertility and pruning indices for the given date/time.
|
| 124 |
-
|
| 125 |
-
Args:
|
| 126 |
-
date_time (str): ISO 8601 formatted datetime (YYYY-MM-DDTHH:MM:SS)
|
| 127 |
-
|
| 128 |
-
Returns:
|
| 129 |
-
dict: {
|
| 130 |
-
"zodiac_position": "Leo 15°30'",
|
| 131 |
-
"moon_phase": "Waxing Gibbous",
|
| 132 |
-
"fertility_above_ground": 2.0,
|
| 133 |
-
"fertility_root_crop": 1.5,
|
| 134 |
-
"pruning": 2.0
|
| 135 |
-
}
|
| 136 |
It is observed that when Moon is in different Zodiac signs, the fertility of new plants and impact of pruning differs.
|
| 137 |
-
|
| 138 |
such as pruning can be more traumatic for the plant. Here:
|
| 139 |
Most fertile signs: Taurus, Pisces, Cancer - Plants are in the active growth phase, juices and nutrients actively circulate
|
| 140 |
in the plant, and it is best time for fertilizers, harvasting cutting, vaccination, rooting. Pruning during this period
|
|
@@ -163,6 +151,18 @@ def get_moon_info(date_time: str) -> dict:
|
|
| 163 |
1.0 - pruning is not recommended,
|
| 164 |
2.0 - allowed only minimum or sanitary pruning,
|
| 165 |
3.0 - most favorable time for pruning.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 166 |
"""
|
| 167 |
try:
|
| 168 |
# Parse input datetime and localize to UTC
|
|
|
|
| 121 |
def get_moon_info(date_time: str) -> dict:
|
| 122 |
"""
|
| 123 |
Returns Moon's Zodiac position, phase, and fertility and pruning indices for the given date/time.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 124 |
It is observed that when Moon is in different Zodiac signs, the fertility of new plants and impact of pruning differs.
|
| 125 |
+
When Moon is in fertile sign the plant is in the active phase, when all processes are particularly intense, and any intervention
|
| 126 |
such as pruning can be more traumatic for the plant. Here:
|
| 127 |
Most fertile signs: Taurus, Pisces, Cancer - Plants are in the active growth phase, juices and nutrients actively circulate
|
| 128 |
in the plant, and it is best time for fertilizers, harvasting cutting, vaccination, rooting. Pruning during this period
|
|
|
|
| 151 |
1.0 - pruning is not recommended,
|
| 152 |
2.0 - allowed only minimum or sanitary pruning,
|
| 153 |
3.0 - most favorable time for pruning.
|
| 154 |
+
|
| 155 |
+
Args:
|
| 156 |
+
date_time (str): ISO 8601 formatted datetime (YYYY-MM-DDTHH:MM:SS)
|
| 157 |
+
|
| 158 |
+
Returns:
|
| 159 |
+
dict: {
|
| 160 |
+
"zodiac_position": "Leo 15°30'",
|
| 161 |
+
"moon_phase": "Waxing Gibbous",
|
| 162 |
+
"fertility_above_ground": 2.0,
|
| 163 |
+
"fertility_root_crop": 1.5,
|
| 164 |
+
"pruning": 2.0
|
| 165 |
+
}
|
| 166 |
"""
|
| 167 |
try:
|
| 168 |
# Parse input datetime and localize to UTC
|