on-internet
← Community

How to sum two `stars` objects with different dimensions

Stack Overflow ·

I am trying to sum two stars objects together but they have different dimensions, specifically different refsys. Here are the two objects: library(stars) i # stars object with 3 dimensions and 1 attribute # attribute(s), summary of first 1e+05 cells: # Min. 1st Qu. Median Mean 3rd Qu. Max. NA's # mean 5.560489e-05 0.05539213 0.2282798 0.2522335 0.4310069 0.627392 99049 # dimension(s): # from to offset delta refsys x/y # x 1 1046 -184136 1000 +proj=lcc +lat_1=60 +lat_... [x] # y 1 764 958534 -1000 +proj=lcc +lat_1=60 +lat_... [y] # season 1 3 NA NA NA s # stars object with 3 dimensions and 1 at

Comments

Sign in or sign up to comment and upvote.

No comments yet.