how to calculate monthly averages from daily averages of MODIS Data?

3 visualizaciones (últimos 30 días)
Mustapha Adamu
Mustapha Adamu el 26 de Jul. de 2017
Editada: Image Analyst el 22 de Mzo. de 2021
I am Mustapha and a master of Meteorology student at Nanjing University of Information, science and Technology in China. I am currently using Modis Terra and Aqua for my research and to be specific Cloud Fraction Data for the year 2010. I however want to get the monthly averages for this data and I am lost as to how to go about this. Can someone here please assist me with suggestions as to how I can go about this? Thank you.

Respuestas (2)

KL
KL el 13 de Sept. de 2017
If you are using newer version of Matlab(2016 or later), use timetable
Then you could calculate monthly mean with retime like,
TT_mean = retime(your_timetable,'monthly','mean')
For older versions, use a normal table and then varfun like,
montly_mean = varfun(@mean,your_table,'GroupingVariables','Month_No')

MARC CASANOVAS VENTURA
MARC CASANOVAS VENTURA el 22 de Mzo. de 2021
Editada: Image Analyst el 22 de Mzo. de 2021
Comprehensive Examples
This page provides comprehensive examples on how to access and visualize various NASA HDF/HDF-EOS files using Python (pyhdf/h5py), NCL, MATLAB®, and IDL®. Other tools and programming languages examples can be found here.
Please read this special note first before you proceed further.
You can find examples quickly using the search box below. Please add keyword 'zoo' first to limit the search within this Comprehensive Examples page. Then, type the first few characters from the NASA HDF/HDF-EOS file name such as MOD06. Finally, you can limit the search by providing one of programming language keywords: Ptyhon, NCL, IDL, or MATLAB.

Categorías

Más información sobre Workspace Variables and MAT Files en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by