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.
Hello, Let me preface this with the fact that I am not a fortran developer; with Russ' recent retirement, the bulk of our fortran expertise has departed, until we're able to hire a new Fortran expert. From my reading of the code, it would seem to me that you are correct, and that the size of dimension values is limited to the 32-bit integer. A little bit of Google research suggests to me that dimensions should use the named constant `C_SIZE_T`. I'll take a stab at making this change for the next release. We also actively solicit pull requests/patches from our community, should anybody be so inclined! Such patches are always greatly appreciated :). Thanks, -Ward > Dimension values in the C interface are of size_t type, which is typically > a 64-bit integer on 64-bit systems. However it appear that in the Fortran > 90 interface such dimension values are limited to default integer type, > which is typically 32-bits. Do I have that right, or am I mistaken about > it? > > Ticket Details =================== Ticket ID: RTD-555738 Department: Support netCDF 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.