Skip to main content

A package to download and process GOES-16/17 data

Project description

GOES2REPRO

GOES2REPRO is a utility script that leverages functions from the goes2go library, but focuses on downloading, cropping, and reprojecting GOES satellite data. Allowing users to download data, crop it to a specific geographic area, and reproject it into the EPSG:4326 coordinate reference system. The script provides flexibility for selecting different products, channels, and satellites, with easy integration for parallel processing.

Features

  • Download and process GOES-16 satellite data from S3 using the goes2go library.
  • Crop and reproject the data to EPSG:4326 CRS.
  • Filter the data by specific time ranges, hours, and minutes.
  • Enable parallel processing for faster data handling.
  • Output processed data as NetCDF files.
  • Log failed downloads to fail.log.

Available Products

The script supports various GOES-16 products, which include different channels and satellites. A full list of available products, channels, and satellites can be found in the product_table.txt.

Installation

Prerequisites

You can install the necessary dependencies using pip:

pip install goes2repro

Usage

Command-Line Arguments

The script uses the argparse module for handling command-line arguments. Below are the available options:

goes2repro [OPTIONS]
Option Description
--satellite Name of the satellite (e.g., goes16).
--product Name of the satellite product (e.g., ABI-L2-CMIPF). For a list of available products, see product_table.txt.
--var_name Variable name to extract (e.g., CMI).
--channel Channel to use (e.g., 13).
--start_date Start date in YYYY-MM-DD HH:MM:SS format (default: 2022-12-15 00:00:00).
--end_date End date in YYYY-MM-DD HH:MM:SS format (default: 2022-12-15 01:00:00).
--period Frequency for the time range (default: "10 min").
--between_hours Filter data between these hours (default: [0, 23]).
--between_minutes Filter data between these minutes (default: [0, 60]).
--output_path Path for saving output files (default: output/).
--parallel Enable parallel processing (default: True).
--processes Number of processes for parallel execution (default: 4).
--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).
--max_attempts Number of attempts to download a file before logging a failure (default: 3).

Examples

To use the script to download and process data for the GOES-16 satellite, ABI-L2-CMIPF product, variable CMI, and channel 13, with a time range of 2022-12-15 from 00:00:00 to 01:00:00, run the following command:

goes2repro --satellite goes16 --product ABI-L2-CMIPF --var_name CMI --channel 13 --start_date "2022-12-15 00:00:00" --end_date "2022-12-15 01:00:00"

To download and process recent 30-minute data for the GOES-16 satellite, ABI-L2-CMIPF product, variable CMI, and channel 13, run the following command:

goes2repro --satellite goes16 --product ABI-L2-CMIPF --var_name CMI --channel 13 --recent 30 --output_path "output/"

Credits

All the credit goes to the original author of the goes2go library. And this is a otimization by Helvecio Neto - 2025

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

goes2repro-1.0.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

goes2repro-1.0.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file goes2repro-1.0.0.tar.gz.

File metadata

  • Download URL: goes2repro-1.0.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for goes2repro-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0c7e86809f8262886a1cd522ffe6e2c7d9cfc8a665a8102a67ce11a6a734276d
MD5 6c724bf8ea6f209097d1d331c4a385df
BLAKE2b-256 cd350f2ce097739b58be8156fee6d5e759dde20a6dffb95baac5b734e80ab740

See more details on using hashes here.

File details

Details for the file goes2repro-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: goes2repro-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for goes2repro-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a03dc6ac1dbf4fc969f2e7ec6b89fca69c3f4361d0884308bf43a7ea676c651
MD5 1851036401e97976bc067e86c528cc85
BLAKE2b-256 f83b744a6cf7e6bf827f19eca1a3731cb777306c74dd3a10e22ce13b6dda911f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page