Skip to content

Commit

Permalink
ifn4 huso error
Browse files Browse the repository at this point in the history
  • Loading branch information
Cidree committed Nov 11, 2024
1 parent 0969c2c commit 3045f49
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion R/canopy-height.R
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ fd_canopy_height_meta <- function(x = NULL,
for (i in 1:length(out_file)) {
## If it already exists, go next
if (file.exists(out_file[i])) {
if (!quiet) message(crayon::green(stringr::str_glue("Tile {tile_vec[i]} cached.")))
if (!quiet) message(crayon::green(stringr::str_glue("Tile {tile_vec[rhubv2i]} cached.")))
next
}
if (!quiet) message(crayon::green(stringr::str_glue("Downloading tile {i}...")))
Expand Down
2 changes: 1 addition & 1 deletion R/forest-inventory.R
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ fd_inventory_spain <- function(province,
data_lst$PCDatosMap_sf <- sf::st_as_sf(
x = data_lst$PCDatosMap,
coords = c("CoorX", "CoorY"),
crs = paste0("EPSG:", datum, data_lst$PCDatosMap$Huso)
crs = paste0("EPSG:", datum, data_lst$PCDatosMap$Huso[1])
)

## IFN 3 - SF column
Expand Down
2 changes: 1 addition & 1 deletion man/fd_canopy_height_eth.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/fd_canopy_height_meta.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3045f49

Please sign in to comment.