The reason you see multiples of 65536 is that you are using netcdf-4 and in netcdf-4, the ncid is actually the 'or' of the id of the file << 16 with the group id. =Dennis Heimbigner Unidata Ticket Details =================== Ticket ID: DPK-277567 Department: Support netCDF Priority: High Status: Closed