eotdl 2023.9.14.post2__tar.gz → 2023.9.14.post4__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 (63) hide show
  1. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/PKG-INFO +1 -1
  2. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/commands/datasets.py +2 -2
  3. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/src/usecases/datasets/DownloadDataset.py +1 -1
  4. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/src/usecases/datasets/IngestSTAC.py +1 -0
  5. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/pyproject.toml +1 -1
  6. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/README.md +0 -0
  7. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/__init__.py +0 -0
  8. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/access/__init__.py +0 -0
  9. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/access/parameters.py +0 -0
  10. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/access/sentinelhub/__init__.py +0 -0
  11. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/access/sentinelhub/client.py +0 -0
  12. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/access/sentinelhub/utils.py +0 -0
  13. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/auth/__init__.py +0 -0
  14. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/auth/main.py +0 -0
  15. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/cli.py +0 -0
  16. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/commands/__init__.py +0 -0
  17. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/commands/auth.py +0 -0
  18. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/curation/__init__.py +0 -0
  19. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/curation/formatters.py +0 -0
  20. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/curation/metadata.py +0 -0
  21. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/curation/stac/__init__.py +0 -0
  22. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/curation/stac/assets.py +0 -0
  23. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/curation/stac/dataframe.py +0 -0
  24. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/curation/stac/dataframe_bck.py +0 -0
  25. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/curation/stac/extensions.py +0 -0
  26. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/curation/stac/extent.py +0 -0
  27. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/curation/stac/ml_dataset.py +0 -0
  28. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/curation/stac/parsers.py +0 -0
  29. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/curation/stac/stac.py +0 -0
  30. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/curation/stac/utils.py +0 -0
  31. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/datasets/__init__.py +0 -0
  32. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/datasets/download.py +0 -0
  33. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/datasets/ingest.py +0 -0
  34. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/datasets/retrieve.py +0 -0
  35. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/hello.py +0 -0
  36. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/src/__init__.py +0 -0
  37. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/src/errors/__init__.py +0 -0
  38. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/src/errors/auth.py +0 -0
  39. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/src/models/__init__.py +0 -0
  40. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/src/models/metadata.py +0 -0
  41. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/src/repos/APIRepo.py +0 -0
  42. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/src/repos/AuthRepo.py +0 -0
  43. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/src/repos/__init__.py +0 -0
  44. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/src/usecases/__init__.py +0 -0
  45. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/src/usecases/auth/Auth.py +0 -0
  46. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/src/usecases/auth/IsLogged.py +0 -0
  47. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/src/usecases/auth/Logout.py +0 -0
  48. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/src/usecases/auth/__init__.py +0 -0
  49. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/src/usecases/datasets/DownloadFile.py +0 -0
  50. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/src/usecases/datasets/DownloadFileURL.py +0 -0
  51. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/src/usecases/datasets/IngestDataset.py +0 -0
  52. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/src/usecases/datasets/IngestFile.py +0 -0
  53. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/src/usecases/datasets/IngestFolder.py +0 -0
  54. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/src/usecases/datasets/IngestLargeDataset.py +0 -0
  55. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/src/usecases/datasets/IngestLargeDatasetParallel.py +0 -0
  56. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/src/usecases/datasets/RetrieveDataset.py +0 -0
  57. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/src/usecases/datasets/RetrieveDatasets.py +0 -0
  58. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/src/usecases/datasets/__init__.py +0 -0
  59. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/src/utils.py +0 -0
  60. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/tools/__init__.py +0 -0
  61. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/tools/sen12floods/__init__.py +0 -0
  62. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/tools/sen12floods/tools.py +0 -0
  63. {eotdl-2023.9.14.post2 → eotdl-2023.9.14.post4}/eotdl/tools/stac.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: eotdl
3
- Version: 2023.9.14.post2
3
+ Version: 2023.9.14.post4
4
4
  Summary: Earth Observation Training Data Lab
5
5
  License: MIT
6
6
  Author: EarthPulse
@@ -35,8 +35,8 @@ def list():
35
35
  @app.command()
36
36
  def get(
37
37
  dataset: str,
38
- path: Path = typer.Option(None, "--path", "-p", help="Download to a specific path"),
39
- file: bool = typer.Option(None, "--file", "-f", help="Download a specific file"),
38
+ path: str = typer.Option(None, "--path", "-p", help="Download to a specific path"),
39
+ file: str = typer.Option(None, "--file", "-f", help="Download a specific file"),
40
40
  assets: bool = typer.Option(False, "--assets", "-a", help="Download assets"),
41
41
  force: bool = typer.Option(
42
42
  False, "--force", "-f", help="Force download even if file exists"
@@ -44,9 +44,9 @@ class DownloadDataset:
44
44
  download_path = download_base_path + "/" + inputs.dataset
45
45
  else:
46
46
  download_path = inputs.path + "/" + inputs.dataset
47
- os.makedirs(download_path, exist_ok=True)
48
47
  # check if dataset already exists
49
48
  if os.path.exists(download_path) and not inputs.force:
49
+ os.makedirs(download_path, exist_ok=True)
50
50
  raise Exception(
51
51
  f"Dataset {inputs.dataset} already exists at {download_path}. To force download, use force=True or -f in the CLI."
52
52
  )
@@ -52,6 +52,7 @@ class IngestSTAC:
52
52
  # for asset in df.assets.dropna().values[:10]:
53
53
  try:
54
54
  for k, v in row[1]["assets"].items():
55
+ print(k, v)
55
56
  data = self.ingest_file(
56
57
  v["href"],
57
58
  dataset_id,
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "eotdl"
3
- version = "2023.09.14-2"
3
+ version = "2023.09.14-4"
4
4
  description = "Earth Observation Training Data Lab"
5
5
  authors = ["EarthPulse <it@earthpulse.es>"]
6
6
  license = "MIT"