WRF sets the stand_lon parameter to be 1e20 when it isn't specified for Mercator, and does not require users to set it. WRF-Python needs to handle this situation better.
As a workaround, users can specify the value in the projection attribute of their variables when xarray is enabled:
slp = getvar(f, "slp")
# Set stand_lon to center of domain
center_of_domain = -110.0
slp.attrs["projection"].stand_lon = center_of_domain
WRF sets the stand_lon parameter to be 1e20 when it isn't specified for Mercator, and does not require users to set it. WRF-Python needs to handle this situation better.
As a workaround, users can specify the value in the projection attribute of their variables when xarray is enabled: