# NOT RUN {
# This example computes the REOFs along forecast horizons and plots the one
# that explains the greatest amount of variability. The example data has low
# resolution so the result may not be explanatory, but it displays how to
# use this function.
# }
# NOT RUN {
ano <- Ano_CrossValid(sampleData$mod, sampleData$obs)
ano <- MeanDims(ano$exp, c('dataset', 'member'))
res <- REOF(ano, lat = sampleData$lat, lon = sampleData$lon, ntrunc = 5)
# }
# NOT RUN {
PlotEquiMap(eof$EOFs[1, , , 1], sampleData$lat, sampleData$lon)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab