ECOv003-L2T-STARS 1.4.1__tar.gz → 1.6.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.
Files changed (92) hide show
  1. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/ECOv003_DL.py +5 -5
  2. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/L2T_STARS.py +30 -28
  3. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/Manifest.toml +206 -192
  4. ecov003_l2t_stars-1.6.0/ECOv003_L2T_STARS/constants.py +51 -0
  5. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/generate_L2T_STARS_runconfig.py +5 -5
  6. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/generate_NDVI_fine_image.py +2 -2
  7. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/generate_STARS_inputs.py +3 -3
  8. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/generate_albedo_fine_image.py +2 -2
  9. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/main.py +14 -14
  10. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/process_STARS_product.py +10 -9
  11. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/retrieve_STARS_sources.py +4 -5
  12. ecov003_l2t_stars-1.6.0/ECOv003_L2T_STARS/version.txt +1 -0
  13. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS.egg-info/PKG-INFO +2 -2
  14. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS.egg-info/requires.txt +1 -1
  15. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/PKG-INFO +2 -2
  16. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/pyproject.toml +2 -2
  17. ecov003_l2t_stars-1.4.1/ECOv003_L2T_STARS/constants.py +0 -39
  18. ecov003_l2t_stars-1.4.1/ECOv003_L2T_STARS/version.txt +0 -1
  19. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/.github/workflows/ci.yml +0 -0
  20. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/.github/workflows/python-publish.yml +0 -0
  21. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/.gitignore +0 -0
  22. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/Dockerfile +0 -0
  23. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOSTRESS Granule Download Bias.ipynb +0 -0
  24. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOSTRESS Granule Download.ipynb +0 -0
  25. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/BRDF/BRDF.py +0 -0
  26. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/BRDF/SZA.py +0 -0
  27. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/BRDF/__init__.py +0 -0
  28. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/BRDF/statistical_radiative_transport.txt +0 -0
  29. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/BRDF/version.txt +0 -0
  30. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/ECOv003_DL.xml +0 -0
  31. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/ECOv003_L2T_STARS.xml +0 -0
  32. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/L2TSTARSConfig.py +0 -0
  33. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/LPDAAC/LPDAACDataPool.py +0 -0
  34. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/LPDAAC/__init__.py +0 -0
  35. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/LPDAAC/version.txt +0 -0
  36. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/Project.toml +0 -0
  37. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/VIIRS/VIIRSDataPool.py +0 -0
  38. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/VIIRS/VIIRSDownloader.py +0 -0
  39. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/VIIRS/VNP09GA.py +0 -0
  40. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/VIIRS/VNP43IA4.py +0 -0
  41. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/VIIRS/VNP43MA3.py +0 -0
  42. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/VIIRS/__init__.py +0 -0
  43. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/VIIRS/version.txt +0 -0
  44. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/VNP43NRT/VNP43NRT.py +0 -0
  45. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/VNP43NRT/__init__.py +0 -0
  46. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/VNP43NRT/process_VNP43NRT.jl +0 -0
  47. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/VNP43NRT/version.txt +0 -0
  48. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/VNP43NRT_jl/Manifest.toml +0 -0
  49. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/VNP43NRT_jl/Project.toml +0 -0
  50. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/VNP43NRT_jl/__init__.py +0 -0
  51. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/VNP43NRT_jl/instantiate.jl +0 -0
  52. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/VNP43NRT_jl/instantiate.py +0 -0
  53. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/VNP43NRT_jl/src/VNP43NRT.jl +0 -0
  54. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/VNP43NRT_jl/src/__init__.py +0 -0
  55. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/__init__.py +0 -0
  56. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/calibrate_fine_to_coarse.py +0 -0
  57. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/cksum.py +0 -0
  58. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/daterange/__init__.py +0 -0
  59. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/daterange/daterange.py +0 -0
  60. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/exceptions.py +0 -0
  61. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/generate_NDVI_coarse_image.py +0 -0
  62. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/generate_albedo_coarse_image.py +0 -0
  63. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/generate_downsampled_filename.py +0 -0
  64. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/generate_filename.py +0 -0
  65. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/generate_input_staging_directory.py +0 -0
  66. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/generate_model_state_tile_date_directory.py +0 -0
  67. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/generate_output_directory.py +0 -0
  68. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/instantiate_STARSDataFusion_jl.py +0 -0
  69. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/load_prior.py +0 -0
  70. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/login.py +0 -0
  71. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/prior.py +0 -0
  72. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/process_ECOSTRESS_data_fusion_distributed_bias.jl +0 -0
  73. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/process_julia_data_fusion.py +0 -0
  74. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/runconfig.py +0 -0
  75. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/timer/__init__.py +0 -0
  76. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/timer/timer.py +0 -0
  77. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS/version.py +0 -0
  78. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS.egg-info/SOURCES.txt +0 -0
  79. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS.egg-info/dependency_links.txt +0 -0
  80. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS.egg-info/entry_points.txt +0 -0
  81. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/ECOv003_L2T_STARS.egg-info/top_level.txt +0 -0
  82. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/LICENSE +0 -0
  83. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/README.md +0 -0
  84. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/STARS_memory_profile.jpeg +0 -0
  85. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/demo.py +0 -0
  86. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/example_L2T_STARS_with_download.py +0 -0
  87. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/makefile +0 -0
  88. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/mprofile_20241202193217.dat +0 -0
  89. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/mprofile_20241203112611.dat +0 -0
  90. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/setup.cfg +0 -0
  91. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/tests/test_import_ECOv003_L2T_STARS.py +0 -0
  92. {ecov003_l2t_stars-1.4.1 → ecov003_l2t_stars-1.6.0}/tests/test_import_dependencies.py +0 -0
@@ -33,7 +33,7 @@ logger = logging.getLogger(__name__)
33
33
  # Define the template for the ECOv003_DL run-config XML
34
34
  ECOv003_DL_TEMPLATE = join(abspath(dirname(__file__)), "ECOv003_DL.xml")
35
35
  # Default build ID
36
- DEFAULT_BUILD = "0700"
36
+ BUILD = "0700"
37
37
 
38
38
  def generate_downloader_runconfig(
39
39
  L2G_LSTE_filename: str,
@@ -133,17 +133,17 @@ def generate_downloader_runconfig(
133
133
 
134
134
  # Determine L2T STARS sources directory
135
135
  if L2T_STARS_sources_directory is None:
136
- L2T_STARS_sources_directory = join(working_directory, DEFAULT_STARS_SOURCES_DIRECTORY)
136
+ L2T_STARS_sources_directory = join(working_directory, STARS_SOURCES_DIRECTORY)
137
137
  L2T_STARS_sources_directory = abspath(expanduser(L2T_STARS_sources_directory))
138
138
 
139
139
  # Determine L2T STARS indices directory
140
140
  if L2T_STARS_indices_directory is None:
141
- L2T_STARS_indices_directory = join(working_directory, DEFAULT_STARS_INDICES_DIRECTORY)
141
+ L2T_STARS_indices_directory = join(working_directory, STARS_INDICES_DIRECTORY)
142
142
  L2T_STARS_indices_directory = abspath(expanduser(L2T_STARS_indices_directory))
143
143
 
144
144
  # Determine L2T STARS model directory
145
145
  if L2T_STARS_model_directory is None:
146
- L2T_STARS_model_directory = join(working_directory, DEFAULT_STARS_MODEL_DIRECTORY)
146
+ L2T_STARS_model_directory = join(working_directory, STARS_MODEL_DIRECTORY)
147
147
  L2T_STARS_model_directory = abspath(expanduser(L2T_STARS_model_directory))
148
148
 
149
149
  # Determine executable filename
@@ -159,7 +159,7 @@ def generate_downloader_runconfig(
159
159
 
160
160
  # Set build ID
161
161
  if build is None:
162
- build = DEFAULT_BUILD
162
+ build = BUILD
163
163
 
164
164
  # Set processing node
165
165
  if processing_node is None:
@@ -10,10 +10,12 @@ import colored_logging as cl
10
10
  import pandas as pd
11
11
  from dateutil import parser
12
12
 
13
+ from sentinel_tiles import sentinel_tiles
14
+
13
15
  # Custom modules for Harmonized Landsat Sentinel (HLS) and ECOSTRESS data
14
16
  from harmonized_landsat_sentinel import (
15
17
  CMRServerUnreachable,
16
- HLS2CMR,
18
+ HLS2Connection,
17
19
  HLSTileNotAvailable,
18
20
  HLSSentinelMissing,
19
21
  HLSLandsatMissing,
@@ -44,20 +46,20 @@ logger = logging.getLogger(__name__)
44
46
  def L2T_STARS(
45
47
  runconfig_filename: str,
46
48
  date_UTC: Union[date, str] = None,
47
- spinup_days: int = DEFAULT_SPINUP_DAYS,
48
- target_resolution: int = DEFAULT_TARGET_RESOLUTION,
49
- NDVI_resolution: int = DEFAULT_NDVI_RESOLUTION,
50
- albedo_resolution: int = DEFAULT_ALBEDO_RESOLUTION,
51
- use_VNP43NRT: bool = DEFAULT_USE_VNP43NRT,
52
- calibrate_fine: bool = DEFAULT_CALIBRATE_FINE,
53
- sources_only: bool = False,
54
- remove_input_staging: bool = True,
55
- remove_prior: bool = True,
56
- remove_posterior: bool = True,
57
- initialize_julia: bool = False,
58
- threads: Union[int, str] = "auto",
59
- num_workers: int = 4,
60
- overwrite: bool = False, # New parameter for overwriting existing files
49
+ spinup_days: int = SPINUP_DAYS,
50
+ target_resolution: int = TARGET_RESOLUTION,
51
+ NDVI_resolution: int = NDVI_RESOLUTION,
52
+ albedo_resolution: int = ALBEDO_RESOLUTION,
53
+ use_VNP43NRT: bool = USE_VNP43NRT,
54
+ calibrate_fine: bool = CALIBRATE_FINE,
55
+ sources_only: bool = SOURCES_ONLY,
56
+ remove_input_staging: bool = REMOVE_INPUT_STAGING,
57
+ remove_prior: bool = REMOVE_PRIOR,
58
+ remove_posterior: bool = REMOVE_POSTERIOR,
59
+ initialize_julia: bool = INITIALIZE_JULIA,
60
+ threads: Union[int, str] = THREADS,
61
+ num_workers: int = WORKERS,
62
+ overwrite: bool = OVERWRITE, # New parameter for overwriting existing files
61
63
  ) -> int:
62
64
  """
63
65
  ECOSTRESS Collection 3 L2T_STARS PGE (Product Generation Executive).
@@ -217,27 +219,27 @@ def L2T_STARS(
217
219
  prior_date_UTC = prior.prior_date_UTC
218
220
 
219
221
  # Define various product and download directories
220
- products_directory = join(working_directory, DEFAULT_STARS_PRODUCTS_DIRECTORY)
222
+ products_directory = join(working_directory, STARS_PRODUCTS_DIRECTORY)
221
223
  logger.info(f"STARS products directory: {cl.dir(products_directory)}")
222
- HLS_download_directory = join(sources_directory, DEFAULT_HLS_DOWNLOAD_DIRECTORY)
224
+ HLS_download_directory = join(sources_directory, HLS_DOWNLOAD_DIRECTORY)
223
225
  logger.info(f"HLS download directory: {cl.dir(HLS_download_directory)}")
224
- HLS_products_directory = join(sources_directory, DEFAULT_HLS_PRODUCTS_DIRECTORY)
226
+ HLS_products_directory = join(sources_directory, HLS_PRODUCTS_DIRECTORY)
225
227
  logger.info(f"HLS products directory: {cl.dir(HLS_products_directory)}")
226
- VIIRS_download_directory = join(sources_directory, DEFAULT_VIIRS_DOWNLOAD_DIRECTORY)
228
+ VIIRS_download_directory = join(sources_directory, VIIRS_DOWNLOAD_DIRECTORY)
227
229
  logger.info(f"VIIRS download directory: {cl.dir(VIIRS_download_directory)}")
228
- VIIRS_products_directory = join(sources_directory, DEFAULT_VIIRS_PRODUCTS_DIRECTORY)
230
+ VIIRS_products_directory = join(sources_directory, VIIRS_PRODUCTS_DIRECTORY)
229
231
  logger.info(f"VIIRS products directory: {cl.dir(VIIRS_products_directory)}")
230
- VIIRS_mosaic_directory = join(sources_directory, DEFAUL_VIIRS_MOSAIC_DIRECTORY)
232
+ VIIRS_mosaic_directory = join(sources_directory, VIIRS_MOSAIC_DIRECTORY)
231
233
  logger.info(f"VIIRS mosaic directory: {cl.dir(VIIRS_mosaic_directory)}")
232
- GEOS5FP_download_directory = join(sources_directory, DEFAULT_GEOS5FP_DOWNLOAD_DIRECTORY)
234
+ GEOS5FP_download_directory = join(sources_directory, GEOS5FP_DOWNLOAD_DIRECTORY)
233
235
  logger.info(f"GEOS-5 FP download directory: {cl.dir(GEOS5FP_download_directory)}")
234
- GEOS5FP_products_directory = join(sources_directory, DEFAULT_GEOS5FP_PRODUCTS_DIRECTORY)
236
+ GEOS5FP_products_directory = join(sources_directory, GEOS5FP_PRODUCTS_DIRECTORY)
235
237
  logger.info(f"GEOS-5 FP products directory: {cl.dir(GEOS5FP_products_directory)}")
236
- VNP09GA_products_directory = join(sources_directory, DEFAULT_VNP09GA_PRODUCTS_DIRECTORY)
238
+ VNP09GA_products_directory = join(sources_directory, VNP09GA_PRODUCTS_DIRECTORY)
237
239
  logger.info(f"VNP09GA products directory: {cl.dir(VNP09GA_products_directory)}")
238
- VNP43NRT_products_directory = join(sources_directory, DEFAULT_VNP43NRT_PRODUCTS_DIRECTORY)
240
+ VNP43NRT_products_directory = join(sources_directory, VNP43NRT_PRODUCTS_DIRECTORY)
239
241
  logger.info(f"VNP43NRT products directory: {cl.dir(VNP43NRT_products_directory)}")
240
- DOWNSAMPLED_products_directory = join(sources_directory, DEFAULT_STARS_DOWNSAMPLED_DIRECTORY)
242
+ DOWNSAMPLED_products_directory = join(sources_directory, STARS_DOWNSAMPLED_DIRECTORY)
241
243
  logger.info(f"DOWNSAMPLED products directory: {cl.dir(DOWNSAMPLED_products_directory)}")
242
244
 
243
245
  # Re-check for existing product (double-check in case another process created it) with overwrite option
@@ -255,7 +257,7 @@ def L2T_STARS(
255
257
  # Initialize HLS data connection
256
258
  logger.info(f"Connecting to CMR Search server: {CMR_SEARCH_URL}")
257
259
  try:
258
- HLS_connection = HLS2CMR(
260
+ HLS_connection = HLS2Connection(
259
261
  working_directory=working_directory,
260
262
  download_directory=HLS_download_directory,
261
263
  # products_directory=HLS_products_directory,
@@ -268,7 +270,7 @@ def L2T_STARS(
268
270
  )
269
271
 
270
272
  # Check if the tile is on land (HLS tiles cover land and ocean, STARS is for land)
271
- if not HLS_connection.tile_grid.land(tile=tile):
273
+ if not sentinel_tiles.land(tile=tile):
272
274
  raise LandFilter(f"Sentinel tile {tile} is not on land. Skipping processing.")
273
275
 
274
276
  # Initialize VIIRS data connections based on 'use_VNP43NRT' flag