Skip to content

Commit

Permalink
Added reference to API documentation for land and x y relationship
Browse files Browse the repository at this point in the history
  • Loading branch information
tammasloughran committed Nov 14, 2023
1 parent 7012c2d commit 67d90ea
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,15 @@ variables:
time:time_origin = " 1949-JAN-01 00:00:00" ;
```

Most of the variables will be structured as SWdown is above. The relationship between land and “x” and “y” inside the CABLE netcdf driver is:
Most of the variables will be structured as SWdown is above. The relationship between `land` and `x` and `y` inside the CABLE netcdf driver is:

```fortran
y = INT((landGrid(j)-1)/xdimsize)
x = landGrid(j) - y*xdimsize
y = y + 1
```

From (`cable_input.F90`)[https://cable.readthedocs.io/en/latest/api/sourcefile/cable_input.f90.html#ln-633], where landGrid is the `land` variable above.

## Variables

Expand Down

0 comments on commit 67d90ea

Please sign in to comment.