[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AWIPS #LWN-904229]: Displaying Full Disk Through Python DAF



Hi Justin,

I was not able to reproduce the error you sent to me.  I was able to encounter 
other 
errors, however, and substituting "EFD"/"ECONUS" directly in the 'sectors' 
array in 
our notebook did break the output.

I am able to plot data for the following sectors: EFD, WFD, ECONUS, and WCONUS.
However, all of these, except for WCONUS, I was only able to display using 
plt.imshow().
For WCONUS, if you hardcode the following box:
 bbox = [-179, -90, 10, 50]
Then you should be able to run the rest of the example code and have it output 
an image.
For the other 3 sectors, I simply commented out all lines starting at the bbox 
definition
down to the end of the file, and then placed a  'plt.imshow(data, 
cmap='coolwarm') to get
it to show the other images.
Note, this means for the other images here are no boundaries or outlines of the 
country.
I think I may be able to still get that to work (ie. showing an outline of the 
globe and
the countries in it).  But for now you should at least be able to render WCONUS 
with 
boundaries, and EFD, WFD, and ECONUS without.

I've attached the 4 images I was able to generate.
Let me know if that ends up working for you.
--Shay Carter

AWIPS Software Engineer
UCAR - Unidata

If you're interested, please feel free to fill out a survey about the support 
you receive: 
https://docs.google.com/forms/d/e/1FAIpQLSeDIkdk8qUMgq8ZdM4jhP-ubJPUOr-mJMQgxInwoAWoV5QcOw/viewform

Ticket Details
===================
Ticket ID: LWN-904229
Department: Support AWIPS
Priority: Normal
Status: Open
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.

Attachment: ECONUS.png
Description: PNG image

Attachment: EFD.png
Description: PNG image

Attachment: WCONUS.png
Description: PNG image

Attachment: WFD.png
Description: PNG image