{"id":37637985,"url":"https://github.com/helvecioneto/goesgcp","last_synced_at":"2026-02-04T00:09:35.322Z","repository":{"id":267793613,"uuid":"902365377","full_name":"helvecioneto/goesgcp","owner":"helvecioneto","description":"Library to download goes Satellite data from Google Cloud Platform","archived":false,"fork":false,"pushed_at":"2025-05-09T15:09:40.000Z","size":8996,"stargazers_count":10,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-16T21:51:34.204Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/helvecioneto.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-12-12T12:29:08.000Z","updated_at":"2025-04-10T00:28:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"7e093a93-381e-4969-bebf-e2d53aab6e3e","html_url":"https://github.com/helvecioneto/goesgcp","commit_stats":null,"previous_names":["helvecioneto/goesgcp"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/helvecioneto/goesgcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helvecioneto%2Fgoesgcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helvecioneto%2Fgoesgcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helvecioneto%2Fgoesgcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helvecioneto%2Fgoesgcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/helvecioneto","download_url":"https://codeload.github.com/helvecioneto/goesgcp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helvecioneto%2Fgoesgcp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29062490,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T23:14:54.203Z","status":"ssl_error","status_checked_at":"2026-02-03T23:14:50.873Z","response_time":96,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-01-16T11:12:23.508Z","updated_at":"2026-02-04T00:09:35.296Z","avatar_url":"https://github.com/helvecioneto.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# goesgcp\n\u003c!-- badges: start --\u003e\n[![pypi](https://badge.fury.io/py/goesgcp.svg)](https://pypi.python.org/pypi/goesgcp)\n[![Downloads](https://img.shields.io/pypi/dm/goesgcp.svg)](https://pypi.python.org/pypi/goesgcp)\n[![Upload Python Package](https://github.com/helvecioneto/goesgcp/actions/workflows/python-publish.yml/badge.svg)](https://github.com/helvecioneto/goesgcp/actions/workflows/python-publish.yml)\n[![Contributors](https://img.shields.io/github/contributors/helvecioneto/goesgcp.svg)](https://github.com/helvecioneto/goesgcp/graphs/contributors)\n[![License](https://img.shields.io/pypi/l/goesgcp.svg)](https://github.com/helvecioneto/goesgcp/blob/main/LICENSE)\n\u003c!-- badges: end --\u003e\n\n\n`goesgcp` is a Python utility designed for downloading and reprojecting GOES-R satellite data. This script leverages the `google.cloud` library for accessing data from the Google Cloud Platform (GCP) and `rioxarray` for reprojecting data to EPSG:4326 (rectangular grid), as well cropping it to a user-defined bounding box.\n\n## Features\n\n- **Download GOES-R satellite data**: Supports GOES-16 and GOES-18.\n- **Reprojection and cropping**: Reprojects data to EPSG:4326 and crops to a specified bounding box.\n- **Flexible command-line interface**: Customize download options, variables, channels, time range, and output format.\n- **Efficient processing**: Handles large datasets with optimized performance.\n\n## Installation\n\nInstall the package via `pip`:\n\n```bash\npip install goesgcp\n```\n\n\nObs: If gdal is not installed, you can install it using the following command:\n\nLinux:\n```bash\nsudo apt-get install gdal-bin\n```\n\nWindows:\n```bash\nconda install -c conda-forge gdal\n```\n\nMacOS:\n```bash\nbrew install gdal\n```\n\nOr you can install the wheel file:\n\n```bash\npython -m pip install gdal -f https://girder.github.io/large_image_wheels\n```\n\nand install other dependencies:\n\n```bash\npip install -r requirements.txt\n```\n\n\n\n## Usage\n\n### Available Command-Line Arguments\n\nThe script uses the `argparse` module for handling command-line arguments. Below are the available options:\n\n```bash\ngoesgcp [OPTIONS]\n```\n\n| Option               | Description                                                                |\n|----------------------|----------------------------------------------------------------------------|\n| `--satellite`         | Name of the satellite (e.g., goes16).                                     |\n| `--product`           | Name of the satellite product (e.g., ABI-L2-CMIPF).                       |\n| `--var_name`          | Variable name to extract (e.g., CMI).                                     |\n| `--channel`           | Channel to use (e.g., 13).                                                |\n| `--output`            | Path for saving output files (default: `output/`).                        | \n| `--lat_min`           | Minimum latitude of the bounding box (default: `-56`).                    |\n| `--lat_max`           | Maximum latitude of the bounding box (default: `35`).                     |\n| `--lon_min`           | Minimum longitude of the bounding box (default: `-116`).                  |\n| `--lon_max`           | Maximum longitude of the bounding box (default: `-25`).                   |\n| `--resolution`        | Set the reprojet data resolution in degree (default: `-0.045`).           |\n| `--recent`            | Number of most recent data to download (default: `1`).                    |\n| `--start`             | Start date for downloading data (default: `None`).                        |\n| `--end`               | End date for downloading data (default: `None`).                          |\n| `--bt_hour`           | Hour of the day to download data (default: [0, 1, ..., 23]).              |\n| `--bt_minute`         | Minute of the hour to download data (default: [0, 15, 30, 45]).           |\n| `--save_format`       | Format for saving output files (default: `by_date`).                      |\n| `--remap`             | Remap the data based on file (This function are in development).          |\n\n#### Available GOES Products\nA comprehensive list of available GOES products can be found at the following link: [https://console.cloud.google.com/storage/browser/gcp-public-data-goes-16](https://console.cloud.google.com/storage/browser/gcp-public-data-goes-16)\n\n### Examples\n\n#### Download Recent Data\nIn the example below, the command downloads the 3 most recent files from the GOES-16 satellite for the product ABI-L2-CMIPF. It focuses on the variable CMI (Cloud and Moisture Imagery) from channel 13, which is commonly used for infrared observations. The downloaded files are saved to the specified output directory output/.\n\n```bash\ngoesgcp --satellite goes-16 --recent 3 --product ABI-L2-CMIPF --var_name CMI --channel 13 --output \"output/\"\n```\n\n#### Download Data for a Specific Time Range\nThis command retrieves GOES-16 satellite data for the product ABI-L2-CMIPF within the date range 2022-12-15 00:00:00 to 2022-12-15 12:00:00, focusing on hours 5:00 and 6:00 AM. The data is cropped to the geographic bounds of -35° to 5° latitude and -80° to -30° longitude, reprojected with a resolution of 0.045 degrees, and saved in a by_date format for easy organization.\n\n```bash\ngoesgcp --satellite goes-16 --product ABI-L2-CMIPF --start \"2022-12-15 00:00:00\" --end \"2022-12-15 12:00:00\" --bt_hour 5 6 --save_format by_date --resolution 0.045 --lat_min -35 --lat_max 5 --lon_min -80 --lon_max -30\n```\n\n### Contributing\nContributions are welcome! If you encounter issues or have suggestions for improvements, please submit them via GitHub issues or pull requests.\n\n### Credits\nThis project was developed and optimized by Helvecio Neto (2025).\nIt builds upon NOAA GOES-R data and leverages resources provided by the Google Cloud Platform.\n\n### License\nThis project is licensed under the MIT License. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelvecioneto%2Fgoesgcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhelvecioneto%2Fgoesgcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelvecioneto%2Fgoesgcp/lists"}