goesgcp 1.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- goesgcp-1.0.0/LICENSE +21 -0
- goesgcp-1.0.0/PKG-INFO +73 -0
- goesgcp-1.0.0/README.md +48 -0
- goesgcp-1.0.0/goesgcp.egg-info/PKG-INFO +73 -0
- goesgcp-1.0.0/goesgcp.egg-info/SOURCES.txt +9 -0
- goesgcp-1.0.0/goesgcp.egg-info/dependency_links.txt +1 -0
- goesgcp-1.0.0/goesgcp.egg-info/entry_points.txt +2 -0
- goesgcp-1.0.0/goesgcp.egg-info/requires.txt +5 -0
- goesgcp-1.0.0/goesgcp.egg-info/top_level.txt +1 -0
- goesgcp-1.0.0/setup.cfg +4 -0
- goesgcp-1.0.0/setup.py +42 -0
goesgcp-1.0.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 Helvecio B. Leal Neto
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
goesgcp-1.0.0/PKG-INFO
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: goesgcp
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: A package to download and process GOES-16/17 data
|
|
5
|
+
Home-page: https://github.com/helvecioneto/goesgcp
|
|
6
|
+
Author: Helvecio B. L. Neto
|
|
7
|
+
Author-email: helvecioblneto@gmail.com
|
|
8
|
+
License: LICENSE
|
|
9
|
+
Classifier: Programming Language :: Python
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Operating System :: OS Independent
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Classifier: Topic :: Scientific/Engineering
|
|
16
|
+
Classifier: Topic :: Software Development
|
|
17
|
+
Classifier: Topic :: Utilities
|
|
18
|
+
Description-Content-Type: text/markdown
|
|
19
|
+
License-File: LICENSE
|
|
20
|
+
Requires-Dist: google-cloud-storage
|
|
21
|
+
Requires-Dist: pyproj
|
|
22
|
+
Requires-Dist: xarray
|
|
23
|
+
Requires-Dist: netcdf4
|
|
24
|
+
Requires-Dist: rioxarray
|
|
25
|
+
|
|
26
|
+
# goesgcp
|
|
27
|
+
|
|
28
|
+
goesgcp is a utility script for downloading and reprojecting GOES-R satellite data. The script uses the `google.cloud` library to download data from the Google Cloud Platform (GCP) and the `pyproj` library to reproject the data to EPSG:4326 and crop it to a specified bounding box.
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
## Installation
|
|
32
|
+
|
|
33
|
+
You can install the necessary dependencies using `pip`:
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
pip install goesgcp
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Usage
|
|
40
|
+
|
|
41
|
+
### Command-Line Arguments
|
|
42
|
+
|
|
43
|
+
The script uses the `argparse` module for handling command-line arguments. Below are the available options:
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
goesgcp [OPTIONS]
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
| Option | Description |
|
|
50
|
+
|----------------------|-----------------------------------------------------------------------------|
|
|
51
|
+
| `--satellite` | Name of the satellite (e.g., goes16). |
|
|
52
|
+
| `--product` | Name of the satellite product (e.g., ABI-L2-CMIPF). |
|
|
53
|
+
| `--var_name` | Variable name to extract (e.g., CMI). |
|
|
54
|
+
| `--channel` | Channel to use (e.g., 13). | |
|
|
55
|
+
| `--between_minutes` | Filter data between these minutes (default: `[0, 60]`). |
|
|
56
|
+
| `--output_path` | Path for saving output files (default: `output/`). | |
|
|
57
|
+
| `--lat_min` | Minimum latitude of the bounding box (default: `-56`). |
|
|
58
|
+
| `--lat_max` | Maximum latitude of the bounding box (default: `35`). |
|
|
59
|
+
| `--lon_min` | Minimum longitude of the bounding box (default: `-116`). |
|
|
60
|
+
| `--lon_max` | Maximum longitude of the bounding box (default: `-25`). |
|
|
61
|
+
| `--max_attempts` | Number of attempts to download a file before logging a failure (default: `3`).|
|
|
62
|
+
|
|
63
|
+
### Examples
|
|
64
|
+
|
|
65
|
+
To download and process recent data for the GOES-16 satellite, ABI-L2-CMIPF product, variable CMI, and channel 13, run the following command:
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
goesgcp --satellite goes16 --product ABI-L2-CMIPF --var_name CMI --channel 13 --recent 3 --output_path "output/"
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### Credits
|
|
72
|
+
All the credit goes to the original author of the **goes2go** library.
|
|
73
|
+
And this is a otimization by Helvecio Neto - 2025
|
goesgcp-1.0.0/README.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# goesgcp
|
|
2
|
+
|
|
3
|
+
goesgcp is a utility script for downloading and reprojecting GOES-R satellite data. The script uses the `google.cloud` library to download data from the Google Cloud Platform (GCP) and the `pyproj` library to reproject the data to EPSG:4326 and crop it to a specified bounding box.
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
## Installation
|
|
7
|
+
|
|
8
|
+
You can install the necessary dependencies using `pip`:
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
pip install goesgcp
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
### Command-Line Arguments
|
|
17
|
+
|
|
18
|
+
The script uses the `argparse` module for handling command-line arguments. Below are the available options:
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
goesgcp [OPTIONS]
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
| Option | Description |
|
|
25
|
+
|----------------------|-----------------------------------------------------------------------------|
|
|
26
|
+
| `--satellite` | Name of the satellite (e.g., goes16). |
|
|
27
|
+
| `--product` | Name of the satellite product (e.g., ABI-L2-CMIPF). |
|
|
28
|
+
| `--var_name` | Variable name to extract (e.g., CMI). |
|
|
29
|
+
| `--channel` | Channel to use (e.g., 13). | |
|
|
30
|
+
| `--between_minutes` | Filter data between these minutes (default: `[0, 60]`). |
|
|
31
|
+
| `--output_path` | Path for saving output files (default: `output/`). | |
|
|
32
|
+
| `--lat_min` | Minimum latitude of the bounding box (default: `-56`). |
|
|
33
|
+
| `--lat_max` | Maximum latitude of the bounding box (default: `35`). |
|
|
34
|
+
| `--lon_min` | Minimum longitude of the bounding box (default: `-116`). |
|
|
35
|
+
| `--lon_max` | Maximum longitude of the bounding box (default: `-25`). |
|
|
36
|
+
| `--max_attempts` | Number of attempts to download a file before logging a failure (default: `3`).|
|
|
37
|
+
|
|
38
|
+
### Examples
|
|
39
|
+
|
|
40
|
+
To download and process recent data for the GOES-16 satellite, ABI-L2-CMIPF product, variable CMI, and channel 13, run the following command:
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
goesgcp --satellite goes16 --product ABI-L2-CMIPF --var_name CMI --channel 13 --recent 3 --output_path "output/"
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### Credits
|
|
47
|
+
All the credit goes to the original author of the **goes2go** library.
|
|
48
|
+
And this is a otimization by Helvecio Neto - 2025
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: goesgcp
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: A package to download and process GOES-16/17 data
|
|
5
|
+
Home-page: https://github.com/helvecioneto/goesgcp
|
|
6
|
+
Author: Helvecio B. L. Neto
|
|
7
|
+
Author-email: helvecioblneto@gmail.com
|
|
8
|
+
License: LICENSE
|
|
9
|
+
Classifier: Programming Language :: Python
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Operating System :: OS Independent
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Classifier: Topic :: Scientific/Engineering
|
|
16
|
+
Classifier: Topic :: Software Development
|
|
17
|
+
Classifier: Topic :: Utilities
|
|
18
|
+
Description-Content-Type: text/markdown
|
|
19
|
+
License-File: LICENSE
|
|
20
|
+
Requires-Dist: google-cloud-storage
|
|
21
|
+
Requires-Dist: pyproj
|
|
22
|
+
Requires-Dist: xarray
|
|
23
|
+
Requires-Dist: netcdf4
|
|
24
|
+
Requires-Dist: rioxarray
|
|
25
|
+
|
|
26
|
+
# goesgcp
|
|
27
|
+
|
|
28
|
+
goesgcp is a utility script for downloading and reprojecting GOES-R satellite data. The script uses the `google.cloud` library to download data from the Google Cloud Platform (GCP) and the `pyproj` library to reproject the data to EPSG:4326 and crop it to a specified bounding box.
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
## Installation
|
|
32
|
+
|
|
33
|
+
You can install the necessary dependencies using `pip`:
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
pip install goesgcp
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Usage
|
|
40
|
+
|
|
41
|
+
### Command-Line Arguments
|
|
42
|
+
|
|
43
|
+
The script uses the `argparse` module for handling command-line arguments. Below are the available options:
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
goesgcp [OPTIONS]
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
| Option | Description |
|
|
50
|
+
|----------------------|-----------------------------------------------------------------------------|
|
|
51
|
+
| `--satellite` | Name of the satellite (e.g., goes16). |
|
|
52
|
+
| `--product` | Name of the satellite product (e.g., ABI-L2-CMIPF). |
|
|
53
|
+
| `--var_name` | Variable name to extract (e.g., CMI). |
|
|
54
|
+
| `--channel` | Channel to use (e.g., 13). | |
|
|
55
|
+
| `--between_minutes` | Filter data between these minutes (default: `[0, 60]`). |
|
|
56
|
+
| `--output_path` | Path for saving output files (default: `output/`). | |
|
|
57
|
+
| `--lat_min` | Minimum latitude of the bounding box (default: `-56`). |
|
|
58
|
+
| `--lat_max` | Maximum latitude of the bounding box (default: `35`). |
|
|
59
|
+
| `--lon_min` | Minimum longitude of the bounding box (default: `-116`). |
|
|
60
|
+
| `--lon_max` | Maximum longitude of the bounding box (default: `-25`). |
|
|
61
|
+
| `--max_attempts` | Number of attempts to download a file before logging a failure (default: `3`).|
|
|
62
|
+
|
|
63
|
+
### Examples
|
|
64
|
+
|
|
65
|
+
To download and process recent data for the GOES-16 satellite, ABI-L2-CMIPF product, variable CMI, and channel 13, run the following command:
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
goesgcp --satellite goes16 --product ABI-L2-CMIPF --var_name CMI --channel 13 --recent 3 --output_path "output/"
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### Credits
|
|
72
|
+
All the credit goes to the original author of the **goes2go** library.
|
|
73
|
+
And this is a otimization by Helvecio Neto - 2025
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
goesgcp-1.0.0/setup.cfg
ADDED
goesgcp-1.0.0/setup.py
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import os
|
|
2
|
+
|
|
3
|
+
try:
|
|
4
|
+
os.system("python -m ensurepip --upgrade")
|
|
5
|
+
os.system("python -m pip install --upgrade setuptools")
|
|
6
|
+
except:
|
|
7
|
+
pass
|
|
8
|
+
|
|
9
|
+
from setuptools import setup, find_packages
|
|
10
|
+
|
|
11
|
+
with open('requirements.txt') as f:
|
|
12
|
+
requirements = f.read().splitlines()
|
|
13
|
+
|
|
14
|
+
setup(
|
|
15
|
+
name="goesgcp",
|
|
16
|
+
version='1.0.0',
|
|
17
|
+
author="Helvecio B. L. Neto",
|
|
18
|
+
author_email="helvecioblneto@gmail.com",
|
|
19
|
+
description="A package to download and process GOES-16/17 data",
|
|
20
|
+
long_description=open("README.md").read(),
|
|
21
|
+
long_description_content_type="text/markdown",
|
|
22
|
+
url="https://github.com/helvecioneto/goesgcp",
|
|
23
|
+
packages=find_packages(),
|
|
24
|
+
install_requires=requirements,
|
|
25
|
+
license="LICENSE",
|
|
26
|
+
classifiers=[
|
|
27
|
+
"Programming Language :: Python",
|
|
28
|
+
"Development Status :: 5 - Production/Stable",
|
|
29
|
+
"Operating System :: OS Independent",
|
|
30
|
+
"Programming Language :: Python :: 3.10",
|
|
31
|
+
"Programming Language :: Python :: 3.11",
|
|
32
|
+
"Programming Language :: Python :: 3.12",
|
|
33
|
+
"Topic :: Scientific/Engineering",
|
|
34
|
+
"Topic :: Software Development",
|
|
35
|
+
"Topic :: Utilities",
|
|
36
|
+
],
|
|
37
|
+
entry_points={
|
|
38
|
+
'console_scripts': [
|
|
39
|
+
'goesgcp=goesgcp.main:main',
|
|
40
|
+
],
|
|
41
|
+
},
|
|
42
|
+
)
|