Open roimartins opened 9 months ago
Here is a possible way of adding habitat data (broad-scale seabed habitat from the new EUSeaMap 2023) to the tacsatEflalo file:
######## Download directly from dtu server - https://figshare.com/s/46ed591ca29f87c53311 ######## and save the eusm.rds file to your outPath
eusm <- readRDS(paste0(outPath, "eusm.rds"))
year <- 2021 for(year in yearsToSubmit){ print(year) load(file = paste0(outPath,paste0("/tacsatEflalo",year,".RData")) ) sf_use_s2(F) #If not you probably get an error
tacsatEflalo <- tacsatEflalo |> sf::st_as_sf(coords = c("SI_LONG", "SI_LATI"), remove = F) |> sf::st_set_crs(4326) |> st_join(eusm, join = st_intersects) |> mutate(geometry = NULL) |> data.frame()
The integration of sediemnt data in teh block 2 and block 3 of the workflow.
The change on block 3 format will implies a change in the ICES Data Center API's , so will require more planning to incorporate in the data call request .
Suggested to create a Beta version and SFD member and dat submitors could volunteer to test the Beta version