goesgcp 1.0.8__py3-none-any.whl → 1.0.9__py3-none-any.whl
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/main.py +3 -0
- {goesgcp-1.0.8.dist-info → goesgcp-1.0.9.dist-info}/METADATA +1 -1
- goesgcp-1.0.9.dist-info/RECORD +8 -0
- {goesgcp-1.0.8.dist-info → goesgcp-1.0.9.dist-info}/WHEEL +1 -1
- goesgcp-1.0.8.dist-info/RECORD +0 -8
- {goesgcp-1.0.8.dist-info → goesgcp-1.0.9.dist-info}/LICENSE +0 -0
- {goesgcp-1.0.8.dist-info → goesgcp-1.0.9.dist-info}/entry_points.txt +0 -0
- {goesgcp-1.0.8.dist-info → goesgcp-1.0.9.dist-info}/top_level.txt +0 -0
goesgcp/main.py
CHANGED
|
@@ -21,6 +21,7 @@ def list_blobs(connection, bucket_name, prefix):
|
|
|
21
21
|
bucket = connection.bucket(bucket_name)
|
|
22
22
|
|
|
23
23
|
blobs = bucket.list_blobs(prefix=prefix)
|
|
24
|
+
|
|
24
25
|
return blobs
|
|
25
26
|
|
|
26
27
|
def get_directory_prefix(year, julian_day, hour):
|
|
@@ -44,6 +45,8 @@ def get_recent_files(connection, bucket_name, base_prefix, pattern, min_files):
|
|
|
44
45
|
while len(files) < min_files:
|
|
45
46
|
year = current_time.year
|
|
46
47
|
julian_day = current_time.timetuple().tm_yday # Get the Julian day
|
|
48
|
+
# Add 3 digits to the Julian day
|
|
49
|
+
julian_day = str(julian_day).zfill(3)
|
|
47
50
|
hour = current_time.hour
|
|
48
51
|
|
|
49
52
|
# Generate the directory prefix for the current date and time
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
goesgcp/__init__.py,sha256=MigXIT7A1M9YZuH2MyjKReSziFwzbZX2boVYsLosR6s,22
|
|
2
|
+
goesgcp/main.py,sha256=Rk_VWU7Xg6WZWqG0SRBikUjcinMX6risIHBnv6KiKpA,11188
|
|
3
|
+
goesgcp-1.0.9.dist-info/LICENSE,sha256=AHeZifD4UyBZI61Ug5lETXgX3Anp_XfAvFXQqrW9AnU,1078
|
|
4
|
+
goesgcp-1.0.9.dist-info/METADATA,sha256=DrTSCYr4w0CWovIn9Xd2O2tV1pleZu-GNcKnG9CmgZw,2993
|
|
5
|
+
goesgcp-1.0.9.dist-info/WHEEL,sha256=A3WOREP4zgxI0fKrHUG8DC8013e3dK3n7a6HDbcEIwE,91
|
|
6
|
+
goesgcp-1.0.9.dist-info/entry_points.txt,sha256=6afMW51WnUR9VZ_xvDoiB8JQb2OFiLuzRtV6dPL__OQ,46
|
|
7
|
+
goesgcp-1.0.9.dist-info/top_level.txt,sha256=C-C3vipI0AwEDW9nWFkJ6D0TkcKkIYlyyM15LMskUEc,8
|
|
8
|
+
goesgcp-1.0.9.dist-info/RECORD,,
|
goesgcp-1.0.8.dist-info/RECORD
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
goesgcp/__init__.py,sha256=MigXIT7A1M9YZuH2MyjKReSziFwzbZX2boVYsLosR6s,22
|
|
2
|
-
goesgcp/main.py,sha256=_7QyMp7MRfAvCb5ChqTc2dyeyQwc5ftH5nJJz6HiD4Y,11100
|
|
3
|
-
goesgcp-1.0.8.dist-info/LICENSE,sha256=AHeZifD4UyBZI61Ug5lETXgX3Anp_XfAvFXQqrW9AnU,1078
|
|
4
|
-
goesgcp-1.0.8.dist-info/METADATA,sha256=IlkX413bUXozaKP2s65cj8aq2HbAPRbdFNEkPwiaA0o,2993
|
|
5
|
-
goesgcp-1.0.8.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
|
6
|
-
goesgcp-1.0.8.dist-info/entry_points.txt,sha256=6afMW51WnUR9VZ_xvDoiB8JQb2OFiLuzRtV6dPL__OQ,46
|
|
7
|
-
goesgcp-1.0.8.dist-info/top_level.txt,sha256=C-C3vipI0AwEDW9nWFkJ6D0TkcKkIYlyyM15LMskUEc,8
|
|
8
|
-
goesgcp-1.0.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|