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.
Edin, It's probably obvious to you, but for the record and because others may find this response later, I should have added that the number "5" that appears in int imap[2] = {5*Gate_length, 5}; should instead be calculated based on something like (* NetCDF_out)[0][1].Refl - (* NetCDF_out)[0][0].Refl so you can generalize this solution to any kind of structure and make it portable to work for the structure padding and alignment contraints of different platforms. --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: GKA-285302 Department: Support netCDF Priority: Normal Status: Closed