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

MXM #3

Open
Najiullahghazawi1 opened this issue Dec 10, 2024 · 0 comments
Open

MXM #3

Najiullahghazawi1 opened this issue Dec 10, 2024 · 0 comments

Comments

@Najiullahghazawi1
Copy link

import rioxarray as rioxr

file_path = "/content/output/L2-AETI-A/your_file.tif" # Replace with actual path
data = rioxr.open_rasterio(file_path)

max_value = data.max().values
min_value = data.min().values
mean_value = data.mean().values

print(f"Max AETI: {max_value}, Min AETI: {min_value}, Mean AETI: {mean_value}")

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

No branches or pull requests

1 participant