Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Compute the mean value over a sub-area rather than over the whole globe. 

There is another function, average(), to compute the mean value of a field. Find its documentation to see what the difference is. How different is the result?

The Land-sea mask

Write a line of macro code which will compute the number of land points in the lsm variable. There are two methods:

  • accumulate()
  • datainfo()