Skip to content

Incorrect file path in iucnn_prepare_features() #58

@ricardosegovia

Description

@ricardosegovia

Hi there,

I believe there's an issue with the file path used to obtain features within the iucnn_prepare_features() function. When running it, I encounter the following error:

trying URL 'https://geodata.ucdavis.edu/geodata/footprint/wildareas-v3-2009-human-footprint_geo.tif'
Content type 'image/tiff' length 61189601 bytes (58.4 MB)
==================================================
downloaded 58.4 MB

Error: [rast] file does not exist: /tmp/RtmpwIsuOd/wildareas-v3-1993-human-footprint_geo.tif
In addition: Warning messages:
1: In iucnn_biome_features(x, species = species, lon = lon, lat = lat,  :
  input biome polygon contained invalid geometries. Fixed using 'st_make_valid'
2: In lapply(X = x, FUN = .Generic, ...) : NaNs produced
3: In new_CppObject_xp(fields$.module, fields$.pointer, ...) :
  GDAL Error 4: /tmp/RtmpwIsuOd/wildareas-v3-1993-human-footprint_geo.tif: No such file or directory
> 

Saludos!!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions