Skip to content

Commit

Permalink
Per #1954, add documentation about the semilatlon grid.
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnHalleyGotway committed Sep 16, 2022
1 parent 2f92e78 commit 0631729
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/Users_Guide/appendixB.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ The following map projections are currently supported in MET:

* Gaussian Projection

* Semi Lat/Lon

Grid Specification Strings
==========================

Expand Down Expand Up @@ -82,6 +84,10 @@ For a Gaussian grid, the syntax is
The parameters **Nx** and **Ny** are as before, while **lon_zero** defines the first longitude.

For a Semi Lat/Lon grid, no grid specification string is supported. This grid type is only supported via Python embedding or when reading NetCDF files generated by another MET tool. A Semi Lat/Lon grid defines the information about 2D field of data whose dimension are defined by arrays of latitude (**lats**), longitude (**lons**), level (**levels**), and time (**times**). Times are defined as unixtime, the number of seconds since January 1, 1970. Typically, the lats or lons array and the levels or times array has non-zero length. For example, a zonal mean field is defined using the lats and levels array. A meridional mean field is defined using the lons and levels array. A Hovmoeller field is defined using lats or lons versus times. A arbitrary cross-section is defined by specifying both the lats and lons array with exactly the same length versus levels or times.

Statistics can be computed from data on Semi Lat/Lon grids but only when all data resides on the same Semi Lat/Lon grid. Two Semi Lat/Lon grids are equal when their lats, lons, levels, and times arrays match. No functionality is provided to regrid Semi Lat/Lon data. The MET tools can plot Semi Lat/Lon data, however no map data is overlaid since these grids lack two spatial dimensions.

Grids
=====

Expand Down
9 changes: 9 additions & 0 deletions docs/Users_Guide/appendixF.rst
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,15 @@ When specified as a dictionary, the contents of the **grid** dictionary vary bas
• lon_zero (double)
• nx, ny (int)

• **SemiLatLon** grid dictionary entries:

• type ("SemiLatLon")
• name (string)
• lats (list of doubles)
• lons (list of doubles)
• levels (list of doubles)
• times (list of doubles)

Additional information about supported grids can be found in :ref:`appendixB`.

**Using Xarray DataArrays**
Expand Down

0 comments on commit 0631729

Please sign in to comment.