VedAstro / VedAstro.Python

A Python Libray for Vedic Astrology calculations.
https://vedastro.org
MIT License
24 stars 18 forks source link

Different DASA Data from other apps #18

Open Pablo-korea opened 1 month ago

Pablo-korea commented 1 month ago

@sengiv Dear sengiv I have created Dasha data, referring to the API and following the structure as shown below.

from vedastro import * from datetime import datetime import json

set location

geolocation = GeoLocation("Gimhae International Airport", 128.93640137086572, 35.1800774)

set time hh:mm dd/mm/yyyy zzz

birthTime = Time("21:30 23/02/1972 +09:00", geolocation)

run calculator to get result

calcResult = Calculate.DasaForLife(birthTime, 1)

display results

Tools.Print(calcResult)

The result is below. "Mars": { "Type": "Dasa", "Start": "21:30 23/02/1972 +09:00", "End": "00:30 14/10/1973 +09:00", "DurationHours": 14355.0, "DurationText": "1.7 years", "TechnicalName": "AriesMarsPD1", "Lord": "Mars", "ParentLord": "Empty", "Description": " Aries - Acquisition of wealth, increase in reputation and respect, much gain. ", "Nature": "Good" }, "Rahu": { "Type": "Dasa", "Start": "01:30 14/10/1973 +09:00", "End": "00:30 12/07/1991 +09:00", "DurationHours": 155519.0, "DurationText": "18 years", "TechnicalName": "CapricornRahuPD1", "Lord": "Rahu", "ParentLord": "Empty", "Description": " Capricorn - Sudden promotions to higher positions, recognition of one's merits by the State and rulers, marriage festivities at home, increase of wealth and general prosperity. ", "Nature": "Good" }, "Jupiter": { "Type": "Dasa", "Start": "01:30 12/07/1991 +09:00", "End": "00:30 19/04/2007 +09:00", "DurationHours": 138239.0, "DurationText": "16 years", "TechnicalName": "SagittariusJupiterPD1", "Lord": "Jupiter", "ParentLord": "Empty", "Description": " Sagittarius - Many sons, much wealth, success in every undertaking, increase in relations and family members. widespread fame and perfect happiness. ", "Nature": "Good" }, "Saturn": { "Type": "Dasa", "Start": "01:30 19/04/2007 +09:00", "End": "00:30 09/01/2026 +09:00", "DurationHours": 164159.0, "DurationText": "19 years", "TechnicalName": "TaurusSaturnPD1", "Lord": "Saturn", "ParentLord": "Empty", "Description": " Taurus - Success and gains in agricultural operations, much prosperity to the cattle and other domestic animals, great income, and access to things desired. ", "Nature": "Good" }, "Mercury": { "Type": "Dasa", "Start": "01:30 09/01/2026 +09:00", "End": "00:30 12/10/2042 +09:00", "DurationHours": 146879.0, "DurationText": "17 years", "TechnicalName": "AquariusMercuryPD1", "Lord": "Mercury", "ParentLord": "Empty", "Description": " Aquarius - Acquisition of paraphernalia, access to good and much wealth, indulging in a pleasurely life and good fame and name. ", "Nature": "Good" }, "Ketu": { "Type": "Dasa", "Start": "01:30 12/10/2042 +09:00", "End": "00:30 05/09/2049 +09:00", "DurationHours": 60479.0, "DurationText": "7 years", "TechnicalName": "CancerKetuPD1", "Lord": "Ketu", "ParentLord": "Empty", "Description": " Cancer - Many dangers, disturbances from his place and a period of exile, serious sickness to wife, parents or children, and if badly afflicted, their death, quarrels with friends, initiation into the mysteries of philosophical knowledge. ", "Nature": "Good" }, "Venus": { "Type": "Dasa", "Start": "01:30 05/09/2049 +09:00", "End": "00:30 23/05/2069 +09:00", "DurationHours": 172799.0, "DurationText": "20 years", "TechnicalName": "PiscesVenusPD1", "Lord": "Venus", "ParentLord": "Empty", "Description": " Pisces - High political power and great success, promotion to responsible office, acts of charity and generosity, exercise of prudence in official matters and perfect happiness in domestic life and smooth-sailing in every respect. ", "Nature": "Good" }, "Sun": { "Type": "Dasa", "Start": "01:30 23/05/2069 +09:00", "End": "21:30 29/01/2072 +09:00", "DurationHours": 23564.0, "DurationText": "2.7 years", "TechnicalName": "AquariusSunPD1", "Lord": "Sun", "ParentLord": "Empty", "Description": " Aquarius - Mental worries, loss or illness to wife, loss of property and wealth. ",
"Nature": "Bad" } }

