NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [python-users] xarray map projection

Phillip,

You should be able to set the crs attribute and crs.cartopy_globe.

Cheers,
John Leeman
On Sep 19, 2018, 1:55 PM -0600, Phillip Yeh <py84@xxxxxxxxxxxxxxxxxx>, wrote:
> 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
> _______________________________________________
> NOTE: All exchanges posted to Unidata maintained email lists are
> recorded in the Unidata inquiry tracking system and made publicly
> available through the web. Users who post to any of the lists we
> maintain are reminded to remove any personal information that they
> do not want to be made public.
>
>
> python-users mailing list
> python-users@xxxxxxxxxxxxxxxxxxxxxxxx
> For list information, to unsubscribe, or change your membership options, 
> visit: http://www.unidata.ucar.edu/mailing_lists/
  • 2018 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the python-users archives: