This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Greetings! 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: fmt_fahren(v): 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: https://github.com/Unidata/MetPy/issues/1288 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. Sure: pc.save(bbox_inches='tight') This syntax comes from matplotlib: https://matplotlib.org/3.1.1/api/_as_gen/matplotlib.pyplot.savefig.html > 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. Ryan 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.