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.
Can python access java code? is that what jpython is/does? Rich Signell wrote:
NetCDF-Java Folk, Is there a way to access the neat stuff in NetCDF-Java from Python?My colleague Rob Hetland is interested in extending Pycdf with higher level CF-functionality that would determine what the coordinate variables are, time conventions, vertical coordinates, etc.He could do all the logic in Pycdf, perhaps stealing some code from the CF-checker (which is in python) but is there a way to utilize the NetCDF-Java library where much of this logic has already been coded?If there was a way to do this, it would allow him to access all the higher level functionality built into the existing nj22 and harness the future development of NetCDF-Java as well.Thanks, Rich