refactor GribCdmIndex2 (2)