{"id":16744979,"url":"https://github.com/gregology/gstatsat","last_synced_at":"2026-04-22T05:32:50.699Z","repository":{"id":56875452,"uuid":"84669091","full_name":"gregology/gstatsat","owner":"gregology","description":"A Ruby Gem for calculating bearings of geostationary satellites","archived":false,"fork":false,"pushed_at":"2017-03-13T02:45:40.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-31T10:47:11.548Z","etag":null,"topics":["gem","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gregology.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-11T17:52:03.000Z","updated_at":"2017-03-13T02:40:43.000Z","dependencies_parsed_at":"2022-08-20T10:10:04.779Z","dependency_job_id":null,"html_url":"https://github.com/gregology/gstatsat","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/gregology/gstatsat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregology%2Fgstatsat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregology%2Fgstatsat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregology%2Fgstatsat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregology%2Fgstatsat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gregology","download_url":"https://codeload.github.com/gregology/gstatsat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregology%2Fgstatsat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32122720,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T00:31:26.853Z","status":"online","status_checked_at":"2026-04-22T02:00:05.693Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gem","ruby"],"created_at":"2024-10-13T01:44:22.519Z","updated_at":"2026-04-22T05:32:50.674Z","avatar_url":"https://github.com/gregology.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Gem](https://img.shields.io/gem/v/gstatsat.svg?style=flat)](http://rubygems.org/gems/gstatsat)\n[![License](http://img.shields.io/badge/license-MIT-yellow.svg?style=flat)](https://github.com/gregology/gstatsat/blob/master/LICENSE)\n[![Gregology](https://img.shields.io/badge/contact-Gregology-blue.svg?style=flat)](http://gregology.net/contact/)\n[![Downloads](https://img.shields.io/gem/dt/gstatsat.svg?style=flat)](http://rubygems.org/gems/gstatsat)\n\n# Gstatsat\nA Ruby Gem for calculating bearings of geostationary satellites\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n``` ruby\ngem 'gstatsat'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install gstatsat\n\n## Example\n```  ruby\n\u003e\u003e require 'gstatsat'\n=\u003e True\n\n\u003e\u003e base_station = Gstatsat::BaseStation.new(latitude: 45.425533, longitude: -75.692482)\n\u003e\u003e satellite = Gstatsat::Satellite.new(longitude: -98)\n\u003e\u003e bearing = Gstatsat::SatelliteBearing.new(satellite: satellite, base_station: base_station)\n\n\u003e\u003e bearing.azimuth\n=\u003e 209.9\n\n\u003e\u003e bearing.elevation\n=\u003e 33.2\n\n\u003e\u003e bearing.visible?\n=\u003e True\n```\n\n## Notes\n\nThe `visible?` method on `SatelliteBearing` is based on an elevation greater than 0. This simplified model assumes the earth is a perfect sphere and that the base station is at sea level. A satellites actual visibility may be affected by natural features such as mountains. It may also be possible to sight a satellite at a bearing less than 0 if the base station is at orbital altitudes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregology%2Fgstatsat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgregology%2Fgstatsat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregology%2Fgstatsat/lists"}