How can I get precipitation data only for summer (June~August for 30 years)?

2 visualizaciones (últimos 30 días)
I have a daily precipitation data for 30 years. Then how can I get precipitation only for summer (June~August for 30 years)?

Respuesta aceptada

Walter Roberson
Walter Roberson el 2 de Sept. de 2022
but instead of == 6 you would ismember() against the month numbers you want.
dbp's solution there already includes month number in the data and asks to group by month, whereas my solution there would need a small enhancement to group by month, as it assumes exactly one month in its present form.
  3 comentarios
Walter Roberson
Walter Roberson el 6 de Sept. de 2022
ismember(t.Month, {'June', 'July', 'August'})
include September if appropriate for your area (where I live, September might be technically summer, but it would be common for there to be a frost by the end.)

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Data Import and Analysis en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by