FIELDimageR icon indicating copy to clipboard operation
FIELDimageR copied to clipboard

resolution and computing - EX1.Crop definition

Open alpine3a opened this issue 1 year ago • 4 comments

Hey there,

as I was running the #11 resolution and computing script I received an error for the missing object EX1.Crop by simply adding "EX1.Crop<-rast("EX1_RGB_HighResolution.tif")" I received: Error in if (raster::projection(fieldShape) != raster::projection(mosaic)) { : missing value, where TRUE/FALSE is requiered

would be awesome to hear your solution / how you got your script running

(same issue turns up in chapters 12 and 13)

thanks for your help upfront

alpine3a avatar Nov 28 '23 15:11 alpine3a

Did you download the image "EX1_RGB_HighResolution.tif" and have it on your folder?

FilipeSyngenta avatar Nov 29 '23 17:11 FilipeSyngenta

Yes that's exactly the file I'm using and it is in the correct folder

alpine3a avatar Nov 29 '23 17:11 alpine3a

Hey there, I'm still trying to understand where EX1.crop is defined before step 11. As far as I can see EX1.crop got deleted from chapter 2 during one of the last couple updates.

How are chapters 11 and following still running properly for you?

alpine3a avatar Jan 08 '24 17:01 alpine3a

@alpine3a, you are right and cropping and rotation is no necessary anymore.

We just removed that part of the code... Thanks for checking it out!

Best, Filipe

filipematias23 avatar Jan 08 '24 20:01 filipematias23