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

affine! or f! funciton #120

Closed
alex-s-gardner opened this issue Feb 2, 2023 · 2 comments · Fixed by #121
Closed

affine! or f! funciton #120

alex-s-gardner opened this issue Feb 2, 2023 · 2 comments · Fixed by #121

Comments

@alex-s-gardner
Copy link
Contributor

alex-s-gardner commented Feb 2, 2023

For consistency with crs! I wonder if a affine! or f! should be added

@alex-s-gardner alex-s-gardner changed the title affine! of f! funciton affine! or f! funciton Feb 2, 2023
@evetion
Copy link
Owner

evetion commented Feb 2, 2023

There's bbox! Because I thought that's easier if you already have a raster with a known size. But we could easily add setting an affine transform with affine!.

@alex-s-gardner
Copy link
Contributor Author

affine! is useful when creating GeoArrays that match arrays that have been read in ... something I often do... right now I just do

ga1.f = ga2.f

but it might make sense to also have affine! as there is a crs!

Any reason that ga.f is not ga.affine?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants