Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
asinghvi17 opened this issue Sep 20, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@asinghvi17
Copy link
Collaborator

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:

  • Lookup vectors for the axes, encoding the spatial coordinates for each grid cell. These take the form of the X and Y dimensions in the raster that you'll see below.
  • A coordinate reference system (CRS) definition, specifying the association of the raster's coordinates with the surface of the earth.

but it could use a lot of improvement.

@rafaqz
Copy link
Owner

rafaqz commented Sep 20, 2024

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!

@rafaqz rafaqz added the documentation Improvements or additions to documentation label Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants