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

[python #UGD-724183]: Surface plot declarative plotting questions


Apologies again for the vastly delayed reply. See my responses in-line below:

> First, ObsPlot().format must have something to convert from celsius to
> fahrenheit, but I can't seem to figure it out. Is there a way to see all
> the format options?

Actually, that looks like a pretty big oversight on our part. Right now the 
easiest way would probably be to convert your data. You can also pass a 
function to `format`, so you could define a function:

        return str(v * 1.8 + 32)

I don't consider either particularly satisfying, but that's how I'd approach it 
today (until we put something better in MetPy).

> Second, is there a way to zoom more into southern California using the
> MapPanel().area = 'ca'?

We want to add a way to zoom in on top of specifying with 'ca' with 'ca+', but 
that has not yet been implemented, see:


For now you can specify a tuple of (lon0, lon1, lat0, lat1)

> Third, is there a way to remove a bunch of the white space when I'm saving
> the plot? See the attached plot.



This syntax comes from matplotlib:


> Finally, do you know when the
> https://thredds-test.unidata.ucar.edu/thredds/catalog/noaaport/text/metar/catalog.xml
> will be moved to the official thredds server? Or has that already been done?

There was not a formal plan in place but if that would be helpful, I can look 
at moving it over. 


Ticket Details
Ticket ID: UGD-724183
Department: Support Python
Priority: Low
Status: Closed
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.