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.
Brian, Subtracting 0.5 gives you corners on one end, but you still have the problem that you don't have the "last" corners for the last row and column of data. You'll need to use something like numpy.hstack, numpy.vstask or numpy.concatenate to add an additional row/column of lat and lons to have corners around all of the grid boxes. Ryan > Thanks, Ryan. > Yes we essentially do “pass the corners” of the grid cells by subtracting 0.5 > (times the 1 degree grid scale in this case). I just hadn’t found the > documentation reason for it. > > > I wonder if the dicarded column problem explains our latest longitude > headache… this time in Python instead of IDV… (screenshot) > Well, the answer is in the documentation. Thanks for the confidence building > of pointing us there. > Case closed (from your prespective). Ticket Details =================== Ticket ID: PXA-368178 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.