Questions tagged [stars]

The R package providing classes and methods for reading, manipulating, plotting and writing spatiotemporal data cubes.

Filter by
Sorted by
Tagged with
2
votes
0answers
35 views

Stratified ordinary kriging using gstat and stars packages

The gstat package supports stratified ordinary kriging using sp objects as shown at https://github.com/r-spatial/gstat/blob/master/demo/examples.R (the code below). This year (https://r-spatial.github....
1
vote
1answer
36 views

NetCDF time aggregation using R stars package

I have a monthly temperature netCDF dataset with aprox 20 years and I'd like to calculate a monthly climatology (average of all Jan, Feb, Mar...). I know I can do this with stackapply from package ...
0
votes
0answers
36 views

Extract time series from NetCDF stars proxy object

I'm trying to extract a time series from a netCDF file opened as a stars_proxy object in R. Looking at the raster to stars mapping table, I should use the aggregate function. But I'm getting a CRS ...
3
votes
1answer
110 views

Convert XYZ to stars curvilinear grid and plot

I have data in XYZ format (long, lat, elevation) that does not fit on a rectangular grid, but I would like to plot it as grid cells of different sizes. To illustrate what I mean, the last two plots ...
1
vote
0answers
47 views

Creating map projection for net of geodesic dome?

I am working on a project that involves mapping the night sky's northern hemisphere onto the exterior surface of a small (16 cm radius) geodesic dome. The problem is, I don't know what map projection ...
0
votes
0answers
130 views

R stars package and set dimensions to a NetCDF file

Related: GDAL and reprojecting a NetCDF file Following above, I would like to reproject a NetCDF ( NOAA GOES-16 file ) using R stars package. However, I have been unsuccessful at the first step; I ...
2
votes
1answer
201 views

Error from aggregate function from the R package sf

I am currently reading the new (and free!) book by Edzer Pebesma and Roger Bivand (you can find it here). In chapter four they describe how one can aggregate all the measurement stations within one ...