Open source software for Sherab Ling Tibetan calendar.
The calendar currently published by Sherab Ling monastery was originally devised by Kojo Tsewang Namgyal. Tsenam unfortunately had been unable fully to document his work on the Tibetan calendar before he died at the end of 2006. His calendar as it stood at that time was ready for publication, but could also have been considered to some extent to be a "work in progress". Partly to document that work, and also to facilitate the use and development of this calendar by Sherab Ling, Samye Ling and other interested organisations, open source software for Tsenam's calendar is made available on this page.
The main epoch (1987) data used was the last set of such data known to have been devised by Tsenam, and the full set of this data is given here. Recently (February 2011), data for a much earlier epoch have been added.
If you find any errors in this software, or have any comments, suggested changes or additions, please address these to Edward Henning. To download the software and its source code:
The software was first developed using the Open Watcom C/C++ compiler, version 1.8. The latest versions, 1.01 to 1.20, have been developed using Open Watcom C/C++ version 1.9.
This present software has been extracted from an original program into which Tsenam's data and methods were added over a period of months during 2006. This information came both via email and word of mouth, and so the addition into the software was a little haphazard. For this reason, certain parts of the software contain old debug code and need some cleaning – hopefully this situation will be improved over the coming months. It certainly gives the correct data in its results. Also, some symbolic information requested by Sherab Ling was not fully implemented until version 1.20.
The software was originally developed for the purpose of helping Sherab Ling with the publication of its yearly calendar. For this reason, for each year three text files are created, containing much more information than would normally be expected or needed. In order to restrict this, a flag was included in module T4.C. For version before 1.20, for the full file output, set full_print to 1, and for the more generally useful limited file output, set it to 0. The default value is 0. For versions from 1.20, type "slc full" in order to have the full output printed to disk.