精華區beta NTUastclub 關於我們 聯絡資訊
我國陰曆是陰陽合曆,依太陽位置定24節氣,節氣反應實際之春,夏,秋,冬四季 寒暑之氣後變化,由太陰(月球)之位置及太陽之位置黃經差值,定初ㄧ每月之開始. 關於我國曆法之基本認識可參考中央氣相局網站-天文百問 http://www.cwb.gov.tw/astron/astron.html 定氣:是依太陽視黃經度而定,太陽每行15度為一節氣.春分之黃經為0度 農曆月 地支 節氣 中氣 十ㄧ 子 大雪(12/7) 冬至(12/22) 十二 丑 小寒(1/6) 大寒(1/20) 正 寅 立春(2/4) 雨水(2/19) 二 卯 驚蟄(3/6) 春分(3/21) 三 辰 清明(4/5) 榖雨(2/19) 四 巳 立夏(5/6) 小滿(5/21) 五 午 芒種(6/6) 夏至(6/21) 六 未 小暑(7/7) 大暑(7/23) 七 申 立秋(8/8) 處暑(8/23) 八 酉 白露(9/8) 秋分(9/22) 九 戌 寒露(10/8) 霜降(10/23) 十 亥 立冬(11/8) 小雪(11/23) 定朔:每當太陽和月球同經度的時後,月球以背光的一面向著地球叫朔,距太 陽東90度叫上弦,距日180度叫望,距日西90度叫下弦 原則上規定在太陰月裡,必包含一個中氣和一個節氣,節氣在前,中氣在後. 不含中氣的月份,就決定這個月份為閏月.如陰曆閏年中有2各月份無中氣,則第1個 無中氣月為閏月,第二個無中氣月不閏月(因陰曆年平年12月,閏年13月) 陰曆大月,小月之判定:依朔日到下次朔日之實際差值 ,29日為小月,30日為大月. 朔望月=29.5306天 小數部分之漸進分數 (a)1/2 (0.5)兩個月中一大一小 (b)8/15 (0.5333.)15個月中8大7小 (c)9/17 (0.5294.)17個月中9大8小 (d)26/49(0.530612.)49個月中(9大8小,9大8小,8大7小) 365.2422/29.5306=12.36826 (a)7/19 (0.3684..)19年7潤 (b)116/315 (0.36825)315年116潤 (c)123/334(0.36826)334年123潤 想應用19年7閏之規則是行不通的.那只是一個近似值.大,小月也無定則可循 而月球之理論計算可參考下文 ******************** * 月球軌道理論計算 * ******************** 19世紀前後兩百多年來,僅月球運動的研究方法,就達數十種之多. 其中以德國天文學 家Hansen,美國天文學家G.W Hil(1838~1914) ,英國天文學家E.W. Brown(1866~1938)三 個人的研究最突出.19世紀中葉,當時公認Hansen的方法最好,於是就用他的方法,來編制 月球運行表,1857年由英國刊佈Hansen的月球運行表.那時後,學術界認為,Hansen的月球 運行表,已經完全解決了月球運動的問題.不料過了一段時間,月球實際位置和Hansen計 算的理論位置不相符,此時天文學家認識到,月球運動的短週期項雖然算的很好,但是,月 球運動的常週期項,仍然有欠缺之處. 繼Hansen之後,月球運動的研究,取得卓越成效的就是英國的天文學家E.W. Brown,於 1895年公佈他的月球運動著作,1919年終於編算成新的月球運行表,其理論值和實測值 符合的較好,基本上滿足了測的要求.從1923年開始全世界的天文曆書,均以採用 E.W Brown的月球運行表. 所有的引力一個不漏的都考慮進去,那麼表示月球位置的展開式可達1650項之多,黃經 ,黃緯的經度達到0.1" (以上月球軌道理論計算 內容摘入自"數學在天文學中之應用 凡異出版社,p49) 網友可從http://www.lunaroutrearch.org/cgi/phase/ 下載計算西元前 -2003 ~ 西元2004 之各年新月,滿月,上弦,下弦之原始C語言檔案, 參考其內容,就能了解,月球的運動,真的是很複雜.或從http://www.lunaroutreach.org/phases/phases.cgi執行CGI此處年代輸入由 公元 1 ~ 2246 ,注意此處之時間是世界時(中原標準時 = 世界時+ 8 小時) 底下是輸入1998之結果 Year 1998 All times are Universal Time Lun# New Moon First Quarter Full Moon Last Quarter ------ ---------------- ---------------- ---------------- ---------------- +00928 1997/12/29 16:57 1998/01/05 14:19 1998/01/12 17:24 1998/01/20 19:41 +00929 1998/01/28 06:01 1998/02/03 22:54 1998/02/11 10:23 1998/02/19 15:28 +00930 1998/02/26 17:26 1998/03/05 08:41 1998/03/13 04:35 1998/03/21 07:39 +00931 1998/03/28 03:14 1998/04/03 20:19 1998/04/11 22:24 1998/04/19 19:53 +00932 1998/04/26 11:42 1998/05/03 10:04 1998/05/11 14:30 1998/05/19 04:36 +00933 1998/05/25 19:33 1998/06/02 01:46 1998/06/10 04:19 1998/06/17 10:39 +00934 1998/06/24 03:51 1998/07/01 18:43 1998/07/09 16:01 1998/07/16 15:14 +00935 1998/07/23 13:44 1998/07/31 12:06 1998/08/08 02:10 1998/08/14 19:49 +00936 1998/08/22 02:04 1998/08/30 05:07 1998/09/06 11:22 1998/09/13 01:58 +00937 1998/09/20 17:02 1998/09/28 21:11 1998/10/05 20:12 1998/10/12 11:11 +00938 1998/10/20 10:10 1998/10/28 11:47 1998/11/04 05:19 1998/11/11 00:29 +00939 1998/11/19 04:27 1998/11/27 00:23 1998/12/03 15:20 1998/12/10 17:54 +00940 1998/12/18 22:43 1998/12/26 10:47 1999/01/02 02:50 1999/01/09 14:22 1998/01/28 <--> 1998/02/26 相隔29日,=>小月. 雨水1998/02/19 04:55 位於 本月中,因此本月為農曆戊寅年正月,其他農曆月份依此類推. http://astro.nmsu.edu/~lhuber/leaphist.html 文中第六節介紹中國農曆,特別是閏月之原則非常值得參考,此原則由南京紫金山 天文台編輯農曆所應用之通則. (1)朔必在初ㄧ (2)平年12月,潤年13月 (3)冬至常在11月 (4)閏年中之閏月不含中氣,月份名稱同前月在開頭加"閏"字區別. 如閏年內有兩月份無中氣,則冬至後第一個無中氣月視為閏月. (5)計算以東經120度為基準 The following rules (Liu and Stephenson, in press) are currently used as the basis for calendars prepared by the Purple Mountain Observatory (1984): (1) The first day of the month is the day on which the New Moon occurs. (2) An ordinary year has twelve lunar months; an intercalary year has thirteen lunar months. (3) The Winter Solstice (term P-11) always falls in month 11. (4) In an intercalary year, a month in which there is no Principal Term is the intercalary month. It is assigned the number of the preceding month, with the further designation of intercalary. If two months of an intercalary year contain no Principal Term, only the first such month after the Winter Solstice is considered intercalary. (5) Calculations are based on the meridian 120o East. The number of the month usually corresponds to the number of the Principal Term occurring during the month. In rare instances, however, there are months that have two Principal Terms, with the result that a nonintercalary month will have no Principal Term. As a result the numbers of the months will temporarily fail to correspond to the numbers of the Principal Terms. These cases can be resolved by strictly applying rules 2 and 3. In general, the first step in calculating the Chinese calendar is to check for the existence of an intercalary year. This can be done by determining the dates of Winter Solstice and month 11 before and after the period of interest, and then by counting the intervening New Moons. Published calendrical tables are often in disagreement about the Chinese calendar. Some of the tables are based on mean, or at least simplified, motions of the Sun and Moon. Some are calculated for other meridians than 120o East. Some incorporate a rule that the eleventh, twelfth, and first months are never followed by an intercalary month. This is sometimes not stated as a rule, but as a consequence of the rapid change in the Sun's longitude when the Earth is near perihelion. However, this statement is incorrect when the motions of the Sun and Moon are accurately calculated. 另網有可從下址取得計算24節氣之EXE 檔,執行結果顯示使用Shift-JIS碼.其中 http://www.osk.threewebnet.or.jp/~akasaki/ARC/24season.lzh http://www.osk.threewebnet.or.jp/~akasaki/ARC/need.lzh 二十四節氣ver1.0 日文 Shift-JIS碼,計算 -3000 <--> 2999 年 執行時需配合astron.dll 所計算的時間為東京時(GMT+9)減1hr就是中原標準時 (GMT+8) ------------------------ 西元 1998 小寒 01/05 22:19 土用 01/17 17:02 大寒 01/20 15:46 立春 02/04 09:57 雨水 02/19 05:55 驚蟄 03/06 03:58 春分 03/21 04:55 清明 04/05 08:46 土用 04/17 14:18 穀雨 04/20 15:58 立夏 05/06 02:05 小滿 05/21 15:08 芒種 06/06 06:16 入梅 06/11 11:46 夏至 06/21 23:05 半夏生 07/02 10:39 小暑 07/07 16:33 土用 07/20 06:34 大暑 07/23 09:58 立秋 08/08 02:22 處暑 08/23 17:01 白露 09/08 05:18 秋分 09/23 14:39 寒露 10/08 20:58 霜降 10/24 00:00 立冬 11/08 00:10 小雪 11/22 21:35 大雪 12/07 17:02 冬至 12/22 10:57 --------------------------- 上述之時間是日本東京時,減ㄧ小時就是中原標準時.如小寒01/05 21:19 其土用,入梅,半夏生為日本節氣. 在simtelnet之子目錄astronmy下之ephem421.zip附原始程式,(國內可下載)本 程式ftp://ftp.nctu.edu.tw/PC/simtelnet/msdos/astronmy/ephem421.zip 這是一個計算日,月,金,木,水,火,土,海王,天王,冥王正確位置之程式. 其中之moonnf.c計算朔及望正確日期.而sun.c計算太陽之正確位置.網友可組合此 2程式並應用內差求出24節氣正確之日期.就能完成真正得萬年曆. 市面上之電子字典或其他有陰陽萬年曆之程式,都使用查表法, 查表法之原始 程式(C語言)可參考交大資科 bbs.cis.nctu.edu.tw程式討論區(programing) 精華區第15目錄解決某個特定問題的方法下之第12個西曆與農曆轉換程式. 或第三波120期民國81年p163"八字命理學BASIC程式(六)作者杜揮賢,有陰陽萬年曆 之BASIC程式,但其表格數字有錯誤. 所有這ㄧ類查表法之基本資料有(1)陽曆1/1與陰曆元月元日之差值 (2)大,小月資料(3)陰曆閏月資料(4)節氣資料.建立表格後就剩兩者之加減轉換. -- * Origin: ★ 交通大學資訊科學系 BBS ★ <bbs.cis.nctu.edu.tw: 140.113.23.3>