satcube 0.1.9__py3-none-any.whl → 0.1.10__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.

Potentially problematic release.


This version of satcube might be problematic. Click here for more details.

satcube/download.py CHANGED
@@ -5,18 +5,16 @@ import pandas as pd
5
5
 
6
6
 
7
7
  def download_data(
8
- *, # keyword-only
9
8
  lon: float,
10
9
  lat: float,
11
- cloud_max: int = 40,
12
- edge_size: int = 2_048,
13
10
  start: str,
14
11
  end: str,
12
+ cloud_max: int = 40,
13
+ edge_size: int = 2_048,
15
14
  output: str = "raw",
16
15
  scale: int = 10,
17
16
  nworks: int = 4,
18
- mosaic: bool = True,
19
- auto_init_gee: bool = True,
17
+ mosaic: bool = True
20
18
  ) -> pd.DataFrame:
21
19
  """
22
20
  Download a Sentinel cube for (lon, lat) and return its metadata.
@@ -38,13 +36,6 @@ def download_data(
38
36
  pandas.DataFrame
39
37
  Scene catalogue used for the request.
40
38
  """
41
- # EE ready
42
- if auto_init_gee:
43
- try:
44
- ee.Initialize()
45
- except ee.EEException:
46
- ee.Authenticate(); ee.Initialize()
47
-
48
39
  # Filter scenes
49
40
  df = cubexpress.cloud_table(
50
41
  lon=lon,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: satcube
3
- Version: 0.1.9
3
+ Version: 0.1.10
4
4
  Summary: A Python package to create cloud-free monthly composites by fusing Landsat and Sentinel-2 data.
5
5
  Home-page: https://github.com/IPL-UV/satcube
6
6
  Author: Cesar Aybar
@@ -2,12 +2,12 @@ satcube/__init__.py,sha256=WxfiBldO7YXWJFATRjbhWLOnD1mk0b8Pc6HGQYOJZJA,221
2
2
  satcube/cloud_detection.py,sha256=QSzeqCF63kJHzejbrXKL10x-kLxK0iorHvJNALoHYbA,5848
3
3
  satcube/cloud_detection_old.py,sha256=7MviF8QlT2tj6QC3seepr8SZU0nHOK9Pji8AU94Z2q0,751
4
4
  satcube/dataclass.py,sha256=TAAKouyTts5eMtVXRmwWgJb5EaUXryEtkKMtt1O8TKM,934
5
- satcube/download.py,sha256=Tl6_o3ffYIQ5nYmy7D4g3nGoUmd9Zq9_CbhFCH92ffY,1587
5
+ satcube/download.py,sha256=y7NHMSQQg7Vtn-nOlru3fxe4n00sirbG7P31JOfZBn0,1355
6
6
  satcube/download_old.py,sha256=Y7dUgq7Gl7jVKHZl5x9cpxALN9T6dCjtZwNjBiq1CAA,2647
7
7
  satcube/main.py,sha256=BpQJbPXl6Ydj6X3pX2lFepH7w1-cfJ3LeTTsTmQih6s,14841
8
8
  satcube/utils.py,sha256=wQl4ZSrocSZSSU6hjwCA2CYIv8p3deiX8PUKxJRr3yc,1952
9
9
  satcube/utils_old.py,sha256=UBCI2oaL7E5MEjebobnyqGqgOtK6jU9O3t-c58JqZ0k,35057
10
- satcube-0.1.9.dist-info/LICENSE,sha256=YdB4BQMkMzWuKvXRIpQR4g91IQ_pwA5PSH2lNM97zFI,1070
11
- satcube-0.1.9.dist-info/METADATA,sha256=-4PWdQijSwLYThXMBnPM9N2unihnjrOl5neyM0DEHBE,6685
12
- satcube-0.1.9.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
13
- satcube-0.1.9.dist-info/RECORD,,
10
+ satcube-0.1.10.dist-info/LICENSE,sha256=YdB4BQMkMzWuKvXRIpQR4g91IQ_pwA5PSH2lNM97zFI,1070
11
+ satcube-0.1.10.dist-info/METADATA,sha256=3hBb9BfFXIi6ZqMKCvJCCrVkFHbLPetMRpmHBr0Atpg,6686
12
+ satcube-0.1.10.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
13
+ satcube-0.1.10.dist-info/RECORD,,