Skip to content

Commit

Permalink
Some updates
Browse files Browse the repository at this point in the history
  • Loading branch information
natgeo-wong committed Oct 5, 2024
1 parent d040334 commit 91a3cf5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 17 deletions.
4 changes: 3 additions & 1 deletion docs/src/regiongrids/create.md → docs/src/basics/create.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# RegionGrid: Applying GeoRegions to Gridded Data
# Creating a RegionGrid

Using RegionGrids.jl

In this section, we go through the basic steps of creating a RegionGrid for `RectRegion`s and `PolyRegion`s. See if you can spot the differences between the RegionGrids generated by the two different types.

Expand Down
14 changes: 0 additions & 14 deletions docs/src/regiongrids/intro.md

This file was deleted.

File renamed without changes.
3 changes: 1 addition & 2 deletions src/RegionGrids.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ using Reexport
export
RegionGrid,
RectilinearGrid, RectGrid, PolyGrid, TiltGrid,
GeneralizedGrid, RegionMask, VectorMask, VectorGrid,
GeneralizedGrid, RegionMask, RegionTilt, VectorMask, VectorGrid,

extract, extract!

Expand All @@ -33,7 +33,6 @@ abstract type RegionGrid end
A `RectilinearGrid` is a `RegionGrid` that is created based on rectilinear longitude/latitude grids. It has its own subtypes: `RectGrid`, `TiltGrid` and `PolyGrid`.
All `RectilinearGrid` types contain the following fields:
* `grid` - A vector of `Int`s, defining the gridpoint indices of the [N,S,E,W] points respectively
* `lon` - A vector of `Float`s, defining the latitude vector describing the region
* `lat` - A vector of `Float`s, defining the latitude vector describing the region
* `ilon` - A vector of `Int`s, defining indices of the parent longitude vector describing the region
Expand Down

0 comments on commit 91a3cf5

Please sign in to comment.