Open luytax opened 1 month ago
Hello, I looked into it and found out that the terra
package is able to read in netCDF files. So using its rast
function to read in a netCDF will create a SpatRaster object (to be done in advance by the user), which can then go into the prepare_...
functions.
Good news! To be decided if/how we include terra::rast()
function that prepares the netCDF files.
Let's discuss at our next meeting @ungatoverde & @arnopauwels
@luytax What do you mean with this?
To be decided if/how we include terra::rast() function that prepares the netCDF files.
What should be decided? Looks good :-) I guess that reading that data should be quite straight forward with terra::rast()
Right? @arnopauwels let me know if I am wrong.
That should indeed be easy Alberto (I cannot tag you with @?). So terra:rast()
should not be included in the prepare_...
functions @luytax .
Alberto (I cannot tag you with @?)
Same for me, for unknown reasons... although when you write @ungatoverde he get's contacted, even though his name doesn't show up as you type it, as happens for other people.
@luytax What do you mean with this? To be decided if/how we include terra::rast() function that prepares the netCDF files.
I was referring to whether or not to include the terra::rast() function in the prepare_...
functions or not : )
@arnopauwels FYI: Yesterday Alberto and myself did a live demo of the R package for Enrico Pisoni.
For Enrico it's absolutely crucial that the package can digest the netCDF file format, i.e. either
prepare_exposure_data()
or anotherprepare_...
function should be able to digest that and make it usable for theattribute()
functions.1) Do you have experience with this file type? 2) Do you think it's feasible to write a function for digesting netCDF files?