question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Morocco Calculation method

See original GitHub issue

I have a list of all the cities in Morocco ( with their coordinates and alt ) and the prayer times can fetched using this service https://apisearch.hadithm6.com/api/prieres/ville/{id} where id is also part of the city data. Can you reverse engineer the calculation method based on this data ? I didn’t find a way to include the altitude in the calculationMethod

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
z3bicommented, Aug 8, 2022

@kafiln sorry I’ve been unable to respond recently. The last time I tried to reverse engineer I couldn’t find anything that worked with the few datasets I gathered, more datasets will actually make it more difficult. At this point I believe Morocco to be a very special case with the high altitude combined with the proximity to the ocean will make for an extreme line of sight to the sunset.

I am willing to offer my advice if you want to attempt the reverse engineering yourself. But unfortunately I don’t think Morocco uses standard equations to get these prayer times.

0reactions
kafilncommented, Aug 18, 2022

Thank you @z3bi

Read more comments on GitHub >

github_iconTop Results From Across the Web

Morocco supported calculation methods - Salah Times
Only the following supported asar calculation methods can be used to calculate prayer times for all locations within Morocco. All other asar calculation...
Read more >
Morocco - Corporate - Income determination
... computation of taxable income. The participation exemption in Morocco is also applicable to dividends derived from foreign subsidiaries.
Read more >
Income Tax calculation - Progressive scale - Upsilon Consulting
Income Tax calculation in morocco - Upsilon Consulting answers your questions about ... This calculation method seems to be the one favored by...
Read more >
Morocco - Customs and Import duty tax calculation method
Morocco – Customs and Import duty tax calculation method ; Varying range, Varies, ST=20% VAT = ST * (CIF + Duty + Parafiscal...
Read more >
Soil Water Balance in Morocco
2. Running an Avenue Script to Calculate Potential Evaporation. The script provided here uses the Priestley-Taylor method to calculate potential ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found