how to take out extreme event from data
Show older comments
sir i have 95 year daily max(nov to feb) precipitation model output rainfall data form 2006-1-1 to 2100-1-31.my data size is 12x16x11400 (lat,lon.time) for india region. this is not include leap years.
if i want to calculate extreme event in the basis of india meteorogical department
(rainday day =2.5 or more at a day),
(rainday=0.1 mm or more),
(heavy rainfall=64.5), ( very heavy=124.m to 244.5 mm),
and extremely heavy = >244.5 mm.
so according to this scenario how will create indices or program for take out this value ,sir please help me thank you
Answers (1)
Image Analyst
on 5 Apr 2014
According to your somewhat ambiguous and imprecise definitions:
rainday_day = rainfall(lat, lon, :) >= 2.5;
rainday = rainfall(lat, lon, :) >= 0.1;
heavy_rainfall = rainfall(lat, lon, :) >= 64.5;
very_heavy_rainfall = rainfall(lat, lon, :) >= 124 & rainfall(lat, lon, :) < 244.5;
extremely_heavy_rainfall = rainfall(lat, lon, :) >= 244.5;
Note that rainday_day also included heavy, very heavy, and extremely heavy indices, while very heavy does not include extremely heavy. That's because for all except very heavy, there was no upper limit on the range. Only very heavy specified both an upper and a lower limit.
1 Comment
Image Analyst
on 5 Apr 2014
This is contradictory. You say "i want to program" - okay, go ahead and start programming. I gave you some lines of code to get you started. I'm certainly not stopping you.
But them you say "please give program in proper way". Well, I don't have a complete program to solve your problem. How would I have that? I just answered your questions - I didn't (and can't) develop a complete turnkey system for you. Good luck with your writing. I hope I helped with the little bit of code I gave you, and if it answered your original question, you can please go ahead and officially mark it answered.
Categories
Find more on Variables 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!