[python-users] xarray map projection

To Whom It May Concern,


I have some WRF output in sigma coordinates, with the lat-lon grid in 2 
dimensional arrays. After converting the output into isobaric coordinates, I 
want to create a new xarray with the output so I can use metpy to plot a 
cross-section. However, I am getting the error "AttributeError: crs attribute 
is not available."


How do I specify map projection attributes when creating the xarray?


Sincerely,

Phillip