code: def area2lonlat(dataarray):
      
      area = dataarray.attrs['area']
      lons, lats = area.get_lonlats_dask()
      lons = xr.DataArray(lons, dims=['y', 'x'],
                          attrs={'name': "longitude",
                                 'standard_name': "longitude",
                                 'units': 'degrees_east'},
                          name='longitude')
      lats = xr.DataArray(lats, dims=['y', 'x'],
                          attrs={'name': "latitude",
                                 'standard_name': "latitude",
                                 'units': 'degrees_north'},
                          name='latitude')
      dataarray.attrs['coordinates'] = 'longitude latitude'
  
      return [dataarray, lons, lats]
docs: Convert an area to longitudes and latitudes.