eotdl 2024.3.15__tar.gz → 2024.4.25__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.
Files changed (78) hide show
  1. {eotdl-2024.3.15 → eotdl-2024.4.25}/PKG-INFO +1 -1
  2. eotdl-2024.4.25/eotdl/__init__.py +1 -0
  3. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/curation/stac/dataframe.py +0 -2
  4. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/datasets/download.py +4 -9
  5. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/datasets/ingest.py +1 -0
  6. {eotdl-2024.3.15 → eotdl-2024.4.25}/pyproject.toml +1 -1
  7. eotdl-2024.3.15/eotdl/__init__.py +0 -1
  8. {eotdl-2024.3.15 → eotdl-2024.4.25}/README.md +0 -0
  9. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/access/__init__.py +0 -0
  10. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/access/airbus/__init__.py +0 -0
  11. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/access/airbus/client.py +0 -0
  12. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/access/airbus/parameters.py +0 -0
  13. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/access/airbus/utils.py +0 -0
  14. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/access/download.py +0 -0
  15. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/access/search.py +0 -0
  16. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/access/sentinelhub/__init__.py +0 -0
  17. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/access/sentinelhub/client.py +0 -0
  18. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/access/sentinelhub/evalscripts.py +0 -0
  19. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/access/sentinelhub/parameters.py +0 -0
  20. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/access/sentinelhub/utils.py +0 -0
  21. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/auth/__init__.py +0 -0
  22. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/auth/auth.py +0 -0
  23. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/auth/errors.py +0 -0
  24. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/auth/is_logged.py +0 -0
  25. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/auth/logout.py +0 -0
  26. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/cli.py +0 -0
  27. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/commands/__init__.py +0 -0
  28. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/commands/auth.py +0 -0
  29. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/commands/datasets.py +0 -0
  30. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/commands/models.py +0 -0
  31. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/curation/__init__.py +0 -0
  32. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/curation/stac/__init__.py +0 -0
  33. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/curation/stac/assets.py +0 -0
  34. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/curation/stac/dataframe_bck.py +0 -0
  35. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/curation/stac/dataframe_labeling.py +0 -0
  36. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/curation/stac/extensions/__init__.py +0 -0
  37. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/curation/stac/extensions/base.py +0 -0
  38. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/curation/stac/extensions/dem.py +0 -0
  39. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/curation/stac/extensions/eo.py +0 -0
  40. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/curation/stac/extensions/label/__init__.py +0 -0
  41. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/curation/stac/extensions/label/base.py +0 -0
  42. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/curation/stac/extensions/label/image_name_labeler.py +0 -0
  43. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/curation/stac/extensions/label/scaneo.py +0 -0
  44. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/curation/stac/extensions/ml_dataset.py +0 -0
  45. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/curation/stac/extensions/projection.py +0 -0
  46. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/curation/stac/extensions/raster.py +0 -0
  47. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/curation/stac/extensions/sar.py +0 -0
  48. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/curation/stac/extent.py +0 -0
  49. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/curation/stac/parsers.py +0 -0
  50. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/curation/stac/stac.py +0 -0
  51. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/datasets/__init__.py +0 -0
  52. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/datasets/metadata.py +0 -0
  53. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/datasets/retrieve.py +0 -0
  54. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/datasets/update.py +0 -0
  55. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/files/__init__.py +0 -0
  56. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/files/ingest.py +0 -0
  57. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/models/__init__.py +0 -0
  58. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/models/download.py +0 -0
  59. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/models/ingest.py +0 -0
  60. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/models/metadata.py +0 -0
  61. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/models/retrieve.py +0 -0
  62. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/models/update.py +0 -0
  63. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/repos/APIRepo.py +0 -0
  64. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/repos/AuthAPIRepo.py +0 -0
  65. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/repos/AuthRepo.py +0 -0
  66. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/repos/DatasetsAPIRepo.py +0 -0
  67. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/repos/FilesAPIRepo.py +0 -0
  68. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/repos/ModelsAPIRepo.py +0 -0
  69. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/repos/__init__.py +0 -0
  70. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/shared/__init__.py +0 -0
  71. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/shared/checksum.py +0 -0
  72. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/tools/__init__.py +0 -0
  73. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/tools/geo_utils.py +0 -0
  74. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/tools/metadata.py +0 -0
  75. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/tools/paths.py +0 -0
  76. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/tools/stac.py +0 -0
  77. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/tools/time_utils.py +0 -0
  78. {eotdl-2024.3.15 → eotdl-2024.4.25}/eotdl/tools/tools.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: eotdl
3
- Version: 2024.3.15
3
+ Version: 2024.4.25
4
4
  Summary: Earth Observation Training Data Lab
5
5
  License: MIT
6
6
  Author: EarthPulse
@@ -0,0 +1 @@
1
+ __version__ = "2024.04.25"
@@ -157,9 +157,7 @@ def read_stac(
157
157
  """
158
158
  if isinstance(stac_file, (str, Path)):
159
159
  stac_file = pystac.read_file(stac_file) # we assume this is always a catalog
160
- print(stac_file)
161
160
  stac_file.make_all_asset_hrefs_absolute()
162
- print("ie")
163
161
  children = get_all_children(stac_file)
164
162
 
165
163
  # Convert Dataframe to STACDataFrame
@@ -60,11 +60,10 @@ def download_dataset(
60
60
  file_version,
61
61
  progress=True,
62
62
  )
63
- # if calculate_checksum(dst_path) != checksum:
64
- # logger(f"Checksum for {file} does not match")
65
-
63
+ if verbose:
64
+ logger("Generating README.md ...")
65
+ generate_metadata(download_path, dataset)
66
66
  else:
67
- # raise NotImplementedError("Downloading a STAC dataset is not implemented")
68
67
  if verbose:
69
68
  logger("Downloading STAC metadata...")
70
69
  repo = DatasetsAPIRepo()
@@ -92,11 +91,7 @@ def download_dataset(
92
91
  href, filename, f"{download_path}/assets", user
93
92
  )
94
93
  else:
95
- if verbose:
96
- logger("To download assets, set assets=True or -a in the CLI.")
97
- if verbose:
98
- logger("Generating README.md ...")
99
- generate_metadata(download_path, dataset)
94
+ logger("To download assets, set assets=True or -a in the CLI.")
100
95
  if verbose:
101
96
  logger("Done")
102
97
  return download_path
@@ -68,6 +68,7 @@ def ingest_folder(
68
68
  metadata = Metadata(**metadata)
69
69
  content = None
70
70
  except Exception as e:
71
+ # print(str(e))
71
72
  raise Exception("Error loading metadata")
72
73
  # retrieve dataset (create if doesn't exist)
73
74
  dataset = retrieve_dataset(metadata, user)
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "eotdl"
3
- version = "2024.03.15"
3
+ version = "2024.04.25"
4
4
  description = "Earth Observation Training Data Lab"
5
5
  authors = ["EarthPulse <it@earthpulse.es>"]
6
6
  license = "MIT"
@@ -1 +0,0 @@
1
- __version__ = "2024.03.15"
File without changes
File without changes
File without changes
File without changes