Skip to content

xarray: How to get the coordinates of the maximum and minimum value over a spatial domain in xarray? #3160

Closed
@anubhavchoudhary

Description

@anubhavchoudhary

I have a netcdf file containing a surface variable over a latlon area. I want to get the coordinate (as lat, lon value) of maximum as well as minimum value of that variable over a certain area which I can define with latlon box. How to do it in xarray ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions