Converting Large scale Daily Precipitation Values to Monthly Values

1 view (last 30 days)
Hello folks! I have to convert very huge scale daily rainfall values to monthly values. The data comprises of more than 2000 stations and for 20 years of daily values. Processing this much extent of data is not possible in Excel. Can someone suggest how to deal with it in MATLAB?
  4 Comments
dpb
dpb on 6 Jun 2022
Edited: dpb on 6 Jun 2022
Sure. Piece o' cake. Use readtimetable to bring in the data and then standardize the missing values with standardizeMissing and compute to heart's content with retime
And, that's not all that much data in today's terms of GB storage;
>> 20*365*2000*8/1024/1024
ans =
111.3892
>>
is ~112 MB. For precipitation data, you can cut storage memory in half -- single precision will be more than enough precision so the datetime array for the timetable is only ~60 KB. I've not deeply investigated the overhead of the timetable itself, but I don't think you should have a problem with a reasonable machine to use.
See <function-of-rainfall-seasonality-index-walsh-and-lawler-1981#comment> that illustrated how to get started with some precipitation data for another purpose; that's about the end goal for your above problem.

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB 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!