-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unhelpful error message #81
Comments
packageVersion('rsi')
#> [1] '0.3.0'
bbox_dl <- tempfile()
download.file('https://github.com/user-attachments/files/17284035/bbox.zip', bbox_dl)
bbox_file <- unzip(bbox_dl)
bbox <- sf::st_read(bbox_file)
#> Reading layer `bbox' from data source
#> `/private/tmp/Rtmp769K6P/reprex-39db373ce1a2-alive-lark/bbox.gpkg'
#> using driver `GPKG'
#> Simple feature collection with 1 feature and 0 fields
#> Geometry type: POLYGON
#> Dimension: XY
#> Bounding box: xmin: -335805.7 ymin: 1179539 xmax: 2261755 ymax: 3023828
#> Projected CRS: NAD83 / Conus Albers
test <- rsi::get_stac_data(
# Spatial AOI:
aoi = bbox,
# Which asset do we want, from which collection, from which API:
asset_names = "aws0_999",
stac_source = "https://planetarycomputer.microsoft.com/api/stac/v1",
collection = "gnatsgo-rasters",
output_filename = tempfile(),
start_date = "2019-07-01",
end_date = "2021-07-01",
pixel_x_size = 30,
pixel_y_size = 30
)
#> Error:
#> ! Failed to evaluate glue component {items$features[[which_item]]$id %||% 'UNKNOWN'}
#> Caused by error in `items$features[[which_item]]`:
#> ! recursive indexing failed at level 3 Created on 2024-10-07 with reprex v2.1.1 |
Do you have the I'm hoping to test this later, but the failed download might be due to rate limiting. This actual error message is a logic error in the code, though... |
|
Well, unfortunately when testing on my machine (which does have a key set) this gets the same error. So, no silver bullet 😆 |
Rats! |
Hi! I've got the same issue invoking the following: location = "Namur Belgium"
Entering in debug mode allowed me to spot the lines where the problem occured :
But at the moment this seems cryptic to me. Will dig further unless someone has found a solution :) Thanks |
Downloading some data from the microsoft planetary computer for a large area in northeastern US. I'm getting an error that i'm not sure how to resolve. Thanks for the package and your help!
See the reprex below in the subsequent comments.
bbox.zip
The text was updated successfully, but these errors were encountered: