0
sst <- ncvar_get(nc,
                 "sst",
                 start = c(lon_ind[1],
                           lat_ind[1],
                           time_ind[1]),
                 count = c(length(lon_ind),
                           length(lat_ind),
                           length(time_ind)))
> Error in ncvar_get(nc, "sst", start = c(lon_ind[1], lat_ind[1], time_ind[1]),  : 
  Error, passed a 'start' argument that has NA values: 96 NA 1
Phil
  • 7,287
  • 3
  • 36
  • 66
Rafdii
  • 1
  • 1
    the first element of the `lat_ind` object is `NA`, which is not permissible. The solution is to actually have values instead of `NA`. – Phil Sep 13 '22 at 02:37

0 Answers0