You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Speculating: H1084 is a pretty large file, which terra doesn't read into memory. On convertion to stars, stars gets to read the file and figures out it has units (while, for instance, it is a NetCDF file or so). If terra crops this, it reads a section of the file, and ignores the units. So the question is: is this a stars issue or a terra issue?
Probably you are rigth.
If I read H1084, which is a raster (tif) object, as star object, I always get units. stars reads the units, but apparently terra does not. I am not sure if this is a stars issue or a terra issue.
Hi,
H1084
is an SpatRaster. Executingproduces numeric, without units, output
Without the cropping (from terra) instruction,
I get numeric, with units, output
I wonder what makes the difference, since croping produces an SpatRaster also.
PS: I can provide the data if necessary.
Thanks
The text was updated successfully, but these errors were encountered: