:exclamation: This is a read-only mirror of the CRAN R package repository. ClimProjDiags — Set of Tools to Compute Various Climate Indices. Homepage: https://earth.bsc.es/gitlab/es/ClimProjDiags Report bugs for this package: https://earth.bsc.es/gitlab/es/ClimProjDiags/-/issues
0
stars
0
forks
source link
error testing example heat and cold wave duration #1
I am testing the example mentioned above from this interesting package bur have an error shown below:
PlotEquiMap(MeanDims(HeatExtremeIndex, "year"),
lon = lon, lat = lat, filled.continents = FALSE,
toptitle = "Extreme Heat Index", dots = masc,
fileout = "SpatialExtremeHeatIndex.png")
Warning message:
! Warning: Parameters 'dots' should have dimension names. Coordinates 'lon' and 'lat'
! have been assigned into the corresponding coordinates dimensions.
The inland average of the Extreme Heat Index can be computed to plot its time evolution using WeigthedMean function. Smoothing() returns the smoothed time series for a 3 year moving window which can be modified using runmeanlen parameter.
temporal <- WeightedMean(HeatExtremeIndex, lon = lon, lat = lat, mask = drop(masc))
Error in WeightedMean(HeatExtremeIndex, lon = lon, lat = lat, mask = drop(masc)) :
Parameter 'mask' must have the same spatial dimensions of data.
Any hint to overcome this?
I am testing the example mentioned above from this interesting package bur have an error shown below:
PlotEquiMap(MeanDims(HeatExtremeIndex, "year"),