I need calculate the maximum mean temperature of the coldest month.
I need first select the coldest month in a list and then in this month determine the maximum temperature.
I do this:
Create the list of mean and max temperature using stack:
Tmean=stack("tmean_1.asc","tmean_2.asc","tmean_3.asc","tmean_4.asc","tmean_5.asc","tmean_6.asc","tmean_7.asc","tmean_8.asc","tmean_9.asc","tmean_10.asc","tmean_11.asc","tmean_12.asc")Monthmax=stack("tmax_1.asc","tmax_2.asc","tmax_3.asc","tmax_4.asc","tmax_5.asc","tmax_6.asc","tmax_7.asc","tmax_8.asc","tmax_9.asc","tmax_10.asc","tmax_11.asc","tmax_12.asc")And then apply this formula:
mc
I need first select the coldest month in a list and then in this month determine the maximum temperature.
I do this:
Create the list of mean and max temperature using stack:
Tmean=stack("tmean_1.asc","tmean_2.asc","tmean_3.asc","tmean_4.asc","tmean_5.asc","tmean_6.asc","tmean_7.asc","tmean_8.asc","tmean_9.asc","tmean_10.asc","tmean_11.asc","tmean_12.asc")Monthmax=stack("tmax_1.asc","tmax_2.asc","tmax_3.asc","tmax_4.asc","tmax_5.asc","tmax_6.asc","tmax_7.asc","tmax_8.asc","tmax_9.asc","tmax_10.asc","tmax_11.asc","tmax_12.asc")And then apply this formula:
mc