[R-sig-Geo] [writeRaster] Error in .local(.Object, ...) : Dataset copy failed
Robert J. Hijmans
r.hijmans at gmail.com
Fri Oct 25 05:41:39 CEST 2013
Jean, Is the file is larger then the available disk space? Robert
On Thu, Oct 24, 2013 at 2:36 PM, Jean Marchal <jean.d.marchal at gmail.com> wrote:
> Dear list,
>
> I got this strange error while saving a raster on disk using writeRaster()
> function. I tried to use absolute path without success.
>
> It might be a matter of path because sometimes it works when I saved it in
> another folder or in parent folder but sometimes it needs a different name
> also... (make no sense). The path looks like that:
> "C:/Users/jean/Desktop/Data/Climate/CMIP5/rcp45_GTiff/ipsl-ipsl_cm5b_lr-r1i1p1/tasmax.tif"
> (92 characters)
>
> Note that I saved successfully two others rasters in the same folder
> (ipsl-ipsl_cm5b_lr-r1i1p1) but with name length of 2 and 3. I did not
> encounter this problem using the same process once before.
>
>
> Additional info:
>
> I created rcp45_GTiff and ipsl-ipsl_cm5b_lr-r1i1p1 folders with R. The
> raster I am trying to save is a raster brick with 1800+ bands.
>
> I am using the ‘raster’ package version 2.1-49.
>
> I used writeRaster in nested lapply().
>
> I have full rights to this folder.
>
> The xml file is saved successfully.
>
>
> What I am doing wrong ? I can provide additional information if needed.
>
>
> Best regards,
>
> Jean
>
>
> Jean Marchal
>
> Etudiant au doctorat / PHD student
> Université Laval - Pavillon Abitibi-Price
> Faculté de foresterie, de géographie et de géomatique
> 2405, rue de la Terrasse
> Québec (Québec) G1V 0A6
> Tél: 418-656-2131 poste 2620
>
> [[alternative HTML version deleted]]
>
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
More information about the R-sig-Geo
mailing list