View Full Version : Hindu Almanac (mShell Script)


srvcti
15th November 2007, 21:39
This script brings revolution in the Hindu Almanac calculation. this is one of the most complex and feature riched Almanac Calculation script based on highest precission 'Visidhya Siddhanta' mode of Calculation and it produce almost complete set of reports required to predict astronomical phenomenon, festival, Zodiac signs and other Astrological Info.
Till now no such software is developed to produce such results for mobile devices.

features include:
Tithi - Calculates the current moon phase called tithi (including starting and ending times) and, on which most of the hindu festivals occur. also it calculates the future Full moon and new moon dates.
Star - it calculates the star (called Naksatra) and its starting and ending times.
other astrolocal aspects such as 'Gan', 'Yoni', 'Nadi' etc.
it calculates the zodiac (Called Rashi) sign, starting time and ending time and moon's transit time in zodiac.
The currentposition of sun in zodiac sign and its transit times very accurately.
Calculates the Bangla Calendar according to Visuddha Siddhanta method.
Calculates the sun rise/set, moon rise/set and twlight times of any places. (u have to set latitude/longitude in sunset.mm module)
Eclipse Details- The Script also calculates the very next Solar (Annular, Partial, Total) and Lunar (Total, Partial, Pneumbral) Eclipses and times of its various phenomenon according to time zone specified.
the script is fully compitable with mShell 2.01 version and runs on any s60/UIQ device. However, as the script contains thousands of lines of code, it may run slower in some older devices (such as Nokia 3230)..

Installation procedure-
Install mShell, it is freely available at
www.m-shell.net
or u can download it from ipmart-forum. then unzip the attached file and place all the files in the same directory of ur device (generally in E:\documents\mShell directory), then run Panjika.m
if u have any bug report/suggestion please email me, i'll try to solve ur request...
it tooks me 6 months of time to develope the script, hope it will help u alot...

the mShell version 2.01-37 is already attached and it can be registered freely at
http://www.m-shell.net/m-WebActivation.aspx
Enjoy.

n0f3a6
16th November 2007, 09:32
@n0f3a6

just tell how to use this,... just post an example...

srvcti
17th November 2007, 18:40
to use the script first of all u have to install mShell, then put the above files into the e:\documents\mShell folder. from the mShell window then run the main script Panjika.m and then it will ask for input date and time, u can skip the input fields by pressing go menu and it will take the device date and time. after that it will print the Results on the mobile screen. please check it. if require, i will clarify further.

srvcti
17th November 2007, 18:52
A Sample output of the program......


--------Input-----------------
Date (17.11.2007): 21.09.2007
Time (21.19): 21.19
location: Contai
long: (87 44)
lat: (21 46)
time zone: UTC+5h 30m
-----------end of input----------



========Start of Report=======
Friday

---- Current Moon Phase ----

Tithi: Dashami (Shukla)
starts: 21/9/2007 11:43:44am
ends: 22/9/2007 11:44:58am
------------------------------


---Next Purnima (Full Moon)--

starts: 26/9/2007 4:27:9am
ends: 27/9/2007 1:14:52am
------------------------------


-Next Amabasya (New Moon)

starts: 10/10/2007 8:16:32am
ends: 11/10/2007 10:30:21am
------------------------------


---Other Astrological Info----

Naskhatra: Uttarasadha
Starts: 21/9/2007 8:35:5pm
Ends: 22/9/2007 8:58:40pm

Gan: Manushya
Yoni: Nukula
Nadi: Antya
Dasha: Rabi
Lagna: Brisa


Rashi: Dhanu
Starts: 19/9/2007 5:35:17pm
Ends: 22/9/2007 2:45:21am

Next, Moon will enter in Makar Rashi


Sun in Kanya Rashi
Sun in Ashwin Month
Enters: 17/9/2007 11:11:51am
Exits: 17/10/2007 11:8:1pm

Next, Sun will enter in Tula Rashi and in Kartik Month
--------------------------------

-----Bangla Calendar--------

Shukrabar, 4 Ashwin
1414 Bangabda

-----Recent Festivals-------

Durga Puja (Saptami) on
18/10/2007

Durga Puja (Astami) on
19/10/2007

Durga Puja (Nabami) on
20/10/2007

Durga Puja (Dashami) on
21/10/2007

Kojagori Laxmi Puja on
25/10/2007

Kali Puja / Dipawali on
9/11/2007

Jagaddhatri Puja on
19/11/2007

Kartik / Itu Puja on
16/11/2007

--------------------------------


Current Day---Rise-----Set---
Moon: 1:42pm -------
Sun: 5:28am 5:37pm
Twilight: 5:5am 5:59pm


---------Next Eclipse--------

Annular Solar Eclipse
on: 7/2/2008

Magnitude: 1.049

Moon Position: Ascending node, below the Earth-Sun Axis

Eclipse Begins:
7:5:45am

Central Eclipse Begins:
8:48:28am

Max Eclipse:
9:25:31am

Central Eclipse Ends:
10:2:34am

Eclipse Ends:
11:45:17am

========End of Report=======

srvcti
21st November 2007, 05:38
hi,
here is an updated version of the above script, some bugs were removed. huge new features also added--
Now it can predict almost all hindu festivals accurately.
can calculate Molmaas and Trasyasparsa...

Overwrite all attached files over the previous..

if u like, please give me feedback, i'll then include muslim festivals also. let me know.

n0f3a6
21st November 2007, 07:04
its really useless, wtz the use??? can u explain???

srvcti
21st November 2007, 08:34
have u ever seen chinese lunar calendar ? if u, then definity u would say "useless"...
anway. i already explained this is an Almanac / Calendar type program which can predict the indian festival dates and holidays for any year, such as want to know the date of dussera in 2034? then this program is for u. and eclipses also..
this one is useful in preparation hindu calendar called Panchanga and birthchart. surely it will catch interest for those who r interested in calendar system, astrology and astronomy.... if anybody searches for a cricket game or king kong and find this application, it will be useless to him..

n0f3a6
21st November 2007, 13:28
@srvcti


nice explanation bro, k, sorry to say "useless", but, u look at ur input in the exampl, if i wanna know abt diwali in yr 2054, how to giv the input, just show an exmpl, thn while opening the program, itz showing an error (some .mm is missing), how to overcom it, i used ur 1st versn, din run last versn

srvcti
21st November 2007, 20:16
It's ok Bro. I never mind.
neway, here i'm trying to describe more elaborately..
First of all install mShell.. hope till now no help is necessary... then download the file almanac.zip i have attached, i strongly recommend u to use the latest version as i've added more features and some bugs were removed. moreover the festival feature is added in the second version only, not in the first version...
the zip contains 13 files, 11 mm files, 1 dat and one m file. all the files should be placed in the same location (e:\documents\mShell\) in your mobile (considering u have installed mShell in memory card), otherwise it may show .mm missing error.
before installing, just open the file sunset.mm with notepad
search for code portion as following (almost in the beginning)

....
....
hr=0;
mn=0;
// location defaults
g_long="87 44";
g_lat="21 46";
g_locname="Contai"

cntlong=0;
cntlat=0;

// user input values are global
g_lambda=0;
.....
.....

here put the longitude (for g_long) and latitude (g_lat) of ur place in degree and minute seperated by a space.. this is vital for rise/set calculation at ur place.


now put all the 13 files in the above specified location and open mShell. from mShell window run Panjika.m,
it will ask for date input as follow

Date (21.11.2007):

in bracket it shows default system date... u should put the date in dd.mm.yyyy format
i.e. suppose 22.09.2054

then press process->go

however, u can skip the step by pressing process->go without giving the date input and it will take the system date.

no it will ask for time input as following

Time (22.36):

in similar fashion u can give time input in hh.mm format or it will take system time....
now it will produce the results for u.
as for ur example i got the diwali date for 2054 is 30/10/2054, Friday. hope we will be live to see that (ha ha joking)..

Another interesting example is .... remember the lunar eclipse that saved the life of columbus in native island in Jamaica on 29 Feb 1504. and we will see exact timings and other details of that eclipse..

ok give the input 20.10.1503 (actually any recent date before that day) and the result will be as follow in Indian Time Zone..

---------Next Eclipse--------

Total Lunar Eclipse
on: 1/3/1504

Magnitude: 1.086

Moon Position: Descending node, above the Earth-Sun Axis

Moon Enters Penumbra(p1):
3:27:37am

Moon Enters Umbra(u1):
4:34:10am

Totality Begins(u2):
5:53:27am

Max. Eclipse(ut):
6:15:57am

Totality Ends(u3):
6:38:27am

Moon Leaves Umbra(u4):
7:57:44am

Moon Leaves Penumbra(p4):
9:4:17am

========End of Report=======


it shows 1/3/1504 for India and actually on 29/02/1504 for Jamaica time Zone..... This eclipse became myth....

Interesting na ???

anyway, if u have any further difficulties, please tell me the exact error message, so that i can clarify it...

itsjame
21st November 2007, 21:10
is there hindu tamil calender included in this yar..

srvcti
22nd November 2007, 03:52
i'm working on specially south indian calendar right now n will be published soon. But in the current version the major festivals included are common all over india. And other features such as eclipse calculation, tithi, new moon full moon prediction. Rise set of sun and moon etc. Are usefull to all over india. So u may test it.

n0f3a6
23rd November 2007, 17:07
r u a priest???

srvcti
23rd November 2007, 20:44
ha ha, no i'm a amature astronomer and don't believe astrology or such things, my subject was physics and math. astronomy and planetary motions catch me very much. anyway, i develope such program for planetary positions have great influence in our social life as most of the festivals are celebrated in particular tithi..

vasukinv
24th November 2007, 04:37
Seems it's Indian Astrological Calander..

ambedkarsv
21st November 2008, 10:13
Great work but will it work on wm6 mobiles?

bhaw
25th November 2008, 14:26
Dear
it is asking activation code while i registered and entered my cell no. and email Id still no response received eagerly waiting:sorry:

bhaw
26th November 2008, 05:39
Ha Ha Ha Yes got activation code and is working great but how could any one find local sun rise /set tithi nakshatra and yoga is imortant to calculate the muhurta ? please:thanks: