Skip to content

Commit ad354ed

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent d4f6ddf commit ad354ed

7 files changed

+34
-36
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
All notable changes to **GOES-API** will be documented in this file.
44

5-
## \[0.0.1\] - GOES-API Birth Date - 2023-03-27
5+
## [0.0.1] - GOES-API Birth Date - 2023-03-27
66

77
First release of GOES-API.

ci/environment.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@ dependencies:
1515
- pytest-cov
1616
- pytest-mock
1717
- pytest-sugar
18-

ci/environment_latest.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@ dependencies:
1515
- pytest-cov
1616
- pytest-mock
1717
- pytest-sugar
18-

docs/ABI_SCAN_MODES.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ Mode 3 (GOES16, GOES17)
77
- Default operational mode till April 2, 2019
88
- FULL DISK every 15 minutes
99
- CONUS/PACUS every 5 minutes
10-
- Mesoscale every 1 minutes (TODO: when 30 seconds)
10+
- Mesoscale every 1 minutes (TODO: when 30 seconds)
1111

12-
Mode 6 (difference between GOES-16 and GOES-17)
12+
Mode 6 (difference between GOES-16 and GOES-17)
1313

1414
- Default operational mode till since April 2, 2019
1515
- FULL DISK every 10 minutes
1616
- CONUS/PACUS every 5 minutes
17-
- Mesoscale every 1 minutes (TODO: when 30 seconds)
17+
- Mesoscale every 1 minutes (TODO: when 30 seconds)
1818

1919
Mode 4
2020

docs/DOCUMENTATION.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
GOES-16 (GOES-R)
44

5-
- November 30 - December 11 2017: Drifting from 89.5 °W to the GOES-East operational location (75.2° W) \[todo: check if 89.5 is correct\]
5+
- November 30 - December 11 2017: Drifting from 89.5 °W to the GOES-East operational location (75.2° W) [todo: check if 89.5 is correct]
66
- Nominal operation resumed on December 18, 2017
77
- Declared GOES-EAST on December 18, 2017
88
- Biased IR bands before June 19, 2018
@@ -62,7 +62,7 @@ Calibration event log
6262

6363
Precomputed angles/latlon
6464

65-
- https://www.star.nesdis.noaa.gov/pub/smcd/spb/fwu/tmp/latlon_angle/ (lon=-135.0 deg) and East (lon=-75.0)
65+
- https://www.star.nesdis.noaa.gov/pub/smcd/spb/fwu/tmp/latlon_angle/ (lon=-135.0 deg) and East (lon=-75.0)
6666

6767
GOES weighting functions
6868

@@ -142,7 +142,7 @@ The L2 Cloud and Moisture Imagery (MCMIP) products contains all the 16 spectral
142142
## ABI Raw Data
143143

144144
Data are saved as 16-bit scaled integers, rather than 32-bit floating point values.
145-
To unpack: unpacked_value = packed_value * scale_factor + add_offset
145+
To unpack: unpacked_value = packed_value * scale_factor + add_offset
146146
To pack: packed_value = (unpacked_value - add_offset) / scale_factor
147147
--> The scale factor is calculated with the formula (Max Value - Min Value)/65530
148148

@@ -202,7 +202,7 @@ Oracle cloud storage
202202

203203
- https://opendata.oraclecloud.com/ords/r/opendata/opendata/details?data_set_id=2&clear=CR,8&session=2142808942446
204204

205-
Microsoft West Europe Azure Blob Storage (only limited products)
205+
Microsoft West Europe Azure Blob Storage (only limited products)
206206

207207
- https://planetarycomputer.microsoft.com/dataset/goes-cmi
208208
- https://planetarycomputer.microsoft.com/dataset/goes-cmi#Storage-Documentation
@@ -216,7 +216,7 @@ Microsoft West Europe Azure Blob Storage (only limited products)
216216
- [fsspec](https://github.com/fsspec)
217217
- [s3fs](https://s3fs.readthedocs.io/en/latest/) (via boto3)
218218
- [gcsfs](https://gcsfs.readthedocs.io/en/latest/index.html)
219-
- [adlfs](https://github.com/fsspec/adlfs) (via azure.storage.blob ???)
219+
- [adlfs](https://github.com/fsspec/adlfs) (via azure.storage.blob ???)
220220

221221
## Example cloud bucket url
222222

goes_api/__init__.py

+24-24
Original file line numberDiff line numberDiff line change
@@ -62,41 +62,41 @@
6262
)
6363

6464
__all__ = [
65-
"define_configs",
66-
"read_configs",
67-
"available_protocols",
68-
"available_sensors",
69-
"available_satellites",
70-
"available_sectors",
71-
"available_product_levels",
72-
"available_products",
73-
"available_scan_modes",
7465
"available_channels",
7566
"available_connection_types",
7667
"available_group_keys",
77-
"get_available_online_product",
78-
"download_files",
68+
"available_product_levels",
69+
"available_products",
70+
"available_protocols",
71+
"available_satellites",
72+
"available_scan_modes",
73+
"available_sectors",
74+
"available_sensors",
75+
"define_configs",
7976
"download_closest_files",
77+
"download_daily_files",
78+
"download_files",
8079
"download_latest_files",
80+
"download_monthly_files",
8181
"download_next_files",
8282
"download_previous_files",
83-
"download_daily_files",
84-
"download_monthly_files",
85-
"find_files",
86-
"find_latest_files",
87-
"find_closest_files",
88-
"find_previous_files",
89-
"find_next_files",
90-
"find_closest_start_time",
91-
"find_latest_start_time",
92-
"group_files",
93-
"ensure_operational_data",
9483
"ensure_data_availability",
84+
"ensure_operational_data",
9585
"ensure_regular_timesteps",
9686
"filter_files",
87+
"find_closest_files",
88+
"find_closest_start_time",
89+
"find_files",
90+
"find_latest_files",
91+
"find_latest_start_time",
92+
"find_next_files",
93+
"find_previous_files",
9794
"generate_kerchunk_files",
98-
"open_explorer",
99-
"open_explorer_dir",
95+
"get_available_online_product",
96+
"group_files",
10097
"open_abi_channel_guide",
10198
"open_abi_product_guide",
99+
"open_explorer",
100+
"open_explorer_dir",
101+
"read_configs",
102102
]

goes_api/search.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def decorator(*args, **kwargs):
8181
# Multiproduct case
8282
if isinstance(kwargs["product"], list):
8383
products = kwargs["product"]
84-
group_by_key = kwargs.get("group_by_key", None)
84+
group_by_key = kwargs.get("group_by_key")
8585
operational_checks = kwargs.get("operational_checks", True)
8686
list_fpaths = []
8787
for product in products:

0 commit comments

Comments
 (0)