Skip to content

Commit

Permalink
explanation why we changed default name for CRS variable from crs t…
Browse files Browse the repository at this point in the history
…o `spatial_ref`
  • Loading branch information
forman committed Dec 16, 2024
1 parent 5335056 commit a37a94f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/source/cubespec.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,10 @@ Datasets that use a non-geographic grid must provide the 1-D coordinates

* In case the grid refers to a known spatial reference system (projected CRS),
the dataset must make use of the CRS encoding described in the
[CF Conventions on Grid Mapping], i.e. add a variable `spatial_ref`.
[CF Conventions on Grid Mapping]. The CRS is encoded in the attributes of a
special 0-D variable. It is suggested to call that variable `spatial_ref`
for compatibility with `rasterio`. However, the name `crs` is also
frequently used.
* In case the grid is referring to satellite viewing geometry, the dataset must provide
2-D coordinates `lat` and `lon` both having the dimensions `y`, `x`
in exactly this order, and apply the [CF Conventions on 2-D Lat and Lon].
Expand Down

0 comments on commit a37a94f

Please sign in to comment.