Skip to content

save_spatial functions creating wrong file path #148

Description

@sarahLy9

saving spatial data is adding unnecessary nesting for example:

sbf_set_main(spatial_dir)
sbf_set_sub("workup", rm = TRUE)
sbf_save_spatial(water_temperature_location_lco)

puts it here:

'~Poisson/Privileged - Spatial/Spatial/ufr-wct/2025/spatial/workup'

I need it here:

'~Poisson/Privileged - Spatial/Spatial/ufr-wct/2025/workup'
We know its spatial data because its in Privileged - Spatial/Spatial (which is already redundant enough) and the extra layers of folders is messing up processing with QGIS.

It looks like this is because of an automatic behaviour that gives it an enclosing folder based on its data type.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions