SergeyO7 commited on
Commit
bc12e9e
·
verified ·
1 Parent(s): 00a7c75

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +19 -18
app.py CHANGED
@@ -121,12 +121,25 @@ 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
- 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
129
- can lead to:
 
 
 
 
 
 
 
 
 
 
 
130
  Increased sap production from the cut points
131
  Increased vulnerability to infections
132
  Delayed wound healing
@@ -136,21 +149,9 @@ def get_moon_info(date_time: str) -> dict:
136
  Pinching the shoots
137
  Removing dead branches
138
  Sanitary treatment
139
- Conditionally fertile: Scorpio
140
- Neutral: Aries, Leo, Sagittarius, Capricorn
141
- Conditionally sterile: Libra
142
- Sterile: Gemini, Virgo, Aquarius
143
-
144
- Fertility indices ranges from 0 to 3 where proportionaly
145
- 0 - minimal expected fertility,
146
- 3.0 - most favorable fertility for platining,
147
- and depends on type of plant (root crop or produce above ground).
148
-
149
- Pruning indices ranges from 0 to 3 where proportionaly:
150
- 0 - pruning is not recommended as it causes most damage to tree,
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)
 
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
+ The fertility and pruning indices are calculated as sum of sign and phase fertilities of the Moon position.
126
+ It is observed that when Moon is in different Zodiac signs, the fertility of new plants and impact of pruning differs.
127
  When Moon is in fertile sign the plant is in the active phase, when all processes are particularly intense, and any intervention
128
  such as pruning can be more traumatic for the plant. Here:
129
  Most fertile signs: Taurus, Pisces, Cancer - Plants are in the active growth phase, juices and nutrients actively circulate
130
+ in the plant, and it is best time for fertilizers, harvasting cutting, vaccination, rooting.
131
+ Conditionally fertile: Scorpio
132
+ Neutral: Aries, Leo, Sagittarius, Capricorn
133
+ Conditionally sterile: Libra
134
+ Sterile: Gemini, Virgo, Aquarius
135
+
136
+ Fertility indices ranges from 0.0 to 3.0 where proportionaly
137
+ 0 - minimal expected fertility
138
+ 3.0 - most favorable fertility for platining,
139
+ and depends on type of plant (root crop or produce above ground).
140
+
141
+ Pruning indices ranges from 0 to 3 where proportionaly:
142
+ 0 - pruning is not recommended as it causes most damage to tree and can lead to:
143
  Increased sap production from the cut points
144
  Increased vulnerability to infections
145
  Delayed wound healing
 
149
  Pinching the shoots
150
  Removing dead branches
151
  Sanitary treatment
152
+ 1.0 - pruning is not recommended,
153
+ 2.0 - allowed only minimum or sanitary pruning,
154
+ 3.0 - most favorable time for pruning.
 
 
 
 
 
 
 
 
 
 
 
 
155
 
156
  Args:
157
  date_time (str): ISO 8601 formatted datetime (YYYY-MM-DDTHH:MM:SS)