Calculation of CellArea in mHM
L0_grid_setup in mo_grid.90
My understanding is that this line in
L0_grid_setup stores the area of all cells at current latitude as the calculated area. This is because all cells at a latitude have equal area, cells at different latitudes have different areas, as also seen in the conceptual figure below.
However, if first index of
areaCell_2D is row and the second index column, shouldn't it be
areaCell_2D(i, :), i.e. all columns at this row/ latitude? I have same comments for this line as well as this line - shouldn't we be using nrows than ncols to go through the latitudes?