-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: [*] cannot write values (err: 3) #1502
Comments
I think I would write a loop like this to find the offending file(s):
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unfortunately, I can not provide a minimal, self-contained, reproducible example that illustrates the
Error: [*] cannot write values (err: 3)
, because very likely this error is related to the 17520 files that I read in into a singleSpatRaster
object.Just after loading the
terra
package, I modified its options with:terraOptions(memfrac=0.9, progress=10, verbose=FALSE, filetype="NetCDF")
then, I read all my 17520 GeoTIFF files into an
x
object and multiplied it by a single real number:y <- 0.05*x
and just before finishing, that operation raised the following error message:
when I looked up into the warnings, I got (only the first 2 warnings are shown):
I would be very grateful for any hint about how to solve this error.
My details about
terra
andGDAL
are:The text was updated successfully, but these errors were encountered: