Skip to content

Commit

Permalink
load collection id
Browse files Browse the repository at this point in the history
load collection id
  • Loading branch information
PondiB authored Jan 18, 2024
2 parents 0528596 + c2e3f6b commit 76a3345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/processes.R
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ load_collection <- Process$new(
)
),
returns = eo_datacube,
operation = function(collection_id, spatial_extent, temporal_extent, bands = NULL, job) {
operation = function(id, spatial_extent, temporal_extent, bands = NULL, job) {
# Check if 'crs' is present in spatial_extent and convert it to numeric; if missing, default to 4326
crs <- ifelse("crs" %in% names(spatial_extent), as.numeric(spatial_extent$crs), 4326)

Expand Down

0 comments on commit 76a3345

Please sign in to comment.