how to calculate monthly averages from daily averages of MODIS Data?
2 views (last 30 days)
Show older comments
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.
Answers (2)
KL
on 13 Sep 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')
0 Comments
MARC CASANOVAS VENTURA
on 22 Mar 2021
Edited: Image Analyst
on 22 Mar 2021
Have a look at this website: http://hdfeos.org/zoo/index_openLAADS_Examples.php#MODIS
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.
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.
0 Comments
See Also
Categories
Find more on Workspace Variables and MAT Files in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!