However, when I review the results, I notice that the dates differ slightly compared to the data from other apps.

I have compared the data from both Astrosage and Jyotish, but there are slight differences in the periods.

Could you please advise on how to resolve this issue? image image

sengiv commented 1 month ago

You're freaking genius πŸ‘ 😍 πŸ™Œ Even I never thought it could be done in Python...seriously! I love your enthusiasm πŸ₯°

3 possible reason (ordered from most likely to least):

  1. AYANAMSA : VedAstro sometimes defaults to Raman. (I changed default to Lahiri ChitraPaksa, sometime ago but not sure if change is all the way) You'll have to set ayanamsa to match the other websites by Calculate.Ayanamsa = Ayanamsa....... place that line at the top of your code, like a "setting" before calling Calculate. (Also good practice to set ayanamsa explicitly to make code clear, rather than relying on defaults). FYI : there are 3 versions of Lahiri!!! Beware, you need to be absolutely sure which version the other website is using.

  2. "SolarYearTimeSpan" : the comments in the code explain perfectly what this is. So please refer to screenshot below. I think you should set it to 365.25 (I'M REALLY NOT SURE, please do some research & let me know 😁). Also set this the same way as Ayanamsa before calling calculate.

image

  1. Faulty code.... @cpjois reported sometime ago that the dasa & sub dasa dates were being mixed up, and the method that puts the whole thing together has to be rewritten (i have not dug into this issue, below are some reports by cpjois for diagnosing🩺, please let me know if you see a connection)

image

image

image

PS: @cpjois if you're reading this, please don't get mad at me for posting your PM here, i was afraid it would get lost in WhatsApp & Slack was hiding stuff that got old...so i put it here so another brain 🧠 can help "solve the issue", since that is the aim 😁😁

Pablo-korea commented 1 month ago

@sengiv First I code AYANAMSA refer this.

class Ayanamsa(Enum): """ Represents different Ayanamsa values.

Enum Members:
- Yukteshwar: The meeting of V.E. with the first point of Aries took place in 499 A.D.
- Raman: B.V.Raman accepted 397 AD as the Zero Ayanamsa Year.
- Lahiri: N.C.Lahiri took 285 AD as the Zero Ayanamsa Year.
- Krishnamurti: K.S.Krishnamurti fixed 291 AD as the Zero Ayanamsa Year.
- Western: Western astrology does not use ayanamsa, set year 0.
"""

Yukteshwar = 499
Raman = 397
Lahiri = 285
Krishnamurti = 291
Western = 0

I changed my code like this.

from vedastro import * from datetime import datetime import json

set location

geolocation = GeoLocation("Gimhae International Airport", 128.93640137086572, 35.1800774)

set time hh:mm dd/mm/yyyy zzz

birthTime = Time("21:30 23/02/1972 +09:00", geolocation)

Calculate.Ayanamsa = 285

run calculator to get result

calcResult = Calculate.DasaForLife(birthTime, 1)

display results

Tools.Print(calcResult)

The result is below and different original and others apps.

"": { "Mars": { "Type": "Dasa", "Start": "21:30 23/02/1972 +09:00", "End": "05:30 13/03/1973 +09:00", "DurationHours": 9200.0, "DurationText": "1.1 years", "TechnicalName": "AriesMarsPD1", "Lord": "Mars", "ParentLord": "Empty", "Description": " Aries - Acquisition of wealth, increase in reputation and respect, much gain. ", "Nature": "Good" }, "Rahu": { "Type": "Dasa", "Start": "09:30 17/03/1973 +09:00", "End": "09:30 08/12/1990 +09:00", "DurationHours": 155400.0, "DurationText": "18 years", "TechnicalName": "CapricornRahuPD1", "Lord": "Rahu", "ParentLord": "Empty", "Description": " Capricorn - Sudden promotions to higher positions, recognition of one's merits by the State and rulers, marriage festivities at home, increase of wealth and general prosperity. ", "Nature": "Good" }, "Jupiter": { "Type": "Dasa", "Start": "13:30 12/12/1990 +09:00", "End": "17:30 13/09/2006 +09:00", "DurationHours": 138100.0, "DurationText": "16 years", "TechnicalName": "SagittariusJupiterPD1", "Lord": "Jupiter", "ParentLord": "Empty", "Description": " Sagittarius - Many sons, much wealth, success in every undertaking, increase in relations and family members. widespread fame and perfect happiness. ", "Nature": "Good" }, "Saturn": { "Type": "Dasa", "Start": "21:30 17/09/2006 +09:00", "End": "09:30 07/06/2025 +09:00", "DurationHours": 164100.0, "DurationText": "19 years", "TechnicalName": "TaurusSaturnPD1", "Lord": "Saturn", "ParentLord": "Empty", "Description": " Taurus - Success and gains in agricultural operations, much prosperity to the cattle and other domestic animals, great income, and access to things desired. ", "Nature": "Good" }, "Mercury": { "Type": "Dasa", "Start": "13:30 11/06/2025 +09:00", "End": "05:30 11/03/2042 +09:00", "DurationHours": 146800.0, "DurationText": "17 years", "TechnicalName": "AquariusMercuryPD1", "Lord": "Mercury", "ParentLord": "Empty", "Description": " Aquarius - Acquisition of paraphernalia, access to good and much wealth, indulging in a pleasurely life and good fame and name. ", "Nature": "Good" }, "Ketu": { "Type": "Dasa", "Start": "09:30 15/03/2042 +09:00", "End": "01:30 03/02/2049 +09:00", "DurationHours": 60400.0, "DurationText": "7 years", "TechnicalName": "CancerKetuPD1", "Lord": "Ketu", "ParentLord": "Empty", "Description": " Cancer - Many dangers, disturbances from his place and a period of exile, serious sickness to wife, parents or children, and if badly afflicted, their death, quarrels with friends, initiation into the mysteries of philosophical knowledge. ", "Nature": "Good" }, "Venus": { "Type": "Dasa", "Start": "05:30 07/02/2049 +09:00", "End": "01:30 21/10/2068 +09:00", "DurationHours": 172700.0, "DurationText": "20 years", "TechnicalName": "PiscesVenusPD1", "Lord": "Venus", "ParentLord": "Empty", "Description": " Pisces - High political power and great success, promotion to responsible office, acts of charity and generosity, exercise of prudence in official matters and perfect happiness in domestic life and smooth-sailing in every respect. ", "Nature": "Good" }, "Sun": { "Type": "Dasa", "Start": "05:30 25/10/2068 +09:00", "End": "21:30 29/01/2072 +09:00", "DurationHours": 28600.0, "DurationText": "3.3 years", "TechnicalName": "AquariusSunPD1", "Lord": "Sun", "ParentLord": "Empty", "Description": " Aquarius - Mental worries, loss or illness to wife, loss of property and wealth. ",
"Nature": "Bad" } }

And I check other app dasha config. Dasha type is "Vimshottari Dasha"

Pablo-korea commented 1 month ago

In case of Faulty code

The end period of Bhukti is the same as the end period of Dasha. However, I noticed something strange. It seems that the next Bhukti does not start immediately after the previous one ends, but begins a few days later. As a result, the overall schedule appears to be different.

You will be able to see it from the following data.

"Rahu": { "Type": "Dasa", "Start": "09:30 17/03/1973 +09:00", "End": "09:30 08/12/1990 +09:00", "DurationHours": 155400.0, "DurationText": "18 years", "TechnicalName": "CapricornRahuPD1", "Lord": "Rahu", "ParentLord": "Empty", "Description": " Capricorn - Sudden promotions to higher positions, recognition of one's merits by the State and rulers, marriage festivities at home, increase of wealth and general prosperity. ", "Nature": "Good", "SubDasas": { "Rahu": { "Type": "Bhukti", "Start": "09:30 17/03/1973 +09:00", "End": "01:30 09/11/1975 +09:00", "DurationHours": 23200.0, "DurationText": "2.7 years", "TechnicalName": "RahuRahuPD2", "Lord": "Rahu", "ParentLord": "Rahu", "Description": " Rahu - 2 years, 8 months, 12 days. Disturbance in mind, anxieties, quarrels among relatives, death of partner, master or the head of the family, mental anxiety, danger of poisoning, transfer, all sorts of scandals and quarrels, fever, bites of insects or wounds by arms, death of relatives, going to court as witness, quarrels with parents, diseases, illness to wife, failure of intellect, loss of wealth, wandering in far-off countries and distress there. ", "Nature": "Bad" }, "Jupiter": { "Type": "Bhukti", "Start": "05:30 13/11/1975 +09:00", "End": "13:30 20/03/1978 +09:00", "DurationHours": 20600.0, "DurationText": "2.4 years", "TechnicalName": "RahuJupiterPD2", "Lord": "Jupiter", "ParentLord": "Rahu", "Description": " Jupiter - 2 years, 4 months, 24 days. Total disappearance of enemies and sickness, royal favour, acquisition of wealth, birth of children, increase of pleasure, gain through nobles or persons in power, benefits and comforts from superiors, success in all efforts, marriage in the house, increase of enemies, litigations and dips in sacred rivers. ", "Nature": "Good" }, "Saturn": { "Type": "Bhukti", "Start": "17:30 24/03/1978 +09:00", "End": "17:30 12/01/1981 +09:00", "DurationHours": 24600.0, "DurationText": "2.8 years", "TechnicalName": "RahuSaturnPD2", "Lord": "Saturn", "ParentLord": "Rahu", "Description": " Saturn - 2 years, 10 months, 6 days. Scandal, danger due to fall of a tree, bad associations, divorce of wife or husband, incessant disputes and contests, rheumatism, biliousness, etc., throughout: disease due to wind and bile, distress of relatives, friends and well-wishers, residence in a remote foreign land. ", "Nature": "Bad" }, "Mercury": { "Type": "Bhukti", "Start": "21:30 16/01/1981 +09:00", "End": "09:30 18/07/1983 +09:00", "DurationHours": 21900.0, "DurationText": "2.5 years", "TechnicalName": "RahuMercuryPD2", "Lord": "Mercury", "ParentLord": "Rahu", "Description": " Mercury - 2 years, 6 months, 18 days. Many friends and relatives, wife and children, accession to wealth or royal favour. In the first 18 months of this period very busy, seriously inclined to marry. In the latter 12 months, enemies increase through his own action, happiness, birth of children, acquisition of vehicles, happiness to relatives and family, enjoyments with prostitutes, showy, gains through trade, fraudulent schemes. ", "Nature": "Neutral" }, "Ketu": { "Type": "Bhukti", "Start": "13:30 22/07/1983 +09:00", "End": "13:30 31/07/1984 +09:00", "DurationHours": 9000.0, "DurationText": "1 years", "TechnicalName": "RahuKetuPD2", "Lord": "Ketu", "ParentLord": "Rahu", "Description": " Ketu - 1 year, 18 days. Danger, disease in the anus, no good and timely meals, epidemic diseases, danger of physical hurts and poison, ill-health to children, some swellings in the body, troubles through wife, danger from superiors, loss of wealth and honour, loss of children, death of cattle and misfortunes of all kinds. ", "Nature": "Bad" }, "Venus": { "Type": "Bhukti", "Start": "17:30 04/08/1984 +09:00", "End": "17:30 15/07/1987 +09:00", "DurationHours": 25800.0, "DurationText": "3 years", "TechnicalName": "RahuVenusPD2", "Lord": "Venus", "ParentLord": "Rahu", "Description": " Venus - 3 years. Accession to vehicles and things of foreign land, troubles from foes, relatives and diseases, acquisition of wealth and other advantages, friendly alliances, wife a source of fortune and happiness, benefits from superiors or beads above in office, liable to deception, false friends, gain in land, birth of a child or marriage. ", "Nature": "Good" }, "Sun": { "Type": "Bhukti", "Start": "21:30 19/07/1987 +09:00", "End": "17:30 04/06/1988 +09:00", "DurationHours": 7700.0, "DurationText": "10.7 months", "TechnicalName": "RahuSunPD2", "Lord": "Sun", "ParentLord": "Rahu", "Description": " The Sun's sub-period - 1O months, 24 days. Hot fevers, giddiness, fear and enmity of people, quarrels in family, benefits from persons in good position, fear and suspicion in connection with wife, children and relatives, change of position or residence, love of charitable acts, contentment, cessation of all violence and outrage of contagious diseases, success in examinations, private life happy, much reputation and fame, but mental unrest. ", "Nature": "Neutral" }, "Moon": { "Type": "Bhukti", "Start": "21:30 08/06/1988 +09:00", "End": "05:30 24/11/1989 +09:00", "DurationHours": 12800.0, "DurationText": "1.5 years", "TechnicalName": "RahuMoonPD2", "Lord": "Moon", "ParentLord": "Rahu", "Description": " Moon - 1 year, 6 months. Abundance of enjoyments, good crops, coming in of money and communion with kith and kin, loss of relatives, loss of money through wife, pains in the limbs, change of position or residence, danger of personal hurts, unstability of health, sea voyages, gain of lands and money, loss or danger to wife and children. ", "Nature": "Good" }, "Mars": { "Type": "Bhukti", "Start": "09:30 28/11/1989 +09:00", "End": "09:30 08/12/1990 +09:00", "DurationHours": 9000.0, "DurationText": "1 years", "TechnicalName": "RahuMarsPD2", "Lord": "Mars", "ParentLord": "Rahu", "Description": " Mars - 1 year, 18 days. Danger from rulers, fires or thieves and by arms, defeat in litigation, loss of money due to cousins, difficulties, sorrows, danger to the person due to malice of enemies, tendency to ease or dissolute habits, disputes and mental anxiety, combination of all possible calamities, bewilderment in every work and culpable failure of memory. ", "Nature": "Bad" } } },

Pablo-korea commented 1 month ago

@sengiv Incase of SolarYearTimeSpan

i have no idea how I can setup γ… .γ… 

sengiv commented 1 month ago

Calculate.Ayanamsa = 285

above code is seriously wrong... get your int values from VedAstro's Ayanamsa class --> LINK FYI : this int numbers are is actually set by SwissEph code, not VedAstro And I recommend do not use direct INTs (very bad code, will confuse you down the road) Your code should look something like Calculate.Ayanamsa = (int)Ayanamsa.LAHIRI

sengiv commented 1 month ago

I suspect the issue is "SolarYearTimeSpan" 🧐 So you should set it to match you screenshot you gave earlier. image

So your code should look like this Calculate.SolarYearTimeSpan = 365.256364

sengiv commented 1 month ago

@Pablo-korea if you're serious about getting this issue fixed.... I think we can benefit from faster messaging than slow replies here.... Join SLACK https://join.slack.com/t/vedastro/shared_invite/zt-1u7pdqjky-hrJZ7e3_vM2dZOmVY8FeHA

sengiv commented 1 month ago

@Pablo-korea so anyway,

  1. set Ayanamsa, 2. set SolarYearTimeSpan, THEN run the code & post your results. 🀞🀞it should solve the issue
Pablo-korea commented 1 month ago

@sengiv Dear Sir

Thank you for your prompt response. As per your suggestion, I have modified the code as follows.

`from vedastro import * from datetime import datetime import json from enum import Enum

Define Ayanamsa Enum

class Ayanamsa(Enum): FAGAN_BRADLEY = 0 LAHIRI = 1 DELUCE = 2 RAMAN = 3 USHASHASHI = 4 KRISHNAMURTI = 5 DJWHAL_KHUL = 6 YUKTESHWAR = 7 JN_BHASIN = 8 BABYL_KUGLER1 = 9 BABYL_KUGLER2 = 10 BABYL_KUGLER3 = 11 BABYL_HUBER = 12 BABYL_ETPSC = 13 ALDEBARAN_15TAU = 14 HIPPARCHOS = 15 SASSANIAN = 16 GALCENT_0SAG = 17 J2000 = 18 J1900 = 19 B1950 = 20 SURYASIDDHANTA = 21 SURYASIDDHANTA_MSUN = 22 ARYABHATA = 23 ARYABHATA_MSUN = 24 SS_REVATI = 25 SS_CITRA = 26 TRUE_CITRA = 27 TRUE_REVATI = 28 TRUE_PUSHYA = 29 GALCENT_RGBRAND = 30 GALEQU_IAU1958 = 31 GALEQU_TRUE = 32 GALEQU_MULA = 33 GALALIGN_MARDYKS = 34 TRUE_MULA = 35 GALCENT_MULA_WILHELM = 36 ARYABHATA_522 = 37 BABYL_BRITTON = 38 TRUE_SHEORAN = 39 GALCENT_COCHRANE = 40 GALEQU_FIORENZA = 41 VALENS_MOON = 42 LAHIRI_1940 = 43 LAHIRI_VP285 = 44 KRISHNAMURTI_VP291 = 45 LAHIRI_ICRC = 46

set location

geolocation = GeoLocation("Gimhae International Airport", 128.93640137086572, 35.1800774)

set time hh:mm dd/mm/yyyy zzz

birthTime = Time("21:30 23/02/1972 +09:00", geolocation)

Set Ayanamsa to LAHIRI

Calculate.Ayanamsa = Ayanamsa.LAHIRI.value # Use the value from the enum

Set SolarYearTimeSpan

Calculate.SolarYearTimeSpan = 365.256364

run calculator to get result

calcResult = Calculate.DasaForLife(birthTime, 1)

display results

Tools.Print(calcResult) `

However, the result is still coming out differently, and as you can see, the next Dasa does not start immediately after the previous one ends. Instead, there are a few days of gap before the start date of the next Dasa.

"Mars": { "Type": "Dasa", "Start": "21:30 23/02/1972 +09:00", "End": "17:30 11/10/1973 +09:00", "DurationHours": 14300.0, "DurationText": "1.7 years", "TechnicalName": "AriesMarsPD1", "Lord": "Mars", "ParentLord": "Empty", "Description": " Aries - Acquisition of wealth, increase in reputation and respect, much gain. ", "Nature": "Good" }, "Rahu": { "Type": "Dasa", "Start": "21:30 15/10/1973 +09:00", "End": "21:30 08/07/1991 +09:00", "DurationHours": 155400.0, "DurationText": "18 years", "TechnicalName": "CapricornRahuPD1", "Lord": "Rahu", "ParentLord": "Empty", "Description": " Capricorn - Sudden promotions to higher positions, recognition of one's merits by the State and rulers, marriage festivities at home, increase of wealth and general prosperity. ", "Nature": "Good" }, "Jupiter": { "Type": "Dasa", "Start": "01:30 13/07/1991 +09:00", "End": "09:30 18/04/2007 +09:00", "DurationHours": 138200.0, "DurationText": "16 years", "TechnicalName": "SagittariusJupiterPD1", "Lord": "Jupiter", "ParentLord": "Empty", "Description": " Sagittarius - Many sons, much wealth, success in every undertaking, increase in relations and family members. widespread fame and perfect happiness. ", "Nature": "Good" }, "Saturn": { "Type": "Dasa", "Start": "13:30 22/04/2007 +09:00", "End": "21:30 05/01/2026 +09:00", "DurationHours": 164000.0, "DurationText": "19 years", "TechnicalName": "TaurusSaturnPD1", "Lord": "Saturn", "ParentLord": "Empty", "Description": " Taurus - Success and gains in agricultural operations, much prosperity to the cattle and other domestic animals, great income, and access to things desired. ", "Nature": "Good" }, "Mercury": { "Type": "Dasa", "Start": "01:30 10/01/2026 +09:00", "End": "17:30 09/10/2042 +09:00", "DurationHours": 146800.0, "DurationText": "17 years", "TechnicalName": "AquariusMercuryPD1", "Lord": "Mercury", "ParentLord": "Empty", "Description": " Aquarius - Acquisition of paraphernalia, access to good and much wealth, indulging in a pleasurely life and good fame and name. ", "Nature": "Good" }, "Ketu": { "Type": "Dasa", "Start": "21:30 13/10/2042 +09:00", "End": "13:30 03/09/2049 +09:00", "DurationHours": 60400.0, "DurationText": "7 years", "TechnicalName": "CancerKetuPD1", "Lord": "Ketu", "ParentLord": "Empty", "Description": " Cancer - Many dangers, disturbances from his place and a period of exile, serious sickness to wife, parents or children, and if badly afflicted, their death, quarrels with friends, initiation into the mysteries of philosophical knowledge. ", "Nature": "Good" }, "Venus": { "Type": "Dasa", "Start": "17:30 07/09/2049 +09:00", "End": "13:30 21/05/2069 +09:00", "DurationHours": 172700.0, "DurationText": "20 years", "TechnicalName": "PiscesVenusPD1", "Lord": "Venus", "ParentLord": "Empty", "Description": " Pisces - High political power and great success, promotion to responsible office, acts of charity and generosity, exercise of prudence in official matters and perfect happiness in domestic life and smooth-sailing in every respect. ", "Nature": "Good" }, "Sun": { "Type": "Dasa", "Start": "17:30 25/05/2069 +09:00", "End": "21:30 29/01/2072 +09:00", "DurationHours": 23500.0, "DurationText": "2.7 years", "TechnicalName": "AquariusSunPD1", "Lord": "Sun", "ParentLord": "Empty", "Description": " Aquarius - Mental worries, loss or illness to wife, loss of property and wealth. ",
"Nature": "Bad" } } I would appreciate your advice on which part I should further modify.

sengiv commented 1 month ago

Ok, I think πŸ€” i know the fault.

Use method called "DasaAtRange" with precision of 24 hours.

Please report back πŸ™

Video : https://youtu.be/Uqyqp7ShSiQ?si=JiGo-YjckD8eicMO

Pablo-korea commented 1 month ago

@sengiv When I use "DasaAtRange" , the result is same.

sengiv commented 1 month ago

@Pablo-korea good news I got it working πŸ’ͺ πŸ˜‰πŸ˜

https://vedastroapi.azurewebsites.net/api/Calculate/DasaAtRange/Location/SouthKorea,SouthKorea/Time/21:30/23/02/1972/+09:00/Location/SouthKorea,SouthKorea/Time/21:30/23/02/1972/+09:00/Location/SouthKorea,SouthKorea/Time/00:00/31/12/2072/+09:00/Levels/1/PrecisionHours/24

Screenshot_20241013-104418_Chrome.jpg

πŸ˜‹ More accurate than those silly websites (AstroSage & Jyotish 😜) that don't share code....because if Dasa A ends on 23 then Dasa B should start 24th not on same day.....these are the days I'm proud of VedAstro 😁😁πŸ₯³

Pablo-korea commented 1 month ago

@sengiv Very Good. Also works well in Python.

I am comparing the planetary angles with other apps. All the planets have the same angles, but there is a slight difference in the case of the Moon. Could you please check the logic for me?

sengiv commented 1 month ago

@Pablo-korea awesome πŸš€ that it works in Python 🐍 So we can marked Dasa issue as solved? Please please πŸ™πŸ™πŸ™ make a demo file and push to repo.


All the planets have the same angles, but there is a slight difference in the case of the Moon

Lets investigate this, 🧐 sounds interesting how only Moon is out of line. πŸ—ΊοΈ I suspect timezone or coordinates, since Moon is fast moving body. πŸŒ– @Pablo-korea please open a new issue with screen shots.....we will take it from there (otherwise it might get messy here 😁)