{"id":20395108,"url":"https://github.com/uba/goes-latlon","last_synced_at":"2025-04-12T12:13:17.050Z","repository":{"id":166672543,"uuid":"452355183","full_name":"uba/goes-latlon","owner":"uba","description":"Python script that can be used to generate latitude/longitude coordinates for GOES-16 full-disk extent.","archived":false,"fork":false,"pushed_at":"2022-01-26T17:42:56.000Z","size":53040,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-12T12:13:08.945Z","etag":null,"topics":["abi","goes","latitude-longitude","remap","satellite"],"latest_commit_sha":null,"homepage":"","language":"Python","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/uba.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,"governance":null}},"created_at":"2022-01-26T16:36:58.000Z","updated_at":"2024-07-19T11:16:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"f210514e-45e0-47e7-b9b6-bc8f8be9ae83","html_url":"https://github.com/uba/goes-latlon","commit_stats":{"total_commits":6,"total_committers":2,"mean_commits":3.0,"dds":"0.33333333333333337","last_synced_commit":"23d2de005af3cc15454215c9e41c65d241297e41"},"previous_names":["uba/goes-latlon"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uba%2Fgoes-latlon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uba%2Fgoes-latlon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uba%2Fgoes-latlon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uba%2Fgoes-latlon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uba","download_url":"https://codeload.github.com/uba/goes-latlon/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248565083,"owners_count":21125418,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["abi","goes","latitude-longitude","remap","satellite"],"created_at":"2024-11-15T03:55:22.212Z","updated_at":"2025-04-12T12:13:17.026Z","avatar_url":"https://github.com/uba.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# goes-latlon\nPython script that can be used to generate latitude/longitude coordinates for GOES-16 full-disk extent. 🌎🛰️\n\nThe grid files can be accessed in this repository from the `data` directory.\n\n## Install\nClone the repository:\n```\ngit clone https://github.com/uba/goes-latlon.git\n```\nGo to the source code folder:\n```\ncd goes-latlon\n```\nInstall:\n```\npip3 install -r requirements.txt\n```\n\n## Usage\n```\npython generate-all.py\n```\nThe script will generate latitude/longitude values for GOES-16 full-disk extent and save result to the `data` directory.\n\nThe result is a set of netCDF files for each spatial resolution (1.0, 2.0, 4.0 and 10 kilometers).\n\nBasically, each file contains grids for latitude and longitude that is the same size as the data array in the GOES netCDF file (e.g. `CMI` array). netCDF file is encoded using `int16` datatype, `scale_factor` and `add_offset` attributes.\n\n* `data/goes16-full-disk-lat-lon-1.0km.nc`\n* `data/goes16-full-disk-lat-lon-2.0km.nc`\n* `data/goes16-full-disk-lat-lon-4.0km.nc`\n* `data/goes16-full-disk-lat-lon-10.0km.nc`\n\n## Read Example\n````python\nfrom netCDF4 import Dataset\n\n# Define path to [lat,lon] grid file\npath = './data/goes16-full-disk-lat-lon-2.0km.nc'\n\n# Open using netCDF4 package\nnc = Dataset(path)\n\n# Get values\nlat_values = nc.variables['lat'][:]\nlon_values = nc.variables['lon'][:]\n\nnc.close()\n````\n\n## Data Preview\nLatitudes - 2km (5424 x 5424)| Longitudes - 2km (5424 x 5424)\n--- | ---\n\u003cimg src=\"preview/latitudes.png\" width=\"300px\"/\u003e | \u003cimg src=\"preview/longitudes.png\" width=\"300px\"/\u003e\n\n*Note: Currently GOES-16 satellite is positioned at longitude -75.0, latitude 0.0.*\n\n## References\nGOES-R SERIES PRODUCT DEFINITION AND USERS’ GUIDE (PUG) | https://www.goes-r.gov/products/docs/PUG-L2+-vol5.pdf - Session 4.2.8.1: Navigating from N/S Elevation Angle (y) and E/W Scanning Angle (x) to Geodetic Latitude (φ) and Longitude (λ)\n\nJoshua Hrisko - GOES-R Satellite Latitude and Longitude Grid Projection Algorithm. https://makersportal.com/blog/2018/11/25/goes-r-satellite-latitude-and-longitude-grid-projection-algorithm\n\nGeostationary Satellite View - https://proj.org/operations/projections/geos.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuba%2Fgoes-latlon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuba%2Fgoes-latlon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuba%2Fgoes-latlon/lists"}