GOES¶
pansat.products.satellite.goes¶
This module defines the GOES product class, which is used to represent all products from the GOES series of geostationary satellites.
- class pansat.products.satellite.goes.GOES16L1BRadiances(region, channel)¶
Class representing GOES16 L1 radiance products.
- __init__(region, channel)¶
- class pansat.products.satellite.goes.GOES17L1BRadiances(region, channel)¶
Class representing GOES17 L1 radiance products.
- __init__(region, channel)¶
- class pansat.products.satellite.goes.GOESProduct(series_index, level, name, region, channel)¶
Base class for products from any of the currently operational GOES satellites (GOES 16 and 17).
- series_index¶
Index identifying the GOES satellite in the GOES seris.
- Type:
int
- level¶
The operational level of the product.
- Type:
int
- name¶
The name of the product.
- Type:
str
- channel¶
The channel index.
- Type:
int
- __init__(series_index, level, name, region, channel)¶
- __str__()¶
The full product name.
- _get_provider()¶
Find a provider that provides the product.
- property default_destination¶
The default destination for GOES product is
GOES-<index>/<product_name>>
- download(start_time, end_time, destination=None, provider=None)¶
Download data product for given time range.
- Parameters:
start_time (
datetime) –datetimeobject defining the start date of the time range.end_time (
datetime) –datetimeobject defining the end date of the of the time range.destination (
strorpathlib.Path) – The destination where to store the output data.
- filename_to_date(filename)¶
Extract timestamp from filename.
- Parameters:
filename (
str) – Filename of a GOES product.- Returns:
datetimeobject representing the timestamp of thefilename.
- matches(filename)¶
Determines whether a given filename matches the pattern used for the product.
- Parameters:
filename (
str) – The filename- Returns:
True if the filename matches the product, False otherwise.
- open(filename)¶
Open file as xarray dataset.
- Parameters:
filename (
pathlib.Pathorstr) – The GOES file to open.