rafaqz / DimensionalData.jl

Named dimensions and indexing for julia arrays and other data
https://rafaqz.github.io/DimensionalData.jl/stable/
MIT License
273 stars 38 forks source link

README/package intro: what _is_ a dimensional array? what are these x and y things? #806

Open asinghvi17 opened 2 days ago

asinghvi17 commented 2 days ago

Writing geocompjl, I'm not sure how to best explain:

  1. The concept of a dimensional array
  2. The concept of lookup arrays

My current text is:

Conceptually, a raster is an array combined with georeferencing information, whereas the latter comprises:

but it could use a lot of improvement.

rafaqz commented 2 days ago

Well a DimArray is 2 things. An array with named dimensions, and an array with named dimensions that have lookup values.

A Raster is almost always the second. And yes most of the time it has crs. But if you take a single point with a time dimension, you still have a Raster, and no crs!