Open weiss-d opened 4 months ago
As soon as files generation take time we need to make calculation asynchronous:
One more question about gender
-- does it affect the calculation? What the values for the gender
?
Predict we may get angry feedback if we have M
and F
only :see_no_evil:
@weiss-d I remember it's possible to calculate namkha not for a human, but for a family or organization, do I remember right? What we shall use for gender
in this case? Is it optional?
@weiss-d Why should we pass LAT and LON? We already have date and time and TZ obtained separately from another endpoint. Right?
@stasdavydov
One more question about
gender
-- does it affect the calculation? What the values for thegender
? Predict we may get angry feedback if we haveM
andF
only 🙈
Yes, it affects position of Fortune and Capacity aspect (left or right) and corresponding Mewa aspects. I'll specify it in render module.
@weiss-d I remember it's possible to calculate namkha not for a human, but for a family or organization, do I remember right? What we shall use for
gender
in this case? Is it optional?
In this case a person requesting the calculation should decide on 'gender'. Anna Weiss will elaborate on this in Help section of the app page.
@weiss-d Why should we pass LAT and LON? We already have date and time and TZ obtained separately from another endpoint. Right?
We need it to calculate twilight time, I'll put more info about it in Notebooks in the future.
API functions (PR: https://github.com/NamkhaEncyclopedia/calculator-webapp-backend/pull/6)
1) For given date, time and geo coordinates get an offset from UTC in seconds for that geographic point at that time.
2) For given:
calculation_method
:rinpoche
|classic
namkha_type
:year
|month
|day
|hour
name
(optional)gender
:female
|male
provide: