reading and averaging of netCDF file contents

1 view (last 30 days)
After I open a geography based netCDF file, I want to calculate the mean value of the variable within a small area around a point of interest (say 0.01 degrees to North, South, West, East from the point of interest). Could you help me with that? I tried to attach such a file, but it doesn't allow that file type to attach.

Answers (1)

KSSV on 6 Jul 2017
Edited: KSSV on 6 Jul 2017
As you have point of interest, you should be knowing the bounding box coordinates i.e minimum and maximum lons and lats of the region. Extract that specific portion values and use mean.
PS: Don't ask multiple questions especially without acknowledging the already asked questions.


Community Treasure Hunt

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

Start Hunting!

Translated by