Converting Large scale Daily Precipitation Values to Monthly Values
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
dpb
2022-6-6
编辑:dpb
2022-6-6
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.
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!