A package to download and process GOES-16/17 data
Project description
goesgcp
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.
Features
- Download GOES-R satellite data: Supports GOES-16 and GOES-18.
- Reprojection and cropping: Reprojects data to EPSG:4326 and crops to a specified bounding box.
- Flexible command-line interface: Customize download options, variables, channels, time range, and output format.
- Efficient processing: Handles large datasets with optimized performance.
Installation
Install the package via pip:
pip install goesgcp
Obs: If gdal is not installed, you can install it using the following command:
Linux:
sudo apt-get install gdal-bin
Windows:
conda install -c conda-forge gdal
MacOS:
brew install gdal
Or you can install the wheel file:
python -m pip install gdal -f https://girder.github.io/large_image_wheels
and install other dependencies:
pip install -r requirements.txt
Usage
Available Command-Line Arguments
The script uses the argparse module for handling command-line arguments. Below are the available options:
goesgcp [OPTIONS]
| Option | Description |
|---|---|
--satellite |
Name of the satellite (e.g., goes16). |
--product |
Name of the satellite product (e.g., ABI-L2-CMIPF). |
--var_name |
Variable name to extract (e.g., CMI). |
--channel |
Channel to use (e.g., 13). |
--output |
Path for saving output files (default: output/). |
--lat_min |
Minimum latitude of the bounding box (default: -56). |
--lat_max |
Maximum latitude of the bounding box (default: 35). |
--lon_min |
Minimum longitude of the bounding box (default: -116). |
--lon_max |
Maximum longitude of the bounding box (default: -25). |
--resolution |
Set the reprojet data resolution in degree (default: -0.045). |
--recent |
Number of most recent data to download (default: 1). |
--start |
Start date for downloading data (default: None). |
--end |
End date for downloading data (default: None). |
--bt_hour |
Hour of the day to download data (default: [0, 1, ..., 23]). |
--bt_minute |
Minute of the hour to download data (default: [0, 15, 30, 45]). |
--save_format |
Format for saving output files (default: by_date). |
--remap |
Remap the data based on file (This function are in development). |
Available GOES Products
A 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
Examples
Download Recent Data
In 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/.
goesgcp --satellite goes-16 --recent 3 --product ABI-L2-CMIPF --var_name CMI --channel 13 --output "output/"
Download Data for a Specific Time Range
This 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.
goesgcp --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
Contributing
Contributions are welcome! If you encounter issues or have suggestions for improvements, please submit them via GitHub issues or pull requests.
Credits
This project was developed and optimized by Helvecio Neto (2025). It builds upon NOAA GOES-R data and leverages resources provided by the Google Cloud Platform.
License
This project is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file goesgcp-3.1.3.tar.gz.
File metadata
- Download URL: goesgcp-3.1.3.tar.gz
- Upload date:
- Size: 14.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b273f297883c91a342c6b851d061121baafcd03ac4e2f31c8aed8ed0c2a3b67c
|
|
| MD5 |
fcb9684dc2970925f5e725c0cc890b06
|
|
| BLAKE2b-256 |
bfaba0df5005fd457c42621eed6cfa06eae6af031a456f9663b0dfcf1bc5cc55
|
Provenance
The following attestation bundles were made for goesgcp-3.1.3.tar.gz:
Publisher:
python-publish.yml on helvecioneto/goesgcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
goesgcp-3.1.3.tar.gz -
Subject digest:
b273f297883c91a342c6b851d061121baafcd03ac4e2f31c8aed8ed0c2a3b67c - Sigstore transparency entry: 909278364
- Sigstore integration time:
-
Permalink:
helvecioneto/goesgcp@7fc7dfc000cd73b8b685d2594f878f7e2cdced59 -
Branch / Tag:
refs/tags/v3.1.3 - Owner: https://github.com/helvecioneto
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@7fc7dfc000cd73b8b685d2594f878f7e2cdced59 -
Trigger Event:
release
-
Statement type:
File details
Details for the file goesgcp-3.1.3-py3-none-any.whl.
File metadata
- Download URL: goesgcp-3.1.3-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4302a243db40cdef6b8ed834371a0689fe5b8b99faa8ec634b8941abdf29aa4
|
|
| MD5 |
ca8e3e41555b7e1023ae9469716f544d
|
|
| BLAKE2b-256 |
3cb6982ce949571fca8ec1551bc493521b48b4eace5917acd8e525587f431d40
|
Provenance
The following attestation bundles were made for goesgcp-3.1.3-py3-none-any.whl:
Publisher:
python-publish.yml on helvecioneto/goesgcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
goesgcp-3.1.3-py3-none-any.whl -
Subject digest:
d4302a243db40cdef6b8ed834371a0689fe5b8b99faa8ec634b8941abdf29aa4 - Sigstore transparency entry: 909278506
- Sigstore integration time:
-
Permalink:
helvecioneto/goesgcp@7fc7dfc000cd73b8b685d2594f878f7e2cdced59 -
Branch / Tag:
refs/tags/v3.1.3 - Owner: https://github.com/helvecioneto
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@7fc7dfc000cd73b8b685d2594f878f7e2cdced59 -
Trigger Event:
release
-
Statement type: