> Ahhh - that makes sense. Does make using the ncid as a subscript for various > purposes a bit tricky, though. Yup, but you can get the fileid and groupid out of the ncid (which is called the "locid in much of the documentation) by just dividing by 65536 or taking remainder of dividing by 65536, respectively. --Russ > >> Unrelated, but a quick question - why are the ncid values I get from > >> nf_open so large and in units of 65,536? > > > > Good question, it's an artifact of how netCDF-4 combines both the file > > ID and the group ID into one 32-bit integer for netCDF-4. So with > > 2^16 open files each of which has 2^16 groups, you would use up all the > > 2^32 integers with group IDs of open netCDF files. > > > > --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: ESK-579185 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.