# osint-chrono > 時間情報(Chronolocation)を扱うスキル。カレンダー変換(エチオピア、ネパール、ペルシャ、イスラム暦)、タイムゾーン変換、太陽位置計算を行う。「この日付をグレゴリオ暦に変換」「ペルシャ暦1401年の日付は?」「影の角度から時刻を特定」などのリクエストで使用。 - Author: ymdarake - Repository: ymdarake/osint-base - Version: 20260120231201 - Stars: 1 - Forks: 0 - Last Updated: 2026-02-06 - Source: https://github.com/ymdarake/osint-base - Web: https://mule.run/skillshub/@@ymdarake/osint-base~osint-chrono:20260120231201 --- --- name: osint-chrono description: 時間情報(Chronolocation)を扱うスキル。カレンダー変換(エチオピア、ネパール、ペルシャ、イスラム暦)、タイムゾーン変換、太陽位置計算を行う。「この日付をグレゴリオ暦に変換」「ペルシャ暦1401年の日付は?」「影の角度から時刻を特定」などのリクエストで使用。 --- # OSINT Chrono (Time Intelligence) 時間情報を扱うためのスキル。 **すべてのコマンドはDockerコンテナ経由で実行する。** ## カレンダー変換 ### 対応カレンダー | カレンダー | 地域 | 特徴 | |-----------|------|------| | Gregorian | 世界標準 | 西暦 | | Persian (Jalali) | イラン、アフガニスタン | 太陽暦ヒジュラ暦、春分が年始 | | Islamic (Hijri) | イスラム圏 | 太陰暦ヒジュラ暦、月の周期基準 | | Nepali (Bikram Sambat) | ネパール | グレゴリオ暦より約57年先 | | Ethiopian | エチオピア | グレゴリオ暦より約7-8年遅れ | ### scripts/calendar_convert.py ```bash # ペルシャ暦 → グレゴリオ暦 docker compose run --rm osint python /workspace/.claude/skills/osint-chrono/scripts/calendar_convert.py \ --from persian --to gregorian 1401 12 2 # ネパール暦 → グレゴリオ暦 docker compose run --rm osint python /workspace/.claude/skills/osint-chrono/scripts/calendar_convert.py \ --from nepali --to gregorian 2072 10 17 # イスラム暦 → グレゴリオ暦 docker compose run --rm osint python /workspace/.claude/skills/osint-chrono/scripts/calendar_convert.py \ --from islamic --to gregorian 1445 7 15 # グレゴリオ暦 → 全カレンダー表示 docker compose run --rm osint python /workspace/.claude/skills/osint-chrono/scripts/calendar_convert.py \ --from gregorian --to all 2023 2 21 ``` ### 月名対応表 **ペルシャ暦 (Persian/Jalali):** 1. Farvardin (3-4月) 2. Ordibehesht (4-5月) 3. Khordad (5-6月) 4. Tir (6-7月) 5. Mordad (7-8月) 6. Shahrivar (8-9月) 7. Mehr (9-10月) 8. Aban (10-11月) 9. Azar (11-12月) 10. Dey (12-1月) 11. Bahman (1-2月) 12. Esfand (2-3月) **ネパール暦 (Bikram Sambat):** 1. Baisakh (4-5月) 2. Jestha (5-6月) 3. Ashadh (6-7月) 4. Shrawan (7-8月) 5. Bhadra (8-9月) 6. Ashwin (9-10月) 7. Kartik (10-11月) 8. Mangsir (11-12月) 9. Poush (12-1月) 10. Magh (1-2月) 11. Falgun (2-3月) 12. Chaitra (3-4月) **イスラム暦 (Hijri):** 1. Muharram 2. Safar 3. Rabi al-Awwal 4. Rabi al-Thani 5. Jumada al-Awwal 6. Jumada al-Thani 7. Rajab 8. Shaban 9. Ramadan 10. Shawwal 11. Dhu al-Qadah 12. Dhu al-Hijjah ## オンラインコンバーター | サービス | URL | |---------|-----| | ペルシャ暦 | https://www.iranchamber.com/calendar/converter/iranian_calendar_converter.php | | ネパール暦 | https://www.hamropatro.com/date-converter | | イスラム暦 | https://www.islamicfinder.org/islamic-calendar/converter/ | | エチオピア暦 | https://www.ethiopiancalendar.net/converter.html | ## 非ラテン数字の読み方 ### ペルシャ語/アラビア語数字 | ۰ | ۱ | ۲ | ۳ | ۴ | ۵ | ۶ | ۷ | ۸ | ۹ | |---|---|---|---|---|---|---|---|---|---| | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | ### ネパール語(デーヴァナーガリー)数字 | ० | १ | २ | ३ | ४ | ५ | ६ | ७ | ८ | ९ | |---|---|---|---|---|---|---|---|---|---| | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | ### エチオピア数字(ゲエズ文字) | ፩ | ፪ | ፫ | ፬ | ፭ | ፮ | ፯ | ፰ | ፱ | ፲ | |---|---|---|---|---|---|---|---|---|---| | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | ## 太陽位置・影の計算 ### scripts/shadow_calc.py 太陽位置から影の角度を計算、または影の角度から撮影時刻を推定する。 ```bash # 特定の日時・場所での太陽位置と影の方向を計算 docker compose run --rm osint python /workspace/.claude/skills/osint-chrono/scripts/shadow_calc.py \ --lat 35.6812 --lon 139.7671 --date 2024-06-15 --time 14:30 # 影の方位角から撮影時刻を推定(影が北東=45°を指している場合) docker compose run --rm osint python /workspace/.claude/skills/osint-chrono/scripts/shadow_calc.py \ --lat 35.6812 --lon 139.7671 --date 2024-06-15 --shadow-azimuth 45 # 1日の太陽軌道を表示 docker compose run --rm osint python /workspace/.claude/skills/osint-chrono/scripts/shadow_calc.py \ --lat 35.6812 --lon 139.7671 --date 2024-06-15 --all-day # SunCalcへのリンクを生成 docker compose run --rm osint python /workspace/.claude/skills/osint-chrono/scripts/shadow_calc.py \ --lat 35.6812 --lon 139.7671 --date 2024-06-15 --suncalc ``` **出力内容:** - 太陽の方位角・高度 - 影の方向(太陽の反対方向) - 影の長さ比率(物体高さに対する影の長さ) - SunCalcへのリンク **方位角の基準:** - 北=0°, 東=90°, 南=180°, 西=270° ### オンラインツール | ツール | URL | 用途 | |--------|-----|------| | SunCalc | https://www.suncalc.org/ | 太陽位置・影の可視化 | | SunEarthTools | https://www.sunearthtools.com/dp/tools/pos_sun.php | 太陽位置計算 | | TimeAndDate | https://www.timeanddate.com/sun/ | 日の出・日の入り | ## 出力形式 ### カレンダー変換 ``` ## カレンダー変換 ### 入力 - カレンダー: persian - 日付: 1401 Esfand 2 ### 結果 | カレンダー | 日付 | |------------|------| | Gregorian | 2023-02-21 | | Persian | 1401 Esfand 2 | | Islamic | 1444 Shaban 1 | | Nepali | 2079 Falgun 9 | | Ethiopian | 2015 Yekatit 14 | ``` ### 影の計算 ``` ## 影の角度計算(Chronolocation) ### 入力条件 - 座標: 35.6812, 139.7671 - 日付: 2024-06-15 ### 太陽位置(14:30 UTC) - 方位角: 245.3° (WSW) - 高度: 68.2° ### 影の情報 - 方向: 65.3° (ENE) - 長さ比: 0.40x(物体高さの0.40倍) ```