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.
Hi Arunima, We don't have any ready-made programs or services that will print your data in that format. It's certainly possible, but you'll have to code it yourself. A couple hints: * Use NetcdfDataset.getCoordinateSystems() to identify the coordinate axes (time, lat, lon, z). * Loop through all indices for each axis, outputting corresponding data values along the way (forecast_hr, temp, etc). Pseudo-code: for (int i = 0; i < lat.length; ++i) { for (int j = 0; j < lon.length; ++j) { // etc... printf("%s %s ... %s", lat[i], lon[j], ..., data_var[i, j, ...]) } } Hopefully that gets you started. -Christian Ticket Details =================== Ticket ID: EJT-345152 Department: Support netCDF Java Priority: Normal 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